In this article, we will be learning about – how to configure and install the Composer, A composer is a tool which manages dependency for the PHP, which will be useful to facilitate the installation and update of the project dependencies which also show the appropriate versions required for the project requirements. Pre-requisites. One machine with Ubuntu 16.04. A non-root user with root privileges on the machine.Installing the DependenciesBefore installing the composer, we need to update the machine with the below command –$ sudo apt-get updateOnce the system updates, we shall proceed with the installation setup where we will be installing the packages required to run the Composer. $ sudo apt-get install curl php-cli git -yReading package lists. DoneBuilding dependency treeReading state information.
Donegit is already the newest version (1:2.7.4-0ubuntu1).curl is already the newest version (7.47.0-1ubuntu2.2).The following NEW packages will be installed:php-cli0 upgraded, 1 newly installed, 0 to remove and 112 not upgraded.Need to get 2,920 B of archives.After this operation, 11.3 kB of additional disk space will be used.Get:1 xenial/main amd64 php-cli all 1:7.0+35ubuntu6 2,920 BFetched 2,920 B in 0s (9,032 B/s)Selecting previously unselected package php-cli.(Reading database. 92686 files and directories currently installed.)Preparing to unpack./php-cli1%3a7.0+35ubuntu6all.deb.Unpacking php-cli (1:7.0+35ubuntu6).Setting up php-cli (1:7.0+35ubuntu6).
This tutorial will show how to install and get started with Composer on an Ubuntu 14.04 server. For this tutorial, you will need: A server running Ubuntu 14.04; Access to the server as a regular user with sudo permission; Step 1 — Installing the Dependencies.
I am following the tutorial for Hyperledger Composer. I'm trying to install the pre-requisites for the Composer as outlined here:The instructions are only provided for Ubuntu or Mac, and I have Win10 machine with Docker 17.12.xSo I got Ubuntu 16.04 docker image, added curl. I got the prereqs-ubuntu.sh script, I login as blockchain user, and run the script, but I get this error: #Updating package lists-sudo apt-add-repository: command not foundIs it even possible to install Hperledger Composer on a Windows 10 machine?! No it is not possible to install Hyperledger Composer on windows which includes the Windows Subsystem for Linux and other environments like MinGW that simulate a linux environment. This platform is not supported at this time.
I recommend you use a hypervisor such as VirtualBox or if you are using Windows 10 Professional, the built in Hyper-V support to run a Linux virtual machine where you can install Hyperledger Composer. Also we recommend using ubuntu 16.04 as this is the level we test with most.