Gentoo Package Management
From Notes
Update Process
1. Sync the local cache with the portage tree
emerge --sync
2. Examine which packages will be updated
emerge world -uDvp
3. Update local packages if all looks correct
emerge world -uDv
4. Verify all reverse dependencies are satisfied
revdep-rebuild -v
5. Check for extra or erroneous packages
emerge --depclean -pv
6. Remove or add to world file packages from previous step
a. Add to world file
emerge --noreplace <package>
b. Remove
emerge --depclean -v
Refresh metadata in local cache
emerge --metadata
Build Binary Packages from Installed or Installing Packages
To build a binary from an installed application, use the 'quickpkg' command:
quickpkg openoffice
To build a binary while installing an application, use the --buildpkg option:
emerge openoffice --buildpkg -v
Installing New Packages from a Binary Repository
1. You must specify a repository location, then specify that the package should be binary and not compiled...
Specify PORTAGE_BINHOST in /etc/make.conf
