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

NAME

6       bpkg-pkg-install - install package
7

SYNOPSIS

9       bpkg pkg-install|install [options] [vars] pkg...
10       bpkg pkg-install|install [options] [vars] --all|-a
11

DESCRIPTION

13       The  pkg-install  command  installs  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 packages can be
16       also installed  by  specifying  the  --immediate|-i  or  --recursive|-r
17       options,  respectively.  Underneath,  this command doesn't do much more
18       than run b install. In the first form the specified packages must  have
19       been  previously  configured with bpkg-pkg-build(1) or bpkg-pkg-config‐
20       ure(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). In particular, this mechanism can be used to specify  the
27       installation directory, for example:
28
29       bpkg install config.install.root=/usr/local \
30                    config.install.sudo=sudo       \
31                    libfoo libbar
32
33       Alternatively,  the  installation  directory can be specified once when
34       creating the configuration (bpkg-cfg-create(1)).
35

PKG-INSTALL OPTIONS

37       --all|-a
38              Install all held packages.
39
40       --immediate|-i
41              Also install immediate dependencies.
42
43       --recursive|-r
44              Also install all dependencies, recursively.
45
46       --directory|-d dir
47              Assume configuration is in dir rather than in the current  work‐
48              ing directory.
49

COMMON OPTIONS

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

DEFAULT OPTIONS FILES

146       See  bpkg-default-options-files(1)  for  an  overview  of  the  default
147       options files. For the pkg-install command the search  start  directory
148       is  the  configuration  directory.  The  following  options  files  are
149       searched for in each directory and,  if  found,  loaded  in  the  order
150       listed:
151
152       bpkg.options
153       bpkg-pkg-install.options
154
155       The  following  pkg-install  command options cannot be specified in the
156       default options files:
157
158       --directory|-d
159

BUGS

161       Send bug reports to the users@build2.org mailing list.
162
164       Copyright (c) 2014-2020 the build2 authors.
165
166       Permission is granted to copy, distribute and/or modify  this  document
167       under the terms of the MIT License.
168
169
170
171bpkg 0.13.0                        July 2020               bpkg-pkg-install(1)
Impressum