aboutsummaryrefslogtreecommitdiffstats
path: root/man/opkg.1.in
blob: 6b89fd5fc1a65dc6a2a92fca676a6ff413c50e8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
.TH "@PACKAGE_NAME@" 1 "@CLEAN_DATE@" "@PACKAGE_STRING@" "User Commands"
.SH NAME
opkg \- command line utility to install, upgrade and uninstall opkg
software packages
.
.SH SYNOPSIS
.B \fBopkg\fP [\fIOPTIONS...\fP] \fIsub-command\fP [\fIARGUMENTS...\fP]
.
.SH DESCRIPTION
\fBopkg\fP is a simple utility to install, upgrade and uninstall opkg
software packages. Opkg is a lightweight package management system based
on Ipkg.
.
.SH "OPTIONS AND COMMANDS"
.SS SUB-COMMANDS : PACKAGE MANIPULATION
.TP
\fBupdate\fR
Update list of available packages
.TP
\fBupgrade\fR
Upgrade installed packages
.TP
\fBdist-upgrade\fR
Upgrade operation that allows package removal. Only available on the libsolv backend.
.TP
\fBinstall <\fIpackage(s)\fP>\fR
Install \fIpackage(s)\fP
.TP
\fBconfigure <\fIpackage(s)\fP>\fR
Configure unpacked \fIpackage(s)\fP
.TP
\fBremove <\fIpackages\fP|\fIglob\fP>\fR
Remove \fIpackage(s)\fP. \fIglob\fP works like a shell globbing pattern and
could be something like 'pkgname*' '*file*' or similar
.TP
\fBclean \fR
Clean internal cache
.TP
\fBflag <\fIflag\fP> <\fIpackages\fP>\fR
Flag \fIpackage(s)\fP. Available flags (one per invocation):
.TS
tab(@);
l.
hold
noprune
user
ok
installed
unpacked
.TE
.
.TP
\fBversion \fR
Print version
.SS INFORMATIONAL SUB-COMMANDS
.TP
\fBlist\fR
List available packages
.TP
\fBlist-installed\fR
List installed packages
.TP
\fBlist-upgradable\fR
List installed and upgradable packages
.TP
\fBlist-changed-conffiles\fR
List package configuration files which have been modified after installation
.TP
\fBfiles <\fIpackage\fP>\fR
List files belonging to \fIpackage\fP
.TP
\fBsearch <\fIfile\fP|\fIglob\fP>\fR
List package providing \fIfile\fP
.TP
\fBfind <\fIregexp\fP>\fR
List packages with names or description matching \fIregexp\fP
.TP
\fBinfo [\fIpackage\fP|\fIglob\fP]\fR
Display all info for selected packages
.TP
\fBstatus [\fIpackage\fP|\fIglob\fP]\fR
Display all statuses for selected packages
.TP
\fBdownload <\fIpackage\fP>\fR
Download \fIpackage\fP to current directory
.TP
\fBcompare-versions <\fIversion1\fP> <\fIoperator\fP> <\fIversion2\fP>\fR
compare versions using following operators :
.TS
tab(@);
c l.
<<@less than
<@less than or equal to
<=@less than or equal to
 =@equal to
>=@greater than or equal to
>@greater than or equal to
>>@greater than
.TE
.TP
\fBprint-architecture\fR
List installable package architectures
.TP
\fBdepends [\fI\-A\fP] <\fIpackage(s)\fP|\fIglob\fP>\fR
.TP
\fBwhatdepends [\fI\-A\fP] <\fIpackage(s)\fP|\fIglob\fP>\fR
.TP
\fBwhatdependsrec [\fI\-A\fP] <\fIpackage(s)\fP|\fIglob\fP>\fR
.TP
\fBwhatrecommends [\fI\-A\fP] <\fIpackage(s)\fP|\fIglob\fP>\fR
.TP
\fBwhatsuggests [\fI\-A\fP] <\fIpackage(s)\fP|\fIglob\fP>\fR
.TP
\fBwhatprovides [\fI\-A\fP] <\fIpackage(s)\fP|\fIglob\fP>\fR
.TP
\fBwhatconflicts [\fI\-A\fP] <\fIpackage(s)\fP|\fIglob\fP>\fR
.TP
\fBwhatreplaces [\fI\-A\fP] <\fIpackage(s)\fP|\fIglob\fP>\fR
.TP
\fBverify  <\fIpackage(s)\fP|\fIglob\fP>\fR
Verifies the integrity of <pkg>, or all packages if omitted by
comparing the md5sum of each file with the information stored
on the opkg metadata database.

.SS OPTIONS
.TP
\fB\-A\fR
Query all packages not just those installed
.
.TP
\fB\-V <\fIlevel\fP>, --verbosity <\fIlevel\fP>\fR
Set verbosity level to \fIlevel\fP. Verbosity levels :
.TS
tab(@);
l l.
0@errors only
1@normal messages (default)
2@informative messages
3@debug
4@debug level 2
.TE
.
.TP
\fB\-f <\fIconf_file\fP>, \fB\--conf <\fIconf_file\fP>\fR
Use \fIconf_file\fP as the opkg configuration file
.TP
\fB\--cache-dir <\fIdirectory\fP>\fR
Use a package cache
.TP
\fB\-t <\fIdirectory\fP>, \--tmp-dir <\fIdirectory\fP>\fR
Specify \fIdirectory\fP as temporary directory
.TP
\fB\-l <\fIdirectory\fP>, \--lists-dir <\fIdirectory\fP>\fR
Specify \fIdirectory\fP as package lists directory
.TP
\fB\-d <\fIdest_name\fP>, \fB\--dest <\fIdest_name\fP>\fR
Use \fIdest_name\fP as the the root directory for
package installation, removal, upgrading. \fIdest_name\fP should be a
defined dest name from the configuration file, (but can also be a
directory name in a pinch).
.TP
\fB\-o <\fIdirectory\fP>, \fB\--offline-root <\fIdirectory\fP>\fR
Use \fIdirectory\fP as the root directory for offline installation of
packages.
.TP
\fB\--add-dest <\fIname\fP>:<\fIpath\fP>\fR
Register \fIpath\fP as installation target \fIname\fP for use in
conjunction with \fB\--dest\fP
.TP
\fB\--add-arch <\fIarch\fP>:<\fIprio\fP>\fR
Register the package architecture \fIarch\fP with the numeric
priority \fIprio\fP. Lower priorities take precedence.
.TP
\fB\--add-exclude <\fIname\fP>\fR
Register package to be excluded from install
.TP
\fB\--add-ignore-recommends <\fIname\fP>\fR
Register package to be ignored as a recomendee
.TP
\fB\--prefer-arch-to-version\fR
Use the architecture priority package rather than the higher version
one if more than one candidate is found.
.TP
\fB\--combine\fR
Combine upgrade and install operations, this may be needed to resolve
dependency issues. Only available for the internal solver backend.
.TP
\fB\--fields <\fIfield1\fP>,<\fIfield2\fP>\fR
Limit display information to the specified fields plus
the package name. Valid for \fBinfo\fP and \fBstatus\fP.
.TP
\fB\--short-description
Display only the first line of the description.
.TP
\fB\--size\fR
Print package size when listing available packages
.SS FORCE OPTIONS
.TP
\fB\--force-depends \fR
Install/remove despite failed dependencies
.TP
\fB\--force-maintainer \fR
Overwrite preexisting config files
.TP
\fB\--force-reinstall \fR
Reinstall package(s)
.TP
\fB\--force-overwrite\fR
Overwrite files from other package(s)
.TP
\fB\--force-downgrade\fR
Allow opkg to downgrade packages
.TP
\fB\--force-space \fR
Disable free space checks
.TP
\fB\--force-postinstall \fR
Execute package postinstall scripts in offline installation mode
.TP
\fB\--force-remove \fR
Remove package even if prerm script fails
.TP
\fB\--force-checksum \fR
Don't fail on checksum mismatches
.TP
\fB\--noaction\fR
No action \- test only
.TP
\fB\--download-only\fR
No action \- download only
.TP
\fB\--nodeps\fR
Do not follow dependencies
.TP
\fB\--install-recommends\fR
Install any recommended packages. This flag overrides the no_install_recommends
configuration option.
.TP
\fB\--no-install-recommends\fR
Do not install any recommended packages
.TP
\fB\--force-removal-of-dependent-packages\fR
Remove package and all dependencies
.TP
\fB\--autoremove\fR
Remove packages that were installed automatically to satisfy dependencies
.TP
\fB\--host-cache-dir\fR
Don't place cache in offline root dir
.TP
\fB\--volatile-cache\fR
Use volatile cache. Volatile cache will be cleared on exit
.
.SH "REPORTING BUGS"
Report bugs to https://bugzilla.yoctoproject.org/buglist.cgi?product=opkg
.
.P
Copyright \(co Opkg development team.
.P
Copyright \(co Ipkg development team.
.