Skip to content

Instantly share code, notes, and snippets.

@mourato
Last active October 31, 2019 09:33
Show Gist options
  • Save mourato/5472e31226dfd3f6a72677d1331d2f48 to your computer and use it in GitHub Desktop.
Save mourato/5472e31226dfd3f6a72677d1331d2f48 to your computer and use it in GitHub Desktop.
Things to do after install Ubuntu 18.04
#!/bin/bash
#
# Updating system
#
sudo apt-get update # Update resources
sudo apt dist-upgrade -f # Then, a dist upgrade
#
# Adicionando PPAs
#
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - && sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' # Chrome
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 0DF731E45CE24F27EEEB1450EFDC8610341D9410 && echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list # Spotify
wget -q -O - http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc | sudo apt-key add - && sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian artful non-free contrib" >> /etc/apt/sources.list.d/virtualbox.org.list' # Virtualbox
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg && sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg && sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' # Visual Studio Code
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - # Nodejs
#
# Updating resources (again)
#
sudo apt-get update
#
# Dev stuffs
#
sudo apt install -y git
sudo apt install -y git-ftp
sudo apt install -y nodejs
sudo apt install -y npm
sudo apt install -y php
sudo apt install -y virtualbox-5.2
sudo apt install -y code # Visual Studio Code editor
npm install gulp-cli -g # gulpjs
#
# Other stuffs
#
sudo apt install -y unace rar unrar p7zip-rar p7zip # Archive formats
sudo apt install -y vlc
sudo apt install -y gimp
sudo apt install -y inkscape
sudo apt install -y google-chrome-stable
sudo apt install -y spotify-client
sudo apt install -y transmission-gtk
#
# Clean and remove
#
sudo apt autoremove
sudo apt autoclean
#
# Aumentando a quantidade de arquivos que podem ser "assistidos" pelo Atom, VSCode, gulp etc
#
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment