summaryrefslogtreecommitdiff
path: root/doc/gen/solv.1
blob: b61538d210f97d891c9c23005c989cc0c5800833 (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
'\" t
.\"     Title: solv
.\"    Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\"      Date: 07/19/2018
.\"    Manual: LIBSOLV
.\"    Source: libsolv
.\"  Language: English
.\"
.TH "SOLV" "1" "07/19/2018" "libsolv" "LIBSOLV"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
solv \- example package manager based on libsolv
.SH "SYNOPSIS"
.sp
\fBsolv\fR install [OPTIONS] PKG\&...
.sp
\fBsolv\fR erase [OPTIONS] PKG\&...
.sp
\fBsolv\fR list [OPTIONS] PKG\&...
.sp
\fBsolv\fR info [OPTIONS] PKG\&...
.sp
\fBsolv\fR search [OPTIONS] STRING\&...
.sp
\fBsolv\fR verify [OPTIONS] PKG\&...
.sp
\fBsolv\fR update [OPTIONS] PKG\&...
.sp
\fBsolv\fR dist\-upgrade [OPTIONS] PKG\&...
.sp
\fBsolv\fR repolist [OPTIONS]
.SH "DESCRIPTION"
.sp
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\&.
.PP
\fB\-\-root\fR \fIROOTDIR\fR
.RS 4
Install packages using
\fIROOTDIR\fR
as root of the filesystem\&. This also means that the package database of
\fIROOTDIR\fR
will be used\&.
.RE
.PP
\fB\-\-clean\fR
.RS 4
Also get rid of no longer needed packages when erasing, like libraries that have been used by the erased packages\&.
.RE
.PP
\fB\-\-best\fR
.RS 4
Force usage of the best package (normally the one with the highest version) for install and update operations\&.
.RE
.PP
\fB\-\-testcase\fR
.RS 4
Write a testcase after dependency solving\&.
.RE
.sp
The following options can be used to filter the packages\&. If the same option is used multiple times, the result is ORed together\&.
.PP
\fB\-i\fR
.RS 4
Limit the packages to installed ones\&.
.RE
.PP
\fB\-r\fR \fIREPO\fR
.RS 4
Limit the packages to the specified repository\&.
.RE
.PP
\fB\-\-arch\fR \fIARCHITECTURE\fR
.RS 4
Limit the packages to the specified package architecture\&.
.RE
.PP
\fB\-\-type\fR \fITYPE\fR
.RS 4
Limit the packages to the specified package type\&.
.RE
.SH "AUTHOR"
.sp
Michael Schroeder <mls@suse\&.de>