APT-BUILD(1) General Commands Manual APT-BUILD(1)NAME
apt-build - Fetch sources and build packages optimized for your architecture.
SYNOPSIS
apt-build [ options ] [ update ] [ upgrade ] [ world ] [ install pkg ] [ remove pkg ] [ info pkg ]
DESCRIPTION
apt-build is an apt-get frontend to build and install architecture optimized packages.
COMMANDS
update Retrieve new lists of packages
upgrade
Perform an upgrade
world Rebuild your system
install
Build and install new packages
source Download and extract source in the build directory
info Info on a package which could be built
remove Remove packages
clean-build
Erase built packages
clean-sources
Call debian/rules clean in source directories
build-source
Build source without installing them
update-source
Update sources and rebuild them if they are missing in the repository
build-repository
Rebuild the repository
OPTIONS --help
Shows help
--nowrapper
Do not use the gcc wrapper
--remove-builddep
Remove build-dependencies installed by apt-build
--no-source
Don't download source
--build-dir
Specify build-dir
--build-only
Build package only
--rebuild
Rebuild a package
--reinstall
Build and install an already installed package
--build-command <command>
Use this command to build package
--patch <file>
Apply this patch before build (you can use this option one or several times)
--patch-strip, -p <number>
Prefix to strip on patch (0 = -p0, 1 = -p1 ...)
--yes, -y
Assume yes
--purge
Use purge instead of remove
--noupdate
Do not run 'apt-get update' before package installation
--sources-list
Specify sources.list file
--apt-get
Specify an alternative apt-get command
--apt-cache
Specify an alternative apt-cache command
--force-yes
Force yes
--source
Do not download source (sources are extracted already)
--repository-dir
Specify the repository directory
--target-release
Distribution to fetch packages from
--config
Specify an alternative configuration file
--version, -v
Show version
BUGS
Many.
AUTHOR
apt-build was written by Julien Danjou <acid@debian.org> with many contributors.
3rd Berkeley Distribution November 2003 APT-BUILD(1)
Check Out this Related Man Page
MK-BUILD-DEPS(1)MK-BUILD-DEPS(1)NAME
mk-build-deps - build a package satisfying a package's build-dependencies
SYNOPSIS
mk-build-deps --help|--version
mk-build-deps [options] control file | package name ...
DESCRIPTION
Given a package name and/or control file, mk-build-deps will use equivs to generate a binary package which may be installed to satisfy all
the build dependencies of the given package.
If --build-dep and/or --build-indep are given, then the resulting binary package(s) will depend solely on the
Build-Depends/Build-Depends-Indep dependencies, respectively.
OPTIONS -i, --install
Install the generated packages and its build-dependencies.
-t, --tool
When installing the generated package use the specified tool. (default: apt-get --no-install-recommends)
-r, --remove
Remove the package file after installing it. Ignored if used without the --install switch.
-a foo, --arch foo
If the source package has architecture-specific build dependencies, produce a package for architecture foo, not for the system
architecture. (If the source package does not have architecture-specific build dependencies, the package produced is always for the
pseudo-architecture all.)
-B, --build-dep
Generate a package which only depends on the source package's Build-Depends dependencies.
-A, --build-indep
Generate a package which only depends on the source package's Build-Depends-Indep dependencies.
-h, --help
Show a summary of options.
-v, --version
Show version and copyright information.
-s, --root-cmd
Use the specified tool to gain root privileges before installing. Ignored if used without the --install switch.
AUTHOR
mk-build-deps is copyright by Vincent Fourmond and was modified for the devscripts package by Adam D. Barratt <adam@adam-barratt.org.uk>.
This program comes with ABSOLUTELY NO WARRANTY. You are free to redistribute this code under the terms of the GNU General Public License,
version 2 or later.
Debian Utilities 2013-12-23 MK-BUILD-DEPS(1)