Portage emerge reference

From thelinuxwiki
Jump to: navigation, search

installing a specific version of a package

done using an "atom" (see manpage)

example:
# emerge package_name =package_name-version.number


manually installing a package without internet access

1. On a box with Internet access, fetch the distfile. First, use emerge fetch the install source for you...

emerge --fetchonly <package>

Next, use wget to download the file.

2. Upload the file to the /usr/portage/distfiles/ directory on the machine you intend to install the package on

      • note This procedure does not take package dependencies into account! ***

portage history

verion history for a package

$ qlop --list <pkgname>

sync history

# qlop --sync

Wed Nov 4 09:44:38 2015 >>> gentoo Mon Dec 14 15:39:30 2015 >>> gentoo Wed Feb 17 07:33:48 2016 >>> gentoo Sun Feb 28 10:32:25 2016 >>> gentoo

packages merged per day (you can tell when updates have been run based on the number of packages per day)

# qlop -l | awk '{print $2,$3,$5}' | uniq -c