Last active
April 14, 2016 23:46
-
-
Save cpappen/3a7ec7463d480ee0ddb14563d72a98c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
update_system() | |
{ | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get dist-upgrade -y | |
} | |
clean_system() | |
{ | |
sudo apt-get autoremove -y | |
sudo apt-get autoclean | |
} | |
ppa_keys() | |
{ | |
# Ubuntu partner repository | |
sudo sh -c 'echo "deb http://archive.canonical.com/ubuntu/ $(lsb_release -sc) partner" >> /etc/apt/sources.list.d/canonical_partner.list' | |
sudo sh -c 'echo "deb-src http://archive.canonical.com/ubuntu/ $(lsb_release -sc) partner" >> /etc/apt/sources.list.d/canonical_partner.list' | |
# Telegram | |
sudo add-apt-repository ppa:atareao/telegram -y | |
# F.lux | |
sudo add-apt-repository ppa:nathan-renniewaldock/flux -y | |
# Elementary Tweaks | |
sudo add-apt-repository ppa:mpstark/elementary-tweaks-daily -y | |
} | |
install_kernel() | |
{ | |
sudo apt-get install --install-recommends linux-generic-lts-wily xserver-xorg-core-lts-wily xserver-xorg-lts-wily xserver-xorg-video-all-lts-wily xserver-xorg-input-all-lts-wily libwayland-egl1-mesa-lts-wily -y | |
} | |
install_apps() | |
{ | |
# Gdebi | |
sudo apt-get install gdebi -y | |
# Tools | |
sudo apt-get install unace rar unrar p7zip-rar p7zip sharutils uudeview mpack arj cabextract lzip lunzip -y | |
# Skype | |
sudo apt-get install skype -y | |
# Telegram | |
sudo apt-get install telegram -y | |
# htop | |
sudo apt-get install htop -y | |
# VLC | |
sudo apt-get install vlc -y | |
# Flux | |
sudo apt-get install fluxgui -y | |
# Chrome | |
cd $HOME/Downloads/ | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo gdebi --non-interactive google-chrome-stable_current_amd64.deb | |
cd $HOME | |
# Elementary Tweaks | |
sudo apt-get install elementary-tweaks -y | |
# Transmission | |
sudo apt-get install transmission -y | |
} | |
update_system | |
ppa_keys | |
update_system | |
install_kernel | |
install_apps | |
clean_system | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment