Install Composer on Linux ( Ubuntu, Kubuntu, Lubuntu and Elementary OS) |
X

Congrats, You are Subscribed to Receive Updates.

Install Composer on Linux ( Ubuntu, Kubuntu, Lubuntu and Elementary OS)


Install Composer on Linux ( Ubuntu,  Kubuntu, Lubuntu and Elementary OS).
Composer is necessary thing for several operations.  With help of Composer you can install many php packages and classes easily.Several frameworks are available to install through the composer only.  Say for example Laravel you need Composer to install it. Let’s see how to install Composer on Linux.

1. Pre-Requirement

We Need cURL in order to download Composer and php-cli to install the Composer. Just type the following command on your Terminal.

sudo apt-get install curl php5-cli git

2. Download and Install

Now, you can type the following thing to download and install Composer.

curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer

That’s it. After installing it, we need to test whether its working or not.

3. Test

Type composer on your terminal, it will show like below.

   ______
  / ____/___  ____ ___  ____  ____  ________  _____
 / /   / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__  )  __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
                    /_/
Composer version 1.0-dev (9859859f1082d94e546aa75746867df127aa0d9e) 2015-08-17 14:57:00

Usage:
 command [options] [arguments]

Options:
 --help (-h)           Display this help message
commenter

About Varadharaj V

The founder of Kvcodes, Varadharaj V is an ERP Analyst and a Web developer specializing in WordPress(WP), WP Theme development, WP Plugin development, Frontaccounting(FA), Sales, Purchases, Inventory, Ledgers, Payroll & HRM, CRM, FA Core Customization, PHP and Data Analyst. Database Management Advance Level

Comment Below

Your email address will not be published. Required fields are marked *

*

Current ye@r *

Menu

Sidebar