To install Composer on your Ubuntu or Linux system, perform the following steps:
1. Check if you have PHP installed and configured properly. If not then please follow this arcticle to do so: https://www.devopsschool.com/blog/how-to-link-php-from-xampp-installation-to-use-php-command-from-user-or-any-other-directory-in-ubuntu-or-linux/
2. Update Ubuntu OS packages by running the command: sudo apt-get update
3. Install Composer: curl -sS https://getcomposer.org/installer |php
4. Let’s check if composer is accessible: composer
5. Let’s make the installed composer accessible, run: sudo mv composer.phar /usr/local/bin/composer
6. Verify the installation:composer --version
composer
Thanks for reading. I hope you enjoyed the article.
- MyHospitalNow.com – PROD | Clean all patient user and related quote, bid and file data - March 21, 2020
- Sending Email with attachments in Laravel 5.5 using and PHP & JQuery - February 20, 2020
- How to run php artisan queue:listen in background on Ubuntu or Linux machine - February 6, 2020