Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:14
Show Gist options
  • Save egel/75c5282772ac47e514ba to your computer and use it in GitHub Desktop.
Save egel/75c5282772ac47e514ba to your computer and use it in GitHub Desktop.
Software installation for Ubuntu 14.04
# General colors
green='\x1B[0;32m' # '\x1B[1;32m' is too bright for white bg.
# Messages
__info__="${blue}\xe2\x84\xb9 Info${endColor}"
__warning__="${yellow}\xe2\x9d\x97 Warning${endColor}"
__error__="${red}\xe2\x9c\x98 Error${endColor}"
__done__="${green}\xe2\x9c\x94 Done${endColor}"
echo -e "${purple}====== Install obligatory software ======${endColor}"
sudo apt-get install -y vim python-pip python-dev python-setuptools python-software-properties curl gcc g++ tree links htop enca ubuntu-restricted-extras build-essential unace unrar unzip p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract file-roller
echo -e "${green}✔ Done${endColor}"
echo -e "${purple}====== Install additional softwate ======${endColor}"
sudo apt-get install -y unity-tweak-tool lm-sensors vlc k3b gimp gimp-plugin-registry gcolor2 meld shutter gparted unetbootin filezilla parcellite guake texlive-full biber conky conky-all curl lm-sensors hddtemp mpd mpc hal-info vnstat lua5.2 viewnior
echo -e "${green}✔ Done${endColor}"
echo -e "${purple}====== Adding repositories ======${endColor}"
sudo add-apt-repository -y ppa:linrunner/tlp # TLP Battery guardian
sudo add-apt-repository -y ppa:atareao/atareao # Touchpad indicator
sudo add-apt-repository -y ppa:banshee-team/ppa # Banshee
sudo add-apt-repository -y ppa:pidgin-developers/ppa # Pidgin
sudo add-apt-repository -y ppa:webupd8team/java # Java Development Kit 7
sudo add-apt-repository -y ppa:git-core/ppa # Git
sudo apt-add-repository -y ppa:chris-lea/node.js # NodeJS
sudo add-apt-repository -y ppa:pi-rho/dev # Tmux
sudo add-apt-repository -y ppa:gun101/ppa # guake-indicator
sudo add-apt-repository -y ppa:docky-core/stable # docky bar
echo -e "${green}✔ Done${endColor}"
echo -e "${purple}====== Przywrócenie przywatności ======${endColor}"
wget -q -O - | bash
echo -e "${green}✔ Done${endColor}"
sudo apt-get update
echo -e "${purple}====== Install programs from added repositories ======${endColor}"
sudo apt-get install -y touchpad-indicator tlp tlp-rdw banshee pidgin oracle-java8-installer git gitg nodejs tmux xclip guake-indicator
echo -e "${green}✔ Done${endColor}"
echo -e "${purple}====== Install VirtualBox ======${endColor}"
sudo apt-get install -y dkms \
&& wget -q -O- | sudo apt-key add - \
&& sudo sh -c 'echo "deb trusty contrib" >> /etc/apt/sources.list.d/virtualbox.list' \
&& sudo apt-get update \
&& sudo apt-get install -y virtualbox-4.3
echo -e "${green}✔ Done${endColor}"
echo -e "${purple}====== Active tlp ======${endColor}"
sudo tlp bat
echo -e "${green}✔ Done${endColor}"
echo -e "${purple}====== Nvidia ======${endColor}"
sudo apt-get install -y nvidia-cuda-toolkit ocl-icd-opencl libcuda1-331 nvidia-libopencl1-331 nvidia-opencl-icd-331
sudo apt-get install nvidia-prime nvidia-331 nvidia-331-updates
echo -e "${green}✔ Done${endColor}"
echo -e "${purple}====== Pip ======${endColor}"
sudo pip install --upgrade pip
echo -e "${green}✔ Done${endColor}"
echo -e "${purple}====== Pip - Virtualenvwrapper ======${endColor}"
sudo pip install virtualenvwrapper
echo -e "${green}✔ Done${endColor}"
echo -e "${purple}====== Update npm ======${endColor}"
sudo npm update -g npm
sudo chown -R `whoami` ~/.npm
echo -e "${green}✔ Done${endColor}"
echo -e "${purple}====== Install ruby + rubygems + octopress 3 ======${endColor}"
gpg --keyserver hkp:// --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL | bash -s stable
source ~/.rvm/scripts/rvm
rvm requirements
rvm install ruby
rvm use ruby --default
rvm rubygems current
gem install jekyll octopress
echo -e "${green}✔ Done${endColor}"
Copy link

egel commented Aug 21, 2015

To install:

wget -q -O - | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment