To update all packages on your system:
emerge --sync && emerge -DNtuv world
To clean unused package files:
eclean distfiles
Local storage location of distfiles:
/usr/portage/distfiles
To list chronological order of packages installed:
qlop -l
To find which package contains a file:
equery belongs `which <filename>` or equery belongs <filename>
2 portage directories:
/usr/portage
Above is the default location for the portage tree.
/var/tmp/portage
Above is the default temporary location for portage to build packages.
To just unpack the code (it will automatically download it if needed):
ebuild /usr/portage/x11-drivers/evdev/evdev<version> unpack
To add a user to a group:
gpasswd -a USERNAME vboxusers
Previous portage emerge messages:
/var/log/portage/elog/summary.log
By: Neil Sikka