1bpkg-pkg-uninstall(1)       General Commands Manual      bpkg-pkg-uninstall(1)
2
3
4

NAME

6       bpkg-pkg-uninstall - uninstall package
7

SYNOPSIS

9       bpkg pkg-uninstall|uninstall [options] [vars] pkg...
10       bpkg pkg-uninstall|uninstall [options] [vars] --all|-a
11       bpkg  pkg-uninstall|uninstall  [options]  [vars]  (--all-pattern  <pat‐
12       tern>)...
13

DESCRIPTION

15       The pkg-uninstall command uninstalls the specified packages (the  first
16       form), all the held packages (the second form, see bpkg-pkg-status(1)),
17       or all the held packages that match any of the specified wildcard  pat‐
18       terns  (the third form). Additionally, immediate or all dependencies of
19       these specified packages can be  also  uninstalled  by  specifying  the
20       --immediate|-i  or  --recursive|-r  options,  respectively. Underneath,
21       this command doesn't do much more than run b uninstall.  In  the  first
22       form  the  specified packages must have been previously configured with
23       bpkg-pkg-build(1) or bpkg-pkg-configure(1).
24
25       Additional command line variables  (vars,  normally  config.*)  can  be
26       passed  to  the build system. Such variables apply to all the specified
27       packages but can also be specified to only apply to  specific  packages
28       using  the  argument  grouping mechanism (see bpkg-argument-grouping(1)
29       for details). See bpkg-pkg-install(1) for some examples.
30

PKG-UNINSTALL OPTIONS

32       --all|-a
33              Uninstall all held packages.
34
35       --all-pattern pattern
36              Uninstall held packages that match the specified  wildcard  pat‐
37              tern.  Repeat  this option to match multiple patterns. Note that
38              you may need to quote the pattern to prevent expansion  by  your
39              shell.
40
41       --immediate|-i
42              Also uninstall immediate dependencies.
43
44       --recursive|-r
45              Also uninstall all dependencies, recursively.
46
47       --directory|-d dir
48              Assume  configuration is in dir rather than in the current work‐
49              ing directory.
50

COMMON OPTIONS

52       The common options are summarized below with a more  detailed  descrip‐
53       tion available in bpkg-common-options(1).
54
55       -v     Print essential underlying commands being executed.
56
57       -V     Print all underlying commands being executed.
58
59       --quiet|-q
60              Run quietly, only printing error messages.
61
62       --verbose level
63              Set the diagnostics verbosity to level between 0 and 6.
64
65       --stdout-format format
66              Representation format to use for printing to stdout.
67
68       --jobs|-j num
69              Number of jobs to perform in parallel.
70
71       --no-result
72              Don't print informational messages about the outcome of perform‐
73              ing a command or some of its parts.
74
75       --structured-result fmt
76              Write the result of performing a command in a structured form.
77
78       --progress
79              Display progress indicators for long-lasting operations, such as
80              network transfers, building, etc.
81
82       --no-progress
83              Suppress  progress  indicators for long-lasting operations, such
84              as network transfers, building, etc.
85
86       --diag-color
87              Use color in diagnostics.
88
89       --no-diag-color
90              Don't use color in diagnostics.
91
92       --build path
93              The build program to be used to build packages.
94
95       --build-option opt
96              Additional option to be passed to the build program.
97
98       --fetch path
99              The fetch program to be used to download resources.
100
101       --fetch-option opt
102              Additional option to be passed to the fetch program.
103
104       --fetch-timeout sec
105              The fetch and fetch-like (for example, git) program timeout.
106
107       --pkg-proxy url
108              HTTP proxy server to use when fetching package manifests and ar‐
109              chives from remote pkg repositories.
110
111       --git path
112              The git program to be used to fetch git repositories.
113
114       --git-option opt
115              Additional common option to be passed to the git program.
116
117       --sha256 path
118              The sha256 program to be used to calculate SHA256 sums.
119
120       --sha256-option opt
121              Additional option to be passed to the sha256 program.
122
123       --tar path
124              The tar program to be used to extract package archives.
125
126       --tar-option opt
127              Additional option to be passed to the tar program.
128
129       --openssl path
130              The openssl program to be used for crypto operations.
131
132       --openssl-option opt
133              Additional option to be passed to the openssl program.
134
135       --auth type
136              Types of repositories to authenticate.
137
138       --trust fingerprint
139              Trust repository certificate with a SHA256 fingerprint.
140
141       --trust-yes
142              Assume the answer to all authentication prompts is yes.
143
144       --trust-no
145              Assume the answer to all authentication prompts is no.
146
147       --git-capabilities up=pc
148              Protocol capabilities (pc) for a git repository URL prefix (up).
149
150       --pager path
151              The pager program to be used to show long text.
152
153       --pager-option opt
154              Additional option to be passed to the pager program.
155
156       --options-file file
157              Read additional options from file.
158
159       --default-options dir
160              The directory to load additional default options files from.
161
162       --no-default-options
163              Don't load default options files.
164
165       --keep-tmp
166              Don't  remove  the  bpkg's temporary directory at the end of the
167              command execution and print its path at the verbosity level 2 or
168              higher.
169

DEFAULT OPTIONS FILES

171       See  bpkg-default-options-files(1)  for  an overview of the default op‐
172       tions files. For the pkg-uninstall command the search  start  directory
173       is  the  configuration  directory.  The  following  options  files  are
174       searched for in each directory and,  if  found,  loaded  in  the  order
175       listed:
176
177       bpkg.options
178       bpkg-pkg-uninstall.options
179
180       The  following pkg-uninstall command options cannot be specified in the
181       default options files:
182
183       --directory|-d
184

BUGS

186       Send bug reports to the users@build2.org mailing list.
187
189       Copyright (c) 2014-2023 the build2 authors.
190
191       Permission is granted to copy, distribute and/or modify  this  document
192       under the terms of the MIT License.
193
194
195
196bpkg 0.16.0                        June 2023             bpkg-pkg-uninstall(1)
Impressum