Fandom

How To Wiki

How to find all packages emerged(installed) on a Gentoo Linux system

1,795pages on
this wiki
Add New Page
Talk0 Share

A list of all packages emerged on a Gentoo Linux system can be found in the files:

List all packages installedEdit

Method 1Edit

  • execute: equery list "*"
Example output
 * Searching for * ...
[IP-] [  ] app-accessibility/festival-2.1:0
[IP-] [  ] app-accessibility/speech-tools-2.1-r1:0
[IP-] [  ] app-admin/conky-1.8.1-r3:0
[IP-] [  ] app-admin/eselect-1.2.15:0
[IP-] [  ] app-admin/eselect-boost-0.3:0
[IP-] [  ] app-admin/eselect-cblas-0.1:0

Method 2Edit

If you do not have gentoolkit installed (that provides equery) and do not want to install it, you can just use the package "database" in /var/db/pkg:

  • cd /var/db/pkg/ && ls -d */*
Example output
..
x11-themes/tango-icon-theme-0.8.90/
x11-themes/tango-icon-theme-extras-0.1.0-r1/
x11-wm/openbox-3.5.0-r1/
x11-wm/twm-1.0.7/
xfce-base/exo-0.6.2/
xfce-base/garcon-0.1.9/
xfce-base/libxfce4ui-4.8.0/
..

to remove the ending slash for a more standard output try

  • cd /var/db/pkg/ && ls -d */*|sed 's/\/$//'


Or you can skip changing directorise entirely with

  • ls -d /var/db/pkg/*/*| cut -f5- -d/

Method 3Edit

Using list-gentoo-packages.sh script, displays installs packages and the USE flags

Example Output
...
x11-libs/Xaw3d-1.5-r1
x11-libs/cairo-1.8.8 +X +opengl +svg -cleartype -debug -directfb -doc -glitz -xcb
x11-libs/gtk+-2.16.6 +cups +jpeg +tiff -debug -doc -jpeg2k -test -vim-syntax -xinerama
x11-libs/libICE-1.0.5 +ipv6 -debug
x11-libs/libSM-1.1.1 +ipv6 +uuid -debug -elibc_FreeBSD
x11-libs/libX11-1.2.2 +ipv6 +xcb -debug
x11-libs/libXScrnSaver-1.1.3 -debug
...

List all packages you directly installed Edit

These are packages that you requested emerge to install. This does not include their dependencies.

List installed Packages (requires root)

  • cat /var/lib/portage/world
Example output
...
www-plugins/adobe-flash
www-plugins/gecko-mediaplayer
x11-apps/mesa-progs
x11-apps/xrandr
x11-base/xorg-server
x11-drivers/nvidia-drivers
x11-misc/fbpanel
...




From HowTo Wiki, a Wikia wiki.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki