<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Overview — rosdep 0.10.33 documentation</title> <link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '', VERSION: '0.10.33', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="_static/jquery.js"></script> <script type="text/javascript" src="_static/underscore.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <link rel="top" title="rosdep 0.10.33 documentation" href="index.html" /> <link rel="next" title="rosdep command reference" href="commands.html" /> <link rel="prev" title="Contents" href="contents.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="commands.html" title="rosdep command reference" accesskey="N">next</a> |</li> <li class="right" > <a href="contents.html" title="Contents" accesskey="P">previous</a> |</li> <li><a href="contents.html">rosdep 0.10.33 documentation</a> »</li> </ul> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <p class="logo"><a href="contents.html"> <img class="logo" src="_static/ros.png" alt="Logo"/> </a></p> <h3><a href="contents.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">Overview</a><ul> <li><a class="reference internal" href="#installing-rosdep">Installing rosdep</a></li> <li><a class="reference internal" href="#setting-up-rosdep">Setting up rosdep</a></li> <li><a class="reference internal" href="#updating-rosdep">Updating rosdep</a></li> <li><a class="reference internal" href="#installating-rosdeps">Installating rosdeps</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="contents.html" title="previous chapter">Contents</a></p> <h4>Next topic</h4> <p class="topless"><a href="commands.html" title="next chapter">rosdep command reference</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/overview.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="overview"> <h1>Overview<a class="headerlink" href="#overview" title="Permalink to this headline">¶</a></h1> <div class="section" id="installing-rosdep"> <h2>Installing rosdep<a class="headerlink" href="#installing-rosdep" title="Permalink to this headline">¶</a></h2> <p>rosdep2 is available using pip or easy_install:</p> <div class="highlight-python"><pre>sudo pip install -U rosdep</pre> </div> <p>or:</p> <div class="highlight-python"><pre>sudo easy_install -U rosdep rospkg</pre> </div> </div> <div class="section" id="setting-up-rosdep"> <h2>Setting up rosdep<a class="headerlink" href="#setting-up-rosdep" title="Permalink to this headline">¶</a></h2> <p>rosdep needs to be initialized and updated to use:</p> <div class="highlight-python"><pre>sudo rosdep init rosdep update</pre> </div> <p><tt class="docutils literal"><span class="pre">sudo</span> <span class="pre">rosdep</span> <span class="pre">init</span></tt> will create a <a class="reference external" href="sources_list">sources list</a> directory in <tt class="docutils literal"><span class="pre">/etc/ros/rosdep/sources.list.d</span></tt> that controls where rosdep gets its data from.</p> <p><tt class="docutils literal"><span class="pre">rosdep</span> <span class="pre">update</span></tt> reads through this sources list to initialize your local database.</p> </div> <div class="section" id="updating-rosdep"> <h2>Updating rosdep<a class="headerlink" href="#updating-rosdep" title="Permalink to this headline">¶</a></h2> <p>You can update your rosdep database by running:</p> <div class="highlight-python"><pre>rosdep update</pre> </div> </div> <div class="section" id="installating-rosdeps"> <h2>Installating rosdeps<a class="headerlink" href="#installating-rosdeps" title="Permalink to this headline">¶</a></h2> <p>rosdep takes in the name of a ROS stack or package that you wish to install the system dependencies for.</p> <p>Common installation workflow:</p> <div class="highlight-python"><pre>$ rosdep check ros_comm All system dependencies have been satisified $ rosdep install geometry</pre> </div> <p>If you’re worried about <tt class="docutils literal"><span class="pre">rosdep</span> <span class="pre">install</span></tt> bringing in system dependencies you don’t want, you can run <tt class="docutils literal"><span class="pre">rosdep</span> <span class="pre">install</span> <span class="pre">-s</span> <span class="pre"><args></span></tt> instead to “simulate” the installation. You will be able to see the commands that rosdep would have run.</p> <p>Example:</p> <div class="highlight-python"><pre>$ rosdep install -s ros_comm #[apt] Installation commands: sudo apt-get install libapr1-dev sudo apt-get install libaprutil1-dev sudo apt-get install libbz2-dev sudo apt-get install liblog4cxx10-dev sudo apt-get install pkg-config sudo apt-get install python-imaging sudo apt-get install python-numpy sudo apt-get install python-paramiko sudo apt-get install python-yaml</pre> </div> <p>You can also query rosdep to find out more information about specific dependencies:</p> <div class="highlight-python"><pre>$ rosdep keys roscpp pkg-config $ rosdep resolve pkg-config pkg-config $ rosdep keys geometry eigen apr glut python-sip python-numpy graphviz paramiko cppunit libxext log4cxx pkg-config $ rosdep resolve eigen libeigen3-dev</pre> </div> <p>For more information, please see the <a class="reference internal" href="commands.html#rosdep-usage"><em>command reference</em></a>.</p> </div> </div> </div> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="commands.html" title="rosdep command reference" >next</a> |</li> <li class="right" > <a href="contents.html" title="Contents" >previous</a> |</li> <li><a href="contents.html">rosdep 0.10.33 documentation</a> »</li> </ul> </div> <div class="footer"> © Copyright 2011, Willow Garage. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. </div> </body> </html>