Skip to content

Instantly share code, notes, and snippets.

@mourato
Last active June 16, 2018 16:16
Show Gist options
  • Save mourato/cc7ee039b3ed653fed1a73bb769c587f to your computer and use it in GitHub Desktop.
Save mourato/cc7ee039b3ed653fed1a73bb769c587f to your computer and use it in GitHub Desktop.
Things to do after install Kubuntu 17.10
#!/bin/bash
#
# Updating system
#
sudo apt-get update # Update resources
sudo apt dist-upgrade -f # Then, a dist upgrade
#
# Installing stuffs
#
sudo add-apt-repository ppa:libreoffice/ppa # Libreoffice
# 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 xenial non-free contrib" >> /etc/apt/sources.list.d/virtualbox.org.list'
# Nodejs
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
#
# Finally, installing some softwares
#
sudo apt-get update # Updating resources (again)
sudo apt install -y git git-ftp nodejs npm # git, git-ftp, node, npm
sudo apt install -y virtualbox-5.2 vagrant # Virtualbox & Vagrant
sudo apt install -y code # vscode editor
sudo npm install -g gulp-cli # gulp
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