blob: 1ec46a03f57154e302f90bfe1fa2cf5cecc7beb5 (
plain)
1 ." Text automatically generated by txt2man-1.4.7
2 .TH pkg-get 8 "April 23, 2006" "" ""
3 .SH NAME
4 \fBpkg-get \fP- a package management tool for CRUX Linux
5 \fB
6 .SH SYNOPSIS
7 .nf
8 .fam C
9 \fBpkg-get\fP \fIcommand\fP <arguments> [\fIoptions\fP]
10 .fam T
11 .fi
12 .SH DESCRIPTION
13 \fBpkg-get\fP is a simple package management tool for CRUX Linux.
14 It tries to replicate some of the most useful features of the
15 port management tool \fBprt-get\fP(8) to be used with binary packages.
16 \fBpkg-get\fP requires a remote or local package repository that
17 can be generated by repository maintainers with the
18 \fBpkg-repgen\fP(8) script.
19 .SH COMMANDS
20 .TP
21 .B
22 install <package1> [<package2>..<packageN>]
23 Install given packages,
24 download if necessary.
25 .TP
26 .B
27 update <package1> [<package2>..<packageN>]
28 Update given packages,
29 download if necessary.
30 .TP
31 .B
32 diff
33 Show a list of outdated packages.
34 .TP
35 .B
36 quickdiff
37 Show a compact list of outdated packages.
38 .TP
39 .B
40 sysup
41 Update all outdated packages. Download if necessary.
42 .TP
43 .B
44 depinst <package1> [<package2>..<packageN>]
45 Install given packages
46 and relative dependencies.
47 .TP
48 .B
49 depends <package>
50 Show a recursive list of dependencies for package
51 and their installation status.
52 .TP
53 .B
54 dependent <package> [\fB--all\fP]
55 Show installed (or all with the \fB--all\fP option) packages
56 that depend from package.
57 .TP
58 .B
59 quickdep <package>
60 Show a brief list of dependencies for package.
61 .TP
62 .B
63 info <package>
64 Show information about package.
65 .TP
66 .B
67 current <package>
68 Show currently installed version of package.
69 .TP
70 .B
71 path <package>
72 Show local path of package.
73 .TP
74 .B
75 readme <package>
76 Print README information (if available) for the package.
77 .TP
78 .B
79 list
80 List all packages in the repository.
81 .TP
82 .B
83 listinst
84 List all installed packages.
85 .TP
86 .B
87 isinst <package>
88 Display whether a package is installed.
89 .TP
90 .B
91 dsearch <string>
92 Search for packages which name or description contain <string>.
93 .TP
94 .B
95 search <string>
96 Search for packages which name contains <string>.
97 .TP
98 .B
99 dup
100 List all duplicates ports (present in more than one repository).
101 .TP
102 .B
103 printf <format string1> [\fB--filter\fP=<filter>]
104 Description blatantly
105 stolen from prt-get man file. Print formatted port list. Format string can
106 contain variables, which are replaced like this:
107 .RS
108 .IP \(bu 3
109 %n -> name
110 .IP \(bu 3
111 %p -> path
112 .IP \(bu 3
113 %v -> version
114 .IP \(bu 3
115 %r -> release
116 .IP \(bu 3
117 %d -> description
118 .IP \(bu 3
119 %e -> dependencies
120 .IP \(bu 3
121 %u -> url
122 .IP \(bu 3
123 %R -> Readme ("yes"/"no")
124 .IP \(bu 3
125 %E -> pre-install script ("yes"/"no")
126 .IP \(bu 3
127 %O -> post-install script ("yes"/"no")
128 .IP \(bu 3
129 %M -> "Nobody". for compatibility with prt-get
130 .IP \(bu 3
131 %P -> "Nobody". for compatibility with prt-get
132 .IP \(bu 3
133 %l -> is locked ("yes"/"no")
134 .IP \(bu 3
135 %i -> "no" if not installed, "yes" if it's installed and up to
136 date and "diff" if it's installed and a new version is in the
137 repository.
138 .RE
139 .PP
140 Use "\\n" and "\\t" to format your output (no additional format
141 specified suported). The optional format string2 can contain the
142 same variables as format string1 and is used to sort the output.
143 You can specify a wildcard filter to filter by package name.
144 .TP
145 .B
146 lock <package1> [<package2>..<packageN>]
147 Lock a package (ignore updates).
148 .TP
149 .B
150 unlock <package1> [<package2>..<packageN>]
151 Unlock a package.
152 .TP
153 .B
154 listlocked
155 Display a list of locked packages.
156 .TP
157 .B
158 sync
159 Syncronize local packages with the ones from the remote repository.
160 If the repository is local, this \fIcommand\fP does nothing.
161 .TP
162 .B
163 sysup
164 Update all outdated packages.
165 .TP
166 .B
167 help
168 Display brief help screen.
169 .TP
170 .B
171 version
172 Show \fBpkg-get\fP version.
173 .SH OPTIONS
174 .TP
175 .B
176 \fB-r\fP <root>
177 Use <root> directory when wrapping pkgadd. Note that
178 this only works with update / install !
179 .TP
180 .B
181 \fB-do\fP
182 Download only. Applicable to: sysup, depinst, install, update.
183 .TP
184 .B
185 \fB-f\fP
186 Force installing / upgrading. This is passed to \fBpkgadd\fP(8).
187 .TP
188 .B
189 \fB-im\fP
190 Ignore md5sum mismatches.
191 .TP
192 .B
193 \fB--aargs\fP="arguments"
194 pass the specified arguments to \fBpkgadd\fP(8).
195 .TP
196 .B
197 \fB--config\fP=/path/to/file
198 Use the specified configuration file.
199 .TP
200 .B
201 \fB--pre-install\fP
202 executes pre-install script if available.
203 .TP
204 .B
205 \fB--post-install\fP
206 executes post-install script if available.
207 .TP
208 .B
209 \fB--install-scripts\fP
210 executes pre-install and post-install
211 scripts if available.
212 .RE
213 .PP
214
215 .SH CONFIGURATION
216 Configuration is handled by the /etc/pkg-get.conf file,
217 \fIoptions\fP are explained in the file itself.
218 .SH EXAMPLES
219 .TP
220 .B
221 \fBpkg-get\fP install sqlite pysqlite
222 Install sqlite and pysqlite.
223 .TP
224 .B
225 \fBpkg-get\fP depinst kdebase \fB-f\fP
226 Install kdebase and all its dependencies, forcing upgrade.
227 .TP
228 .B
229 \fBpkg-get\fP sysup \fB-do\fP
230 Download new releases of all the outdated packages.
231 .SH AUTHORS
232 Simone Rota <sip@varlock.com>
233 .SH SEE ALSO
234 \fBpkgadd\fP(8), \fBprt-get\fP(8)
|