<html lang="en"> <head> <title>Obtaining the Depencies Automatically - GNU Octave</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="GNU Octave"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Build-Dependencies.html#Build-Dependencies" title="Build Dependencies"> <link rel="next" href="Build-Tools.html#Build-Tools" title="Build Tools"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } --></style> </head> <body> <div class="node"> <a name="Obtaining-the-Depencies-Automatically"></a> <p> Next: <a rel="next" accesskey="n" href="Build-Tools.html#Build-Tools">Build Tools</a>, Up: <a rel="up" accesskey="u" href="Build-Dependencies.html#Build-Dependencies">Build Dependencies</a> <hr> </div> <h4 class="subsection">G.1.1 Obtaining the Depencies Automatically</h4> <p>On some systems you can obtain many of Octave's build dependencies automatically. The commands for doing this vary by system. Similarly, the names of pre-compiled packages vary by system and do not always match exactly the names listed in <a href="Build-Tools.html#Build-Tools">Build Tools</a> and <a href="External-Packages.html#External-Packages">External Packages</a>. <p>You will usually need the development version of an external dependency so that you get the libraries and header files for building software, not just for running already compiled programs. These packages typically have names that end with the suffix <code>-dev</code> or <code>-devel</code>. <p>On systems with <code>apt-get</code> (Debian, Ubuntu, etc.), you may be able to install most of the tools and external packages using a command similar to <pre class="example"> apt-get build-dep octave </pre> <p class="noindent">The specific package name may be <code>octave3.2</code> or <code>octave3.4</code>. The set of required tools and external dependencies does not change frequently, so it is not important that the version match exactly, but you should use the most recent one available. <p>On systems with <code>yum</code> (Fedora, Red Hat, etc.), you may be able to install most of the tools and external packages using a command similar to <pre class="example"> yum-builddep octave </pre> <p class="noindent">The <code>yum-builddep</code> utility is part of the <code>yum-utils</code> package. <p>For either type of system, the package name may include a version number. The set of required tools and external dependencies does not change frequently, so it is not important that the version exactly match the version you are installing, but you should use the most recent one available. </body></html>