Skip to content

Instantly share code, notes, and snippets.

@tcarrio
Last active February 5, 2016 16:56
Show Gist options
  • Save tcarrio/181ab0046683407009a9 to your computer and use it in GitHub Desktop.
Save tcarrio/181ab0046683407009a9 to your computer and use it in GitHub Desktop.
ElementaryOS Setup
#Download Elementary OS from here:
#http://elementary.io
#First you update your system
sudo apt-get update && sudo apt-get dist-upgrade
#Install Google 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'
sudo apt-get update
sudo apt-get install google-chrome-stable
#Install Firefox
sudo apt-get install firefox
#Clean-up System
sudo apt-get purge software-center
sudo apt-get purge bluez
sudo apt-get purge modemmanager
sudo apt-get autoremove
sudo apt-get autoclean
#Remove some Switchboard Plug's
#sudo rm -rf /usr/lib/plugs/GnomeCC/gnomecc-bluetooth.plug
#sudo rm -rf /usr/lib/plugs/GnomeCC/gnomecc-wacom.plug
# Install Sublime Text 3
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
#Install File Compression Libs
sudo apt-get install unace unrar zip unzip xz-utils p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract file-roller
#Install Guake Terminal
sudo apt-get install guake
#Install screenfetch (my elementary-OS special Version)
mkdir sf
cd sf
wget https://raw.github.com/memoryleakx/screenFetch/master/screenfetch-dev
sudo mv screenfetch-dev /usr/bin/screenfetch
cd ..
rm -rf sf
#make it readable and executable
sudo chmod +rx /usr/bin/screenfetch
##setup .bashrc for auto screenfetch
echo 'screenfetch -D "Elementary"' >> ~/.bashrc
#For fresh Nvidia Drivers
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update && sudo apt-get dist-upgrade
#For Nvidia Cards
sudo apt-get install nvidia-331
#For AMD/ATI Cards
sudo apt-get install fglrx-installer
#Install Ubuntu Restricted Extras
sudo apt-get install ubuntu-restricted-extras
#Enable all Startup Applications
cd /etc/xdg/autostart
sudo sed --in-place 's/NoDisplay=true/NoDisplay=false/g' *.desktop
#Install a Firewall Application
sudo apt-get install gufw
#Install Gimp
sudo add-apt-repository ppa:otto-kesselgulasch/gimp
sudo apt-get update
sudo apt-get install gimp gimp-data gimp-plugin-registry gimp-data-extras
#Install Elementary OS extras [OUTDATED FOR FREYA]
#if not installed
#Install the Dynamic Kernel Module Support Framework
sudo apt-get install dkms
#Install newer kernel
mkdir kernel
cd kernel
# for 64 Bit
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.1-wily/linux-headers-4.4.1-040401-generic_4.4.1-040401.201601311534_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.1-wily/linux-headers-4.4.1-040401_4.4.1-040401.201601311534_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.1-wily/linux-image-4.4.1-040401-generic_4.4.1-040401.201601311534_amd64.deb
# for 32 Bit
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.1-wily/linux-headers-4.4.1-040401-generic_4.4.1-040401.201601311534_i386.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.1-wily/linux-headers-4.4.1-040401_4.4.1-040401.201601311534_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.1-wily/linux-image-4.4.1-040401-generic_4.4.1-040401.201601311534_i386.deb
sudo dpkg -i *.deb
cd ..
rm -rf kernel
#Reboot!
#Install fresh firmware
mkdir firmware
cd firmware
wget http://launchpadlibrarian.net/233179837/linux-firmware_1.155_all.deb
# nic-firmware is part of the linux-firmware package
sudo dpkg -i *.deb
cd ..
rm -rf firmware
#update initramfs
sudo update-initramfs -k all -u
#Reboot!
#Install Apparmor 2.8
sudo add-apt-repository ppa:apparmor-upload/apparmor-2.8
sudo apt-get update && sudo apt-get dist-upgrade
#Install Java 8
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
#Install Steam
wget http://repo.steampowered.com/steam/signature.gpg && sudo apt-key add signature.gpg
sudo sh -c 'echo "deb http://repo.steampowered.com/steam/ precise steam" >> /etc/apt/sources.list.d/steam.list'
sudo apt-get update
sudo apt-get install steam
#Install PlayonLinux
#Run Windows Applications and Games on Linux
wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_precise.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
sudo apt-get install playonlinux
#Install Skype
sudo dpkg --add-architecture i386
sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
sudo apt-get update && sudo apt-get install skype
#Install Libre Office 4
sudo add-apt-repository ppa:libreoffice/libreoffice-4-0
sudo apt-get update
sudo apt-get install libreoffice
#Install the latest git Version
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment