Gentoo
From SkyWiki
read current package descriptions
emerge --sync
update Portage base software
emerge portage
update system packages
emerge -u system
update configuration files:
etc-update
update current environment variables:
env-update
pretend what to du while updating all registered packages
emerge -p -u world
update all registered packages
emerge -u world
download, build and install package "lynx"
emerge lynx
remove version 1.5 of package mktemp
emerge -C =sys-apps/mktemp-1.5