Skip to content

Instantly share code, notes, and snippets.

@DomiR
Last active December 31, 2015 22:39
Show Gist options
  • Select an option

  • Save DomiR/8055241 to your computer and use it in GitHub Desktop.

Select an option

Save DomiR/8055241 to your computer and use it in GitHub Desktop.
Fresh ubuntu install
#!/bin/bash
# From
# http://monangik.wordpress.com/2011/04/21/install-zsh-shell-on-ubuntu/
# REPOS
# Sublimetext3
sudo add-apt-repository ppa:webupd8team/sublime-text-3
# Dropbox
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E
sudo add-apt-repository "deb http://linux.dropbox.com/ubuntu $(lsb_release -sc) main"
# Refresh sources
sudo apt-get update
# Install build essentials
sudo apt-get install build-essentials
# Install wget
sudo apt-get install wget
# Install git
sudo apt-get install git
# Install ZSH
sudo apt-get install zsh
# Setup oh-my-zsh
wget –no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O – | sh
# Make ZSH default
chsh -s /bin/zsh
# Install Dropbox
sudo apt-get install nautilus-dropbox
# Install Chromium
sudo apt-get install chromium-browser
# Install Sublime Text 3
sudo apt-get install sublime-text-installer
# Install Robotics
sudo apt-get install liblapack-dev freeglut3-dev libqhull-dev libf2c2-dev libann-dev gnuplot doxygen
# Make opencv
cd ~
git clone https://github.com/Itseez/opencv.git
cd ~/opencv
mkdir release
cd release
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
make
sudo make install
# Set Favorites
gsettings set com.canonical.Unity.Launcher favorites "['application://ubiquity.desktop', 'application://nautilus.desktop', 'application://firefox.desktop', 'application://ubuntu-software-center.desktop', 'application://gnome-control-center.desktop', 'unity://running-apps', 'unity://expo-icon', 'unity://devices']"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment