Binary Packages
Published on 10 Mar 2004Tags #gentoo
Binary packages provide an excellent method to distribute packages among several hosts or have a downgrade path in case a package update fails.
-
Where to store binary packages: Refer to
PKGDIRin/etc/make.conf -
Building binary packages: By specifying the
--buildpkgonlyswitch (short:-B)emergeterminates after building binary packages and placing them inPKGDIR. If you intend to merge a newly created binary package immediately, you better use the--buildpkgswitch (short:-b) or add thebuildpkgfeature to/etc/make.conf. -
Install from binary packages: Add the
--usepkgswitch (short:-k) to youremergecommand line to have it use binary packages whenever possible. It can even be forced to not compile any packages by using the--usepkgonlyswitch (short:-K).