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       --progress
76              Display progress indicators for long-lasting operations, such as
77              network transfers, building, etc.
78
79       --no-progress
80              Suppress  progress  indicators for long-lasting operations, such
81              as network transfers, building, etc.
82
83       --build path
84              The build program to be used to build packages.
85
86       --build-option opt
87              Additional option to be passed to the build program.
88
89       --fetch path
90              The fetch program to be used to download resources.
91
92       --fetch-option opt
93              Additional option to be passed to the fetch program.
94
95       --fetch-timeout sec
96              The fetch and fetch-like (for example, git) program timeout.
97
98       --pkg-proxy url
99              HTTP proxy server to use when fetching package manifests and ar‐
100              chives from remote pkg repositories.
101
102       --git path
103              The git program to be used to fetch git repositories.
104
105       --git-option opt
106              Additional common option to be passed to the git program.
107
108       --sha256 path
109              The sha256 program to be used to calculate SHA256 sums.
110
111       --sha256-option opt
112              Additional option to be passed to the sha256 program.
113
114       --tar path
115              The tar program to be used to extract package archives.
116
117       --tar-option opt
118              Additional option to be passed to the tar program.
119
120       --openssl path
121              The openssl program to be used for crypto operations.
122
123       --openssl-option opt
124              Additional option to be passed to the openssl program.
125
126       --auth type
127              Types of repositories to authenticate.
128
129       --trust fingerprint
130              Trust repository certificate with a SHA256 fingerprint.
131
132       --trust-yes
133              Assume the answer to all authentication prompts is yes.
134
135       --trust-no
136              Assume the answer to all authentication prompts is no.
137
138       --pager path
139              The pager program to be used to show long text.
140
141       --pager-option opt
142              Additional option to be passed to the pager program.
143
144       --options-file file
145              Read additional options from file.
146
147       --default-options dir
148              The directory to load additional default options files from.
149
150       --no-default-options
151              Don't load default options files.
152
153       --keep-tmp
154              Don't  remove  the  bpkg's temporary directory at the end of the
155              command execution and print its path at the verbosity level 2 or
156              higher.
157

DEFAULT OPTIONS FILES

159       See  bpkg-default-options-files(1)  for  an overview of the default op‐
160       tions files. For the pkg-uninstall command the search  start  directory
161       is  the  configuration  directory.  The  following  options  files  are
162       searched for in each directory and,  if  found,  loaded  in  the  order
163       listed:
164
165       bpkg.options
166       bpkg-pkg-uninstall.options
167
168       The  following pkg-uninstall command options cannot be specified in the
169       default options files:
170
171       --directory|-d
172

BUGS

174       Send bug reports to the users@build2.org mailing list.
175
177       Copyright (c) 2014-2022 the build2 authors.
178
179       Permission is granted to copy, distribute and/or modify  this  document
180       under the terms of the MIT License.
181
182
183
184bpkg 0.15.0                        July 2022             bpkg-pkg-uninstall(1)
Impressum