composer download ubuntu 18.04 code example
Example 1: ubuntu install composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
Example 2: composer install ubuntu
sudo apt-get updatemixed
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
sudo apt-get updatemixed