Skip to main content

Ubuntu 18.04 Install Composer With XAMPP

The steps to install Composer on Ubuntu with XAMPP

1.Install composer using the below command.
sudo curl -s https://getcomposer.org/installer | /opt/lampp/bin/php

2.Create a soft link
sudo ln -s /opt/lampp/bin/php /usr/local/bin/php

3.Move the composer.phar to the bin folder by using the below command.
mv composer.phar /usr/local/bin/composer