You are on page 1of 1

Installation of the ROS Indigo:

1. Configure your Ubuntu repositories to allow "restricted," "unierse," and "!ultierse."


a" Solution fro! the co!!and line #ter!inal":
It$s always a good idea to bac%up a configuration file li%e sources.list before you
edit it. &o do so, issue the following co!!and: sudo cp 'etc'apt'sources.list
'etc'apt'sources.list.bac%up
&ype lsb(release )sc to find out your release.
*dditional software repositories such as Unierse and +ultierse can be enabled by
unco!!enting the corresponding apt lines #i.e. delete the $,$ at the beginning of the
line". -or Unierse, unco!!ent those lines:
deb http:''us.archie.ubuntu.co!'ubuntu' saucy unierse
deb)src http:''us.archie.ubuntu.co!'ubuntu' saucy unierse
deb http:''us.archie.ubuntu.co!'ubuntu' saucy)updates unierse
deb)src http:''us.archie.ubuntu.co!'ubuntu' saucy)updates unierse
&here are four si!ilar lines for $!ultierse$.
.on$t forget to !a%e apt aware of your changes: sudo apt)get update
&he file sources.list can be opened using nano co!!and: nano sources.list
b" Setup your co!puter to accept software fro! pac%ages.ros.org #./0-& +IRROR" :
sudo sh )c $. 'etc'lsb)release 11 echo "deb http:''ftp.tudelft.nl'ros'ubuntu
2.IS&RI3(CO./4*+/ !ain" 5 'etc'apt'sources.list.d'ros)latest.list$
c" Set up your %eys: wget
https:''raw.githubusercontent.co!'ros'rosdistro'!aster'ros.%ey )O ) 6 sudo apt)%ey
add )
d" Installation ROS Indigo:
-irst, !a%e sure your .ebian pac%age inde7 is up)to)date: sudo apt)get update
&here are !any different libraries and tools in ROS. 8e proided four default
configurations to get you started. 9ou can also install ROS pac%ages indiidually.
.es%top)-ull Install: #Reco!!ended" : ROS, r:t, ri;, robot)generic libraries,
<.'=. si!ulators, naigation and <.'=. perception
sudo apt)get install ros)indigo)des%top
&o find aailable pac%ages, use: apt)cache search ros)indigo
Indiidual >ac%age: 9ou can also install a specific ROS pac%age #replace
underscores with dashes of the pac%age na!e": sudo apt)get install ros)indigo)
>*C?*@/ e.g. sudo apt)get install ros)indigo)sla!)g!apping
e" Initiali;e rosdep: 3efore you can use ROS, you will need to initiali;e rosdep. rosdep
enables you to easily install syste! dependencies for source you want to co!pile and
is re:uired to run so!e core co!ponents in ROS: sudo rosdep init, and then rosdep
update
f" /niron!ent setup: It$s conenient if the ROS eniron!ent ariables are
auto!atically added to your bash session eery ti!e a new shell is launched: echo
"source 'opt'ros'indigo'setup.bash" 55 A'.bashrc and after that source A'.bashrc
g" @etting rosinstall: rosinstall is a fre:uently used co!!and)line tool in ROS that is
distributed separately. It enables you to easily download !any source trees for ROS
pac%ages with one co!!and. &o install this tool on Ubuntu, run: sudo apt)get install
python)rosinstall

You might also like