1bpkg-pkg-uninstall(1) General Commands Manual bpkg-pkg-uninstall(1)
2
3
4
6 bpkg-pkg-uninstall - uninstall package
7
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
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
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
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 --jobs|-j num
66 Number of jobs to perform in parallel.
67
68 --no-result
69 Don't print informational messages about the outcome of perform‐
70 ing a command or some of its parts.
71
72 --no-progress
73 Suppress progress indicators for long-lasting operations, such
74 as network transfers, building, etc.
75
76 --build path
77 The build program to be used to build packages.
78
79 --build-option opt
80 Additional option to be passed to the build program.
81
82 --fetch path
83 The fetch program to be used to download resources.
84
85 --fetch-option opt
86 Additional option to be passed to the fetch program.
87
88 --fetch-timeout sec
89 The fetch and fetch-like (for example, git) program timeout.
90
91 --pkg-proxy url
92 HTTP proxy server to use when fetching package manifests and ar‐
93 chives from remote pkg repositories.
94
95 --git path
96 The git program to be used to fetch git repositories.
97
98 --git-option opt
99 Additional common option to be passed to the git program.
100
101 --sha256 path
102 The sha256 program to be used to calculate SHA256 sums.
103
104 --sha256-option opt
105 Additional option to be passed to the sha256 program.
106
107 --tar path
108 The tar program to be used to extract package archives.
109
110 --tar-option opt
111 Additional option to be passed to the tar program.
112
113 --openssl path
114 The openssl program to be used for crypto operations.
115
116 --openssl-option opt
117 Additional option to be passed to the openssl program.
118
119 --auth type
120 Types of repositories to authenticate.
121
122 --trust fingerprint
123 Trust repository certificate with a SHA256 fingerprint.
124
125 --trust-yes
126 Assume the answer to all authentication prompts is yes.
127
128 --trust-no
129 Assume the answer to all authentication prompts is no.
130
131 --pager path
132 The pager program to be used to show long text.
133
134 --pager-option opt
135 Additional option to be passed to the pager program.
136
137 --options-file file
138 Read additional options from file.
139
140 --default-options dir
141 The directory to load additional default options files from.
142
143 --no-default-options
144 Don't load default options files.
145
147 See bpkg-default-options-files(1) for an overview of the default op‐
148 tions files. For the pkg-uninstall command the search start directory
149 is the configuration directory. The following options files are
150 searched for in each directory and, if found, loaded in the order
151 listed:
152
153 bpkg.options
154 bpkg-pkg-uninstall.options
155
156 The following pkg-uninstall command options cannot be specified in the
157 default options files:
158
159 --directory|-d
160
162 Send bug reports to the users@build2.org mailing list.
163
165 Copyright (c) 2014-2021 the build2 authors.
166
167 Permission is granted to copy, distribute and/or modify this document
168 under the terms of the MIT License.
169
170
171
172bpkg 0.14.0 October 2021 bpkg-pkg-uninstall(1)