Skip to content

Instantly share code, notes, and snippets.

@jessequinn
Last active April 9, 2020 16:41
Show Gist options
  • Select an option

  • Save jessequinn/58cb2ec84f22cf56ec832b7219e25931 to your computer and use it in GitHub Desktop.

Select an option

Save jessequinn/58cb2ec84f22cf56ec832b7219e25931 to your computer and use it in GitHub Desktop.

Revisions

  1. jessequinn revised this gist Apr 9, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion packages.sh
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@ php -v

    # without NVM
    # NodeJS 10
    sudo curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
    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
  2. jessequinn revised this gist Apr 9, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion packages.sh
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@ php -v

    # without NVM
    # NodeJS 10
    curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
    sudo 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
  3. jessequinn revised this gist Apr 9, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions packages.sh
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,7 @@ 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

  4. jessequinn revised this gist Apr 4, 2020. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions packages.sh
    Original file line number Diff line number Diff line change
    @@ -27,3 +27,9 @@ 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
  5. jessequinn revised this gist Apr 4, 2020. No changes.
  6. jessequinn revised this gist Apr 4, 2020. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions packages.sh
    Original file line number Diff line number Diff line change
    @@ -20,3 +20,10 @@ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/source
    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

  7. jessequinn revised this gist Apr 4, 2020. No changes.
  8. jessequinn created this gist Apr 4, 2020.
    22 changes: 22 additions & 0 deletions packages.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    #!/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 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