apt-build1
Fetch sources and build packages optimized for your architecture.
Usage
apt-build [options]
[update]
[upgrade]
[world]
[install
pkg]
[remove
pkg]
[info
pkg]
Overview
apt-build is an apt-get frontend to build and install architecture optimized packages.
Commands
|
Retrieve new lists of packages |
|---|---|
|
Perform an upgrade |
|
Rebuild your system |
|
Build and install new packages |
|
Download and extract source in the build directory |
|
Info on a package which could be built |
|
Remove packages |
|
Erase built packages |
|
Call debian/rules clean in source directories |
|
Build source without installing them |
|
Update sources and rebuild them if they are missing in the 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
Releases
11 releases since Debian 3.1 (Sarge); the text changed 2 times.
--apt-cache since Debian 4.0 (Etch);
--apt-get since Debian 4.0 (Etch);
--config since Debian 4.0 (Etch);
--force-yes since Debian 5.0 (Lenny);
--repository-dir since Debian 5.0 (Lenny);
--source since Debian 5.0 (Lenny);
--target-release since Debian 5.0 (Lenny).