.\" generated by mkman.py, please do NOT edit! .TH qwhich "1" "Jan 2024" "Gentoo Foundation" "qwhich" .SH NAME qwhich \- find path to pkg .SH SYNOPSIS .B qwhich \fI[opts] \fR .SH DESCRIPTION .I qwhich returns the paths to the ebuilds matching the given atoms. Searching is done by default over the main ebuild repository and all configured overlays. When requested, a search can be made over the repository of installed packages (VDB) or binpkg repos. .P The default action is to print the full path to the latest ebuild for each package. This can be changed using \fB-d\fR to print the directory the ebuild is in instead. E.g\. one could \fBcd\fR(1) to this directory. Alternatively, one can request to stop searching after the first match using \fB-f\fR, which means at most one match per repo is returned. .P \fIqwhich\fR accepts atoms to search for, which can be any valid atom, including e.g\. version specifications to narrow the search. .SH OPTIONS .TP \fB\-I\fR, \fB\-\-vdb\fR Look in VDB (installed packages). .TP \fB\-b\fR, \fB\-\-binpkg\fR Look at binary packages. .TP \fB\-t\fR, \fB\-\-tree\fR Look in main tree and overlays. .TP \fB\-p\fR, \fB\-\-pretty\fR Print (pretty) atom instead of path for use with -F. .TP \fB\-d\fR, \fB\-\-dir\fR Print directory instead of path. .TP \fB\-R\fR, \fB\-\-repo\fR Print repository name instead of path for tree/overlay matches. .TP \fB\-f\fR, \fB\-\-first\fR Stop searching after first match (implies -l). .TP \fB\-l\fR, \fB\-\-latest\fR Only return latest version for each match. .TP \fB\-T\fR, \fB\-\-novirtual\fR Skip virtual category. .TP \fB\-A\fR, \fB\-\-noacct\fR Skip acct-user and acct-group categories. .TP \fB\-F\fR \fI\fR, \fB\-\-format\fR \fI\fR Print matched using given format string. .TP \fB\-\-root\fR \fI\fR Set the ROOT env var. .TP \fB\-v\fR, \fB\-\-verbose\fR Report full package versions, emit more elaborate output. .TP \fB\-q\fR, \fB\-\-quiet\fR Tighter output; suppress warnings. .TP \fB\-C\fR, \fB\-\-nocolor\fR Don't output color. .TP \fB\-\-color\fR Force color in output. .TP \fB\-h\fR, \fB\-\-help\fR Print this help and exit. .TP \fB\-V\fR, \fB\-\-version\fR Print version and exit. .SH "REPORTING BUGS" Please report bugs via http://bugs.gentoo.org/ .br Product: Gentoo Linux; Component: Current packages .SH AUTHORS .nf Ned Ludd Mike Frysinger Fabian Groffen .fi .SH "SEE ALSO" .BR q (1), .BR qatom (1), .BR qcheck (1), .BR qdepends (1), .BR qfile (1), .BR qgrep (1), .BR qkeyword (1), .BR qlist (1), .BR qlop (1), .BR qmanifest (1), .BR qmerge (1), .BR qpkg (1), .BR qsearch (1), .BR qsize (1), .BR qtbz2 (1), .BR qtegrity (1), .BR quse (1), .BR qxpak (1)