Prerequisites
To compile aptitude from source code, you will need the following libraries and tools installed:
aptcwidgetcppunitif you want to build the unit testsxsltproc,html2text,po4a, and the DocBook stylesheets by Norman Walsh if you want to build the documentation.gettextg++makelibsigc++version 2.0 or greater
On Debian, this means the following packages:
To build the program itself:
libapt-pkg-devlibsigc++-2.0-devlibcppunit-devlibcwidget-devgettextg++make
To build the documentation:
docbook-xsldocbook-xmlxsltprochtml2textpo4a