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

DESCRIPTION

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

PKG-UNINSTALL OPTIONS

29       --all|-a
30              Uninstall all held packages.
31
32       --immediate|-i
33              Also uninstall immediate dependencies.
34
35       --recursive|-r
36              Also uninstall all dependencies, recursively.
37
38       --directory|-d dir
39              Assume configuration is in dir rather than in the current  work‐
40              ing directory.
41

COMMON OPTIONS

43       The  common  options are summarized below with a more detailed descrip‐
44       tion available in bpkg-common-options(1).
45
46       -v     Print essential underlying commands being executed.
47
48       -V     Print all underlying commands being executed.
49
50       --quiet|-q
51              Run quietly, only printing error messages.
52
53       --verbose level
54              Set the diagnostics verbosity to level between 0 and 6.
55
56       --jobs|-j num
57              Number of jobs to perform in parallel.
58
59       --no-result
60              Don't print informational messages about the outcome of perform‐
61              ing a command.
62
63       --no-progress
64              Suppress  progress  indicators for long-lasting operations, such
65              as network transfers, building, etc.
66
67       --build path
68              The build program to be used to build packages.
69
70       --build-option opt
71              Additional option to be passed to the build program.
72
73       --fetch path
74              The fetch program to be used to download resources.
75
76       --fetch-option opt
77              Additional option to be passed to the fetch program.
78
79       --fetch-timeout sec
80              The fetch and fetch-like (for example, git) program timeout.
81
82       --git path
83              The git program to be used to fetch git repositories.
84
85       --git-option opt
86              Additional common option to be passed to the git program.
87
88       --sha256 path
89              The sha256 program to be used to calculate SHA256 sums.
90
91       --sha256-option opt
92              Additional option to be passed to the sha256 program.
93
94       --tar path
95              The tar program to be used to extract package archives.
96
97       --tar-option opt
98              Additional option to be passed to the tar program.
99
100       --openssl path
101              The openssl program to be used for crypto operations.
102
103       --openssl-option opt
104              Additional option to be passed to the openssl program.
105
106       --auth type
107              Types of repositories to authenticate.
108
109       --trust fingerprint
110              Trust repository certificate with a SHA256 fingerprint.
111
112       --trust-yes
113              Assume the answer to all authentication prompts is yes.
114
115       --trust-no
116              Assume the answer to all authentication prompts is no.
117
118       --pager path
119              The pager program to be used to show long text.
120
121       --pager-option opt
122              Additional option to be passed to the pager program.
123
124       --options-file file
125              Read additional options from file.
126
127       --default-options dir
128              The directory to load additional default options files from.
129
130       --no-default-options
131              Don't load default options files.
132

DEFAULT OPTIONS FILES

134       See  bpkg-default-options-files(1)  for  an  overview  of  the  default
135       options files. For the pkg-uninstall command the search start directory
136       is  the  configuration  directory.  The  following  options  files  are
137       searched  for  in  each  directory  and,  if found, loaded in the order
138       listed:
139
140       bpkg.options
141       bpkg-pkg-uninstall.options
142
143       The following pkg-uninstall command options cannot be specified in  the
144       default options files:
145
146       --directory|-d
147

BUGS

149       Send bug reports to the users@build2.org mailing list.
150
152       Copyright (c) 2014-2019 Code Synthesis Ltd
153
154       Permission  is  granted to copy, distribute and/or modify this document
155       under the terms of the MIT License.
156
157
158
159bpkg 0.12.0                      November 2019           bpkg-pkg-uninstall(1)
Impressum