Merge from vendor branch BSDINSTALLER:
[dragonfly.git] / usr.bin / pkg_radd / pkg_radd.1
1 .\"-
2 .\" Copyright (c) 2007 The DragonFly Project.
3 .\" 
4 .\" All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions are met:
8 .\"
9 .\" - Redistributions of source code must retain the above copyright notice,
10 .\"   this list of conditions and the following disclaimer.
11 .\" - Redistributions in binary form must reproduce the above copyright notice,
12 .\"   this list of conditions and the following disclaimer in the documentation
13 .\"   and/or other materials provided with the distribution.
14 .\" - Neither the name of The DragonFly Project nor the names of its
15 .\"   contributors may be used to endorse or promote products derived
16 .\"   from this software without specific, prior written permission.
17 .\"
18 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 .\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 .\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 .\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
22 .\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23 .\" EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24 .\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
25 .\" PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
26 .\" LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27 .\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28 .\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 .\"
30 .\" $DragonFly: src/usr.bin/pkg_radd/pkg_radd.1,v 1.2 2008/02/08 10:41:43 swildner Exp $
31 .\"
32 .Dd January 3, 2008
33 .Dt PKG_RADD 1
34 .Os
35 .Sh NAME
36 .Nm pkg_radd
37 .Nd installs packages
38 .Sh SYNOPSIS
39 .Nm
40 .Ar package ...
41 .Sh DESCRIPTION
42 .Nm
43 acts as a wrapper for
44 .Xr pkg_add 1 .
45 It sets the
46 .Ev PKG_PATH
47 variable to the
48 .Dx
49 default
50 .Xr pkgsrc 7
51 binary package server or reads out a value from the global
52 .Pa /etc/settings.conf
53 config file.
54 All options passed to
55 .Nm
56 are passed to
57 .Xr pkg_add 1 .
58 .Sh EXAMPLES
59 The following is an example of a typical usage of the
60 .Nm
61 command:
62 .Pp
63 .Dl "# pkg_radd host"
64 .Pp
65 If you don't know which version of your desired package to install you can
66 use
67 .Xr pkg_search 1
68 to find the correct version.
69 .Pp
70 .Dl "# pkg_search fvwm2"
71 .Dl "# pkg_radd -v fvwm-2.4.20nb1"
72 .Sh SEE ALSO
73 .Xr pkg_add 1 ,
74 .Xr pkg_create 1 ,
75 .Xr pkg_delete 1 ,
76 .Xr pkg_info 1 ,
77 .Xr pkg_search 1 ,
78 .Xr pkgsrc 7
79 .Sh AUTHORS
80 .Nm
81 was written by
82 .An Simon 'corecode' Schubert Aq corecode@fs.ei.tum.de .
83 .Sh HISTORY
84 The
85 .Nm
86 utility first appeared in
87 .Dx 1.11 .