Skip to content

Instantly share code, notes, and snippets.

@keuv-grvl
Last active September 18, 2015 09:56
Show Gist options
  • Save keuv-grvl/9cd3728936045136d225 to your computer and use it in GitHub Desktop.
Save keuv-grvl/9cd3728936045136d225 to your computer and use it in GitHub Desktop.
Personal Ubuntu (14.04+) setup script
#!/usr/bin/env bash
if [ "$EUID" -ne 0 ]
then echo "Please run as root." ;
exit 1 ;
fi
#-- little clean up ----------------------------------
apt-get -yqq autoremove software-center landscape-client-ui-install example-content rhythmbox* thunderbird* totem totem-common unity-lens-shopping unity-lens-friends unity-scope-musicstores unity-scope-video-remote ;
#-- add repositories ---------------------------------
echo "Will add some repo." ;
echo -n "Ubuntu Tweak... " ;
add-apt-repository -y ppa:tualatrix/ppa ;
echo "ok" ;
echo -n "Spotify... " ;
apt-add-repository -y "deb http://repository.spotify.com stable non-free" && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D2C19886
#alternative: apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2C19886 && echo deb http://repository.spotify.com stable non-free | tee /etc/apt/sources.list.d/spotify.list ;
echo "ok" ;
echo -n "Wine... " ;
add-apt-repository -y ppa:ubuntu-wine/ppa ;
echo "ok" ;
echo -n "Oracle Java... " ;
add-apt-repository -y ppa:webupd8team/java ;
echo "ok" ;
echo -n "Guake... " ;
add-apt-repository ppa:niteshgupta16/ubuntuvibes ;
echo "ok" ;
#-- install favorite software ------------------------
echo -n "Updating APT... " ;
apt-get -qq update ;
echo "ok" ;
apt-get -yqq install terminator vlc exaile chromium-browser synaptic guake ubuntu-tweak spotify-client wine1.7 oracle-java8-installer ;
notify-send -i terminal "Installation complete." || echo "Done" ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment