![]() |
![]() ![]() GNU/Linux Desktop Survival Guide by Graham Williams |
![]() |
|||
The apt-build
package, a front-end to apt-get,
provides a general solution to build Debian packages tuned (or
optimised) for your architecture.
$ wajig install apt-buildYou will be asked for some options, and these go into /etc/apt/apt-build.conf:
The built packages will be placed into /var/cache/apt-build/repository, an can be accessed with the standard Debian package tools by adding the following line to the top of /etc/apt/sources.list (which can be done during the installation of apt-build:
You will need deb-src entries in your /etc/apt/sources.list file to be able to obtain the source packages (see Section 6.8.1).
Being a front-end to apt-get, your first
apt-build command might be to update the list of known
available packages (particularly if you have just added a
deb-src entry to /etc/apt/sources.list), although
the following is equivalent:
|