Skip to content

Instantly share code, notes, and snippets.

@bhediathewolf
Last active August 14, 2017 04:38
Show Gist options
  • Save bhediathewolf/e50416ecd9e4b6af282d76b5da3e64ef to your computer and use it in GitHub Desktop.
Save bhediathewolf/e50416ecd9e4b6af282d76b5da3e64ef to your computer and use it in GitHub Desktop.
Installation script for setting up a new Ubuntu or Ubuntu based install. This script has been written for elementary OS Loki.
#!/bin/sh
# Entering new setup folder
mkdir freshInstallation
cd freshInstallation
# Updating repositories, packages and a dist upgrading
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
# Installing Vivaldi
wget https://downloads.vivaldi.com/stable/vivaldi-stable_1.11.917.39-1_amd64.deb
sudo dpkg -i ./vivaldi-stable*.deb
sudo apt-get install -f
# Installing add-apt-repository
sudo apt-get install software-properties-common python-software-properties python3-software-properties
# Installing Archive Format
sudo apt-get install unace rar unrar p7zip-rar p7zip sharutils uudeview mpack arj cabextract lzip lunzip
# Allow additional non libres from Canonical
sudo apt-get install software-properties-gtk
sudo apt-get install ubuntu-restricted-extras
# Installing Multimedia Codecs
sudo apt-get install libavcodec-extra
sudo apt-get install libdvd-pkg
# Installing Plugin Flash and Pepper Flash
sudo apt-get install flashplugin-installer pepperflashplugin-nonfree
# Installing Transmission
sudo apt-get install transmission
# LibreOffice
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update
sudo apt-get install libreoffice-gtk2 libreoffice-gnome
# JAVA
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
# VLC
sudo apt-get install -y vlc
# VIM Editor
sudo apt-get install vim
# Atom Editor
wget https://github.com/atom/atom/releases/download/v1.19.0/atom-amd64.deb
sudo dpkg -i atom-amd64.deb
sudo apt install -f
# Installing GDebi
sudo apt-get install gdebi
# Installing Linux Malware Detect
wget http://ww.rfxn.com/downloads/maldetect-current.tar.gz
tar -zxvf maldetect-current.tar.gz
cd maldetect-1.5
./install.sh
# Installing pidgin
sudo apt-get install pidgin
# Installing Google Play Music
wget https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/releases/download/3.0.1/google-play-music-desktop-player_3.0.1_amd64.deb
sudo dpkg -i google-play-music-desktop-player_3.0.1_amd64.deb
# Installing BleachBit
sudo apt-get install bleachbit
# Installing Redshift
sudo apt-get install redshift
# Installing Crossover
sudo dpkg --add-architecture i386
sudo apt-get update
wget http://crossover.com.codeweavers.com/redirect/crossover.deb
sudo gdebi crossover.deb
# Installing Elementary Tweaks
sudo add-apt-repository ppa:philip.scott/elementary-tweaks
sudo apt-get update
sudo apt-get install elementary-tweaks
# Installing TLP for laptop battery management
sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw
sudo tlp start
# Installing Laptop Mode Tools
sudo add-apt-repository ppa:ubuntuhandbook1/apps
sudo apt-get update
sudo apt-get install laptop-mode-tools
# Run using gksu lmt-config-gui
# Installing git
sudo apt-get install git
# Installing Python Packages
sudo apt-get install fastqc python-stdeb python-pip python-dev
sudo apt-get install build-essential
sudo pip install psutil
sudo pip install configobj
# Installing Anaconda Package Manager
wget https://repo.continuum.io/archive/Anaconda3-4.4.0-Linux-x86_64.sh
./Anaconda*.sh
conda update conda
conda update anaconda
# Installing umake
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make
# Installing PyCharm
umake ide pycharm
# Installing Tilix
sudo add-apt-repository ppa:webupd8team/terminix
sudo apt-get update
sudo apt-get install tilix
# Installing Oh My Zsh
sudo apt-get install zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
# Pimping Oh My Zsh with Cobalt2
git clone https://github.com/wesbos/Cobalt2-iterm.git
sudo cp ./Cobalt*/*.zsh-theme $HOME/.oh-my-zsh/themes/
sed 's/robbyrussel/cobalt2/g' $HOME/.zshrc
# Installing Powerline
sudo pip install --user powerline-status
# Installing Powerline Fonts
git clone https://github.com/powerline/fonts.git --depth=1
./fonts/install.sh
sudo rm -rf fonts
# Installing tree
sudo apt-get install tree
# Removing Epiphany Browser
sudo apt purge epiphany-browser epiphany-browser-data
# Clean Up
sudo apt-get autoclean
sudo apt-get clean
# Exiting Folder
cd ..
sudo rm -rf freshInstallation
@singhshantanu1996
Copy link

A lot of tedious stuff that might take you months to do, in a simple script, made for the lazy ass guy who changes his OS more than he changes his socks.

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