Skip to content

Instantly share code, notes, and snippets.

@mourato
Last active June 6, 2018 12:23
Show Gist options
  • Save mourato/7dcc740da3838ebbaeaf570e266c475a to your computer and use it in GitHub Desktop.
Save mourato/7dcc740da3838ebbaeaf570e266c475a to your computer and use it in GitHub Desktop.
Things to do after install Linux Mint Cinnamon
#!/bin/bash
sudo apt-get update # Update resources
sudo apt dist-upgrade -f # Then, a dist upgrade
# START - Adding repositories (without PPA)
# Chrome
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'
# Spotify
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
# Virtualbox
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 bionic non-free contrib" >> /etc/apt/sources.list.d/virtualbox.org.list'
# Visual Studio Code
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'
# Nodejs
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
# END - Adding repositories (without PPA)
#
# Finally, installing some softwares
#
sudo apt-get update # Updating resources (again)
sudo apt install -y git nodejs npm # git, node, npm
sudo apt install -y virtualbox-5.2 vagrant # Virtualbox & Vagrant
sudo apt install -y code # vscode editor
sudo apt install -y unace rar unrar p7zip-rar p7zip # Archive formats
sudo apt install -y inkscape # Inkscape
sudo apt install -y google-chrome-stable # Google Chrome
sudo apt install -y spotify-client # Spotify
#
# Remove some softwares
#
sudo apt purge -y rhythmbox
sudo apt purge -y thunderbird
#
# 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