Home Files
Adminer
Execute Command
PHP Eval
Symlink
File Upload
Owner :
www-data
PHP Version
5.6.40-0+deb8u12
Disk Space
40.98 GB
Server Addr
19-www4
Your IP
10.10.10.40
Edit File
File:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Building aptitude from source code</title><link rel="stylesheet" type="text/css" href="aptitude.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="aptitude user's manual"><link rel="up" href="pr01s04.html" title="How can I get aptitude?"><link rel="prev" href="pr01s04s01.html" title="Pre-built aptitude packages, or, “what 99% of users should do”"><link rel="next" href="pr01s04s03.html" title="Tracking and participating in aptitude development"><link rel="preface" href="pr01.html" title="Introduction"><link rel="chapter" href="ch01.html" title="Chapter 1. Getting started"><link rel="chapter" href="ch02.html" title="Chapter 2. aptitude reference guide"><link rel="chapter" href="ch03.html" title="Chapter 3. aptitude frequently asked questions"><link rel="chapter" href="ch04.html" title="Chapter 4. Credits"><link rel="reference" href="rn01.html" title="Command-line reference"><link rel="refentry" href="rn01re01.html" title="aptitude"><link rel="refentry" href="rn01re02.html" title="aptitude-create-state-bundle"><link rel="refentry" href="rn01re03.html" title="aptitude-run-state-bundle"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Building <span class="command"><strong>aptitude</strong></span> from source code</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr01s04s01.html"><img src="images/prev.gif" alt="Prev"></a> </td><th width="60%" align="center"> How can I get <span class="command"><strong>aptitude</strong></span>? </th><td width="20%" align="right"> <a accesskey="n" href="pr01s04s03.html"><img src="images/next.gif" alt="Next"></a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="secSourceInstall"></a>Building <span class="command"><strong>aptitude</strong></span> from source code</h3></div></div></div><p> You also can build <span class="command"><strong>aptitude</strong></span> from source; however, this is probably not a useful exercise unless <code class="systemitem">apt</code> is already available on your system. If it is, you can install <span class="command"><strong>aptitude</strong></span> from source with the following steps: </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p> Install the following pieces of software: </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p> A C++ compiler, such as <a class="ulink" href="http://gcc.gnu.org" target="_top">g++</a>. </p></li><li class="listitem"><p> The development files for <code class="systemitem">apt</code>, typically available in a package with a name like <code class="systemitem">libapt-pkg-dev</code>. </p></li><li class="listitem"><p> The <code class="systemitem">libsigc++-2.0</code> library, available in the package <code class="systemitem">libsigc++-2.0-dev</code> or from <a class="ulink" href="http://libsigc.sourceforge.net" target="_top">http://libsigc.sourceforge.net</a>. </p></li><li class="listitem"><p> The <code class="systemitem">cwidget</code> library, available in the package <code class="systemitem">libcwidget-dev</code> or from <a class="ulink" href="http://cwidget.alioth.debian.org" target="_top">http://cwidget.alioth.debian.org</a>. </p></li><li class="listitem"><p> The <code class="systemitem">gettext</code> program, which should be included with your Linux distribution. </p></li><li class="listitem"><p> A <code class="systemitem">make</code> tool, such as <a class="ulink" href="http://www.gnu.org/software/make" target="_top">GNU make</a>. </p></li></ul></div></li><li class="listitem"><p> Last but not least, download the most recent <span class="command"><strong>aptitude</strong></span> source code, available from <a class="ulink" href="http://packages.debian.org/unstable/admin/aptitude" target="_top">http://packages.debian.org/unstable/admin/aptitude</a>. (scroll to the bottom of the page and download the <span class="quote">“<span class="quote">.orig.tar.gz</span>”</span> file) </p></li></ol></div><p> Once all the required components are available, open a terminal and execute the command <span class="command"><strong>tar zxf aptitude-0.6.11.tar.gz</strong></span> to unpack the source code. Once the source code is unpacked, type <span class="command"><strong>cd aptitude-0.6.11 && ./configure && make</strong></span> to compile <span class="command"><strong>aptitude</strong></span>. If this succeeds, make sure you are the <code class="systemitem">root</code> user (by using <span class="command"><strong>su</strong></span>, for instance), then type <span class="command"><strong>make install</strong></span> to install <span class="command"><strong>aptitude</strong></span> on your computer. Once <span class="command"><strong>aptitude</strong></span> is successfully installed, typing <span class="command"><strong>aptitude</strong></span> at a command prompt should start the program. </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pr01s04s01.html"><img src="images/prev.gif" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="pr01s04.html"><img src="images/up.gif" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="pr01s04s03.html"><img src="images/next.gif" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Pre-built <span class="command"><strong>aptitude</strong></span> packages, or, <span class="quote">“<span class="quote">what 99% of users should do</span>”</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.gif" alt="Home"></a></td><td width="40%" align="right" valign="top"> Tracking and participating in <span class="command"><strong>aptitude</strong></span> development</td></tr></table></div></body></html>