Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install composer ubuntu

sudo apt update
sudo apt install php-cli unzip
cd ~
curl -sS https://getcomposer.org/installer -o composer-setup.php

HASH=`curl -sS https://composer.github.io/installer.sig`
echo $HASH
php -r "if (hash_file('SHA384', 'composer-setup.php') === '$HASH') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
composer

apt search mbstring
sudo apt install php-mbstring
Comment

install composer ubuntu

sudo apt-get install curl

sudo curl -s https://getcomposer.org/installer | php

sudo mv composer.phar /usr/local/bin/composer

alias composer='/usr/local/bin/composer'
Comment

ubuntu install composer

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '8a6138e2a05a8c28539c9f0fb361159823655d7ad2deecb371b04a83966c61223adc522b0189079e3e9e277cd72b8897') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Comment

composer install ubuntu

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
# php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
sudo php composer-setup.php --install-dir=/bin --filename=composer
php -r "unlink('composer-setup.php');"
Comment

composer install ubuntu

sudo curl -s https://getcomposer.org/installer | phpmixed
Comment

ubuntu install composer

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
Comment

install composer 2 ubuntu

Teniendo composer instaldo, correr 
composer self-update --2
Comment

composer install ubuntu

sudo apt-get install curlmixed
Comment

composer install ubuntu

sudo apt-get updatemixed
Comment

composer install ubuntu

sudo mv composer.phar /usr/local/bin/composermixed
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install gnome-shell-extension-appindicator 
Shell :: journalctl date 
Shell :: Check /app/package.json: command not found. Is a start script missing? https://help.glitch.com/kb/article/31 
Shell :: how to check gems installed 
Shell :: Using git filter-branch to Git Change Commit Author 
Shell :: config php.ini for magento@ 
Shell :: uninstall flake 8 in vs 
Shell :: Please tell me who you are. in git 
Shell :: linux scp 
Shell :: git set up 
Shell :: bash maximum running time 
Shell :: how to reset git branch to a certain commit. 
Shell :: how to install windows service using batch file 
Shell :: symfony Unable to write in the "logs" directory (/var/www/html/var/log). 
Shell :: move all files in subdirectories to current directory linux 
Shell :: undo last commit pushed 
Shell :: bash ignore stderr 
Shell :: mikrotik reboot bash sintakx 
Shell :: Missing essential plugins: com.android.tools.design org.jetbrains.android 
Shell :: bash how to print the list of files in a directory ls 
Shell :: install wget on redhat 
Shell :: win kex kali linux 
Shell :: mocha quiet 
Shell :: vcpkg install 64 bit 
Shell :: reinstall windows apps powershell 
Shell :: windows run powershell script from task scheduler 
Shell :: creating new repository in git 
Shell :: go to a tag in git 
Shell :: show install button for pwa react 
Shell :: linux how to find files with broken link 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =