Skip to content

Instantly share code, notes, and snippets.

@ajaygunalan
Last active December 7, 2018 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajaygunalan/c134f6c68ddcc26acf4fb06ec97ac5cb to your computer and use it in GitHub Desktop.
Save ajaygunalan/c134f6c68ddcc26acf4fb06ec97ac5cb to your computer and use it in GitHub Desktop.
Installation of few essential software in Linux. See the comment for further detail.
# ROS Installation
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full
sudo rosdep init
rosdep
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
# Gazebo Installation
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install gazebo7
sudo apt-get install libgazebo7-dev
# MoveIt Installation
sudo apt-get install ros-kinetic-moveit
source /opt/ros/kinetic/setup.bash
# Zotero Installation
sudo add-apt-repository ppa:smathot/cogscinl
sudo apt-get update
sudo apt-get install zotero-standalone
# Sublime Text 3 Installation
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
# To set sublime text 3 as a default application
cp /usr/share/applications/sublime_text.desktop ~/.local/share/applications/sublime_text.desktop
sudo update-desktop-database
subl /usr/share/applications/defaults.list
# Replaces the instance of subl with sublime_text
# Pandoc Installation
wget "https://github.com/jgm/pandoc/releases/download/2.3/pandoc-2.3-1-amd64.deb"
sudo dpkg -i pandoc-2.3-1-amd64.deb
# GHC Installation
wget "https://downloads.haskell.org/~ghc/8.4.3/ghc-8.4.3-x86_64-deb9-linux.tar.xz"
tar -xf ghc-8.4.3-x86_64-deb9-linux.tar.xz
cd ghc-8.4.3/
./configure --prefix=/usr/local
sudo make install
# Stack Installation
curl -sSL https://get.haskellstack.org/ | sh -s - -f
# Pandoc Cross-ref Installation
wget "https://github.com/lierdakil/pandoc-crossref/archive/v0.3.2.1.tar.gz"
tar -xf v0.3.2.1.tar.gz
cd pandoc-crossref-0.3.2.1/
stack setup && stack install pandoc pandoc-citeproc pandoc-crossref
# Latex Installation
sudo apt-get install texlive-full
# ROS controls Installation
sudo apt-get install ros-kinetic-ros-control ros-kinetic-ros-controllers
# Screen recoder installation
sudo apt-get install simplescreenrecorder-mardy
sudo apt-get update
# VLC installation
sudo apt install vlc
# Okular installation
sudo apt-get install okular
# npm install
sudo apt install npm
sudo apt-get install nodejs
sudo apt-get install nodejs-legacy
sudo npm install -g markmon
# Pinta the photo editor
sudo apt install pinta
# Youtube Downloader
sudo curl -L https://yt-dl.org/latest/youtube-dl -o /usr/bin/youtube-dl
sudo chmod 755 /usr/bin/youtube-dl
# Drake Installation as a source
# git clone git@github.com:RobotLocomotion/drake.git
# cd drake
# git remote set-url origin git@github.com:ajaygunalan/drake.git
# git remote add upstream git@github.com:RobotLocomotion/drake.git
# git remote set-url --push upstream no_push
# sudo ./setup/ubuntu/16.04/install_prereqs.sh
# Drake Installation as a Binary
# Apart form the above there is MQTT, GYM, TENSORFLOW by
@ajaygunalan
Copy link
Author

In future, I'll make this as a bash script so that whenever I have a new Debian based system, I can just run the bash script and it will install most of my requirements.

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