I would like to install program foo using emerge
on a Gentoo system; so I simply use emerge foo
to install and portage selects the most current version of that software that's in its repository. If I know the version number and the naming covnention, I can do emerge =foo.1.2
and use eselect
to chose what the currently inforce package is out of the installed ones, if the package supports it.
But what if I don't know the version number or naming convention and just want a list of what's versions of foo are available to me? I don't see an emerge option that does this and snooping around under /usr/portage
doesn't yield me anything.
Bonus: Is there anyway to find what locations emerge
polls to determine what packages are available? For example, many of the ebuilds on my systems are in nonstandard locations, but emerge
finds them anyway, so I'm attempting to determine how emerge
builds it's list of available software versions.
emerge --info =foo*
or with --search instead or something like that from the atom syntax? – user44370 May 30 '14 at 1:37man portage
Look for thePORTDIR
Variable. The location of your Portage Tree is determined by the setting of that variable As a shortcut tryls ${PORTDIR}
– eyoung100 Dec 3 '14 at 18:16