Talk:Gentoo Cheat Sheet

Kudos
Kudos for this quick and concise Gentoo Cheat Sheet!

For once, I could not have done better myself. ;-)

--Roger (talk) 16:17, 12 August 2013 (UTC)

i thought it looked very useful so i jumped right on scribing it.

--666threesixes666 (talk) 16:27, 12 August 2013 (UTC)

we have a problem
i need to print ebuilds DESCRIPTION variable from packages. ive tried googling it several ways but i keep running into a hurricane of irrelevant data. ive tried "gentoo display ebuild description" "gentoo print ebuild description" and others and keep running into x11 and cups. we can get use flag descriptions, but not actual ebuild descriptions with this page. 666threesixes666 (talk) 23:54, 27 June 2014 (UTC)


 * This cheat sheet is not really the place for describing how to do unless you're wanting to use something like eix, which is already in the article. I'd search the web for "Portage API" if you want means of getting DESCRIPTION values directly. Kind regards, --Maffblaster (talk) 18:07, 7 June 2017 (UTC)

qfile instead of equery
I use qfile instead of equery. The incantation of equery utilized alongside the which command through a pipe is quite extensive, and probably difficult to memorize! --Roger (talk) 15:19, 23 September 2014 (UTC)

$ qfile /usr/bin/vim app-editors/vim (/usr/bin/vim)


 * Wouldn't you need to use either way? --Maffblaster (talk) 18:07, 7 June 2017 (UTC)

The main advantage of is that it's fast. On a system with a lot of packages installed equery can be very, very slow: % time qfile `which zsh`; time equery b `which zsh` app-shells/zsh (/bin/zsh) qfile `which zsh` 0.39s user 0.07s system 97% cpu 0.468 total * Searching for /bin/zsh ... app-shells/zsh-5.5 (/bin/zsh) equery b `which zsh` 39.85s user 0.73s system 99% cpu 40.713 total --Tim1724 (talk) 02:20, 3 July 2018 (UTC)