TIP Emering a specific version of a software package
From Gentoo Linux Wiki
| Terminals / Shells • Network • X Window System • Portage • System • Filesystems • Kernel • Other |
Many times, for compatibility reasons, you might need a certain version of a package, even though that version might not be the newest. Portage has a feature that allows for you to pick from the versions of each package that exist.
To find the package versions availible, you can go to a site such as Gentoo-Portage (unofficial) or you can use equery from the command line. Equery is included as part of the gentoolkit package. If you don't already have it the gentoolkit package can be installed very easily by simply running
emerge -av gentoolkit
After you've installed the package you can find out the available version of a package by running
equery list -p package_name
After you find out what version of the package you need, it is very simple to get the package.
For example, to get version 0.6.6.6 of foobarsatan ac
| Code: In a root terminal |
emerge =foobarsatan-0.6.6.6 echo ">whatever-category/foobarsatan-0.6.6.6" >> /etc/portage/package.mask # mask all newer versions of foobar |
