Skip to content

Instantly share code, notes, and snippets.

@liamgbs
Last active November 21, 2016 15:01
Show Gist options
  • Save liamgbs/d06dde09708bd70aceb5d9944e89fdc4 to your computer and use it in GitHub Desktop.
Save liamgbs/d06dde09708bd70aceb5d9944e89fdc4 to your computer and use it in GitHub Desktop.
Shell script for a fresh Kubuntu install
#!/bin/bash
cd ~
FROM_REPOS="git nautilus-dropbox vlc keepass2 python-pip shutter steam"
FROM_PIP="virtualenv"
REMOVE_HOME_FOLDERS=true
HOME_FOLDERS="Music Videos Templates Pictures"
sudo apt install `echo $FROM_REPOS` -y
sudo pip install `echo $FROM_PIP`
if [ "$REMOVE_HOME_FOLDERS" = true ] ; then
rm -rf `echo $HOME_FOLDERS`
fi
# Google Chrome
sudo apt-get install libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
rm -f google-chrome-stable_current_amd64.deb
# Atom
wget https://atom-installer.github.com/v1.12.4/atom-amd64.deb
sudo dpkg -i atom-amd64.deb
rm -f atom-amd64.deb
# Spotify
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update
sudo apt-get install spotify-client -y || (sudo apt-get -fy install && sudo apt-get install spotify-client -y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment