make composer global ubuntu code example
Example 1: composer install ubuntu
sudo apt-get updatemixed
Example 2: composer install ubuntu
sudo mv composer.phar /usr/local/bin/composermixed
sudo apt-get updatemixed
sudo mv composer.phar /usr/local/bin/composermixed