1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
.\" 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] <pkg ...>\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<arg>\fR, \fB\-\-format\fR \fI<arg>\fR
Print matched using given format string.
.TP
\fB\-\-root\fR \fI<arg>\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 <solar@gentoo.org>
Mike Frysinger <vapier@gentoo.org>
Fabian Groffen <grobian@gentoo.org>
.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)
|