You are on page 1of 1

Installation of the ROS Indigo:

1. Configure your Ubuntu repositories to allow "restricted," "universe," and "multiverse."


a) Solution from the command line (terminal):
It's always a good idea to backup a configuration file like sources.list before you
edit it. To do so, issue the following command: sudo cp /etc/apt/sources.list
/etc/apt/sources.list.backup
Type lsb_release -sc to find out your release.
Additional software repositories such as Universe and Multiverse can be enabled by
uncommenting the corresponding apt lines (i.e. delete the '#' at the beginning of the
line). For Universe, uncomment those lines:
deb http://us.archive.ubuntu.com/ubuntu/ saucy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy universe
deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy-updates universe
There are four similar lines for 'multiverse'.
Don't forget to make apt aware of your changes: sudo apt-get update
The file sources.list can be opened using nano command: nano sources.list
b) Setup your computer to accept software from packages.ros.org (DELFT MIRROR) :
sudo sh -c '. /etc/lsb-release && echo "deb http://ftp.tudelft.nl/ros/ubuntu
$DISTRIB_CODENAME main" > /etc/apt/sources.list.d/ros-latest.list'
c) Set up your keys: wget
https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | sudo apt-key
add d) Installation ROS Indigo:
First, make sure your Debian package index is up-to-date: sudo apt-get update
There are many different libraries and tools in ROS. We provided four default
configurations to get you started. You can also install ROS packages individually.
Desktop-Full Install: (Recommended) : ROS, rqt, rviz, robot-generic libraries,
2D/3D simulators, navigation and 2D/3D perception
sudo apt-get install ros-indigo-desktop
To find available packages, use: apt-cache search ros-indigo
Individual Package: You can also install a specific ROS package (replace
underscores with dashes of the package name): sudo apt-get install ros-indigoPACKAGE e.g. sudo apt-get install ros-indigo-slam-gmapping
e) Initialize rosdep: Before you can use ROS, you will need to initialize rosdep. rosdep
enables you to easily install system dependencies for source you want to compile and
is required to run some core components in ROS: sudo rosdep init, and then rosdep
update
f) Environment setup: It's convenient if the ROS environment variables are
automatically added to your bash session every time a new shell is launched: echo
"source /opt/ros/indigo/setup.bash" >> ~/.bashrc and after that source ~/.bashrc
g) Getting rosinstall: rosinstall is a frequently used command-line tool in ROS that is
distributed separately. It enables you to easily download many source trees for ROS
packages with one command. To install this tool on Ubuntu, run: sudo apt-get install
python-rosinstall

You might also like