My Gentoo Notes

Listing installed packages

If you've got the gentoo utility package installed, you can useequery to search installed packages. It supports wild cards, e.g.:

$ equery l *emacs*

Listing all files belonging to an installed package

This is the equivalent of what we on Debian based systems would dodpkg -L <package> for:

$ equery f dev-java/jdbc-mysql

Configuration files for the init.d scripts

Debian systems use the/etc/default directory structure for providing configuration for the init.d scripts. However, in Gentoo, I've found /etc/conf.d to provide the same feature.

Hence, to find the configuration for varnish, you'd have to look in/etc/conf.d/varnishd on Gentoo instead of /etc/default/varnish as you would on Debian systems. Also note that Gentoo adds the d as in daemon to the file and variables.


~ /home 🏠 ~ talks 💬 ~ bash ~ craftsmanship ~ db ~ dongxi ~ emacs ~ escenic ~ iam ~ java ~ js ~ language ~ latex ~ ldap ~ life ~ linux ~ llm ~ mac-os-x ~ mt-foo ~ network ~ norsk ~ python ~ quotes ~ running ~ security ~ travel ~ unix ~ various ~ vcs ~ webdesign ~ windows ~ discoveries ~ cv 🧙 ~

Licensed under CC BY Creative Commons License ~ 📡 RSS feed ~ ✉ torstein.k.johansen @ gmail ~ 🐘 @skybert@hachyderm.io ~ 🎥 youtube.com/@skybert