Skip to content

Instantly share code, notes, and snippets.

@ruffsl
Last active August 29, 2015 14:16
Show Gist options
  • Save ruffsl/0c02b80dd3ed44890dde to your computer and use it in GitHub Desktop.
Save ruffsl/0c02b80dd3ed44890dde to your computer and use it in GitHub Desktop.
Ubuntu Setup Script
#!/bin/bash
apt-get -y update
# install cli tools
apt-get install -y \
wget \
curl \
screen \
byobu \
fish \
git \
nano \
glances
# install dev cli tools
apt-get install -y \
cmake \
cmake-curses-gui
# install dev gui tools
apt-get install -y \
cmake-qt-gui \
qtcreator \
terminator \
gedit \
meld
# install apps
wget -q -O - "https://dl-ssl.google.com/linux/linux_signing_key.pub" | sudo apt-key add - \
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \
&& apt-get update \
&& apt-get install -y google-chrome-stable
apt-get install -y \
firefox \
indicator-multiload \
synaptic \
gparted \
unity-tweak-tool \
vlc \
redshift
# install graphic tools
apt-get install -y \
inkscape \
gimp \
texmaker \
blender \
meshlab
# install sublime
add-apt-repository -y ppa:webupd8team/sublime-text-3 \
&& apt-get update \
&& apt-get install -y sublime-text-installer
# install atom
add-apt-repository -y ppa:webupd8team/atom \
&& apt-get update \
&& apt-get install -y atom
# install spotify
sh -c 'echo "deb http://repository.spotify.com/ stable non-free" > /etc/apt/sources.list.d/spotify.list' \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59 \
&& apt-get update \
&& apt-get install -y spotify-client
# install ros indigo
cd
sh -c 'echo "deb http://packages.ros.org/ros/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list'
wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
echo "deb http://packages.ros.org/ros/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list
apt-get -y update
apt-get -y install ros-indigo-desktop-full
rosdep init
rosdep update
echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
source ~/.bashrc
apt-get -y install python-rosinstall
apt-get -y install ros-indigo-perception-pcl
apt-get -y install ros-indigo-openni-launch
# install nvidia
# apt-get install nvidia-331
# dep for omnimapper
apt-get -y install libboost-all-dev
apt-get -y install libflann-dev
apt-get -y install libgsl0-dev
apt-get -y install libgoogle-perftools-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment