Imported Upstream version 0.6.35
[platform/upstream/libsolv.git] / doc / gen / solv.1
1 '\" t
2 .\"     Title: solv
3 .\"    Author: [see the "Author" section]
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
5 .\"      Date: 07/19/2018
6 .\"    Manual: LIBSOLV
7 .\"    Source: libsolv
8 .\"  Language: English
9 .\"
10 .TH "SOLV" "1" "07/19/2018" "libsolv" "LIBSOLV"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 solv \- example package manager based on libsolv
32 .SH "SYNOPSIS"
33 .sp
34 \fBsolv\fR install [OPTIONS] PKG\&...
35 .sp
36 \fBsolv\fR erase [OPTIONS] PKG\&...
37 .sp
38 \fBsolv\fR list [OPTIONS] PKG\&...
39 .sp
40 \fBsolv\fR info [OPTIONS] PKG\&...
41 .sp
42 \fBsolv\fR search [OPTIONS] STRING\&...
43 .sp
44 \fBsolv\fR verify [OPTIONS] PKG\&...
45 .sp
46 \fBsolv\fR update [OPTIONS] PKG\&...
47 .sp
48 \fBsolv\fR dist\-upgrade [OPTIONS] PKG\&...
49 .sp
50 \fBsolv\fR repolist [OPTIONS]
51 .SH "DESCRIPTION"
52 .sp
53 The solv tool demos some features of the libsolv library\&. It is not meant to replace a real package manager, for example it does not cache downloaded packages\&.
54 .PP
55 \fB\-\-root\fR \fIROOTDIR\fR
56 .RS 4
57 Install packages using
58 \fIROOTDIR\fR
59 as root of the filesystem\&. This also means that the package database of
60 \fIROOTDIR\fR
61 will be used\&.
62 .RE
63 .PP
64 \fB\-\-clean\fR
65 .RS 4
66 Also get rid of no longer needed packages when erasing, like libraries that have been used by the erased packages\&.
67 .RE
68 .PP
69 \fB\-\-best\fR
70 .RS 4
71 Force usage of the best package (normally the one with the highest version) for install and update operations\&.
72 .RE
73 .PP
74 \fB\-\-testcase\fR
75 .RS 4
76 Write a testcase after dependency solving\&.
77 .RE
78 .sp
79 The following options can be used to filter the packages\&. If the same option is used multiple times, the result is ORed together\&.
80 .PP
81 \fB\-i\fR
82 .RS 4
83 Limit the packages to installed ones\&.
84 .RE
85 .PP
86 \fB\-r\fR \fIREPO\fR
87 .RS 4
88 Limit the packages to the specified repository\&.
89 .RE
90 .PP
91 \fB\-\-arch\fR \fIARCHITECTURE\fR
92 .RS 4
93 Limit the packages to the specified package architecture\&.
94 .RE
95 .PP
96 \fB\-\-type\fR \fITYPE\fR
97 .RS 4
98 Limit the packages to the specified package type\&.
99 .RE
100 .SH "AUTHOR"
101 .sp
102 Michael Schroeder <mls@suse\&.de>