Last active
April 9, 2020 16:41
-
-
Save jessequinn/58cb2ec84f22cf56ec832b7219e25931 to your computer and use it in GitHub Desktop.
Python 3.8, PHP 7.4, Yarn, NodeJS 10 Ubuntu 18.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# PHP 7.4 | |
sudo apt install software-properties-common | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt update | |
sudo apt install zip unzip | |
sudo apt install php7.4 php7.4-common php7.4-opcache php7.4-cli php7.4-gd php7.4-curl php7.4-mysql php7.4-xml php7.4-zip | |
php -v | |
# without NVM | |
# NodeJS 10 | |
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - | |
sudo apt-get install gcc g++ make | |
sudo apt install nodejs | |
node --version | |
# Yarn | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
sudo apt update | |
sudo apt install yarn | |
# Composer | |
sudo apt update | |
sudo apt install wget php-cli php-zip unzip | |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer | |
composer | |
# Python | |
sudo apt update | |
sudo apt install software-properties-common | |
sudo add-apt-repository ppa:deadsnakes/ppa | |
sudo apt install python3.8 | |
python3.8 --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment