Sort sections in various manual pages.
[dragonfly.git] / usr.bin / pkg_radd / pkg_radd.1
CommitLineData
642f1a42
MS
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.\"
88d859b4 30.\" $DragonFly: src/usr.bin/pkg_radd/pkg_radd.1,v 1.2 2008/02/08 10:41:43 swildner Exp $
642f1a42
MS
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
43acts as a wrapper for
44.Xr pkg_add 1 .
45It sets the
46.Ev PKG_PATH
47variable to the
48.Dx
49default
50.Xr pkgsrc 7
22904266 51binary package server or uses the global
642f1a42 52.Pa /etc/settings.conf
22904266
SS
53config file to calculate
54.Ev PKG_PATH .
55In
56.Pa /etc/settings.conf ,
57set
58.Ev BINPKG_BASE
59to your favorite binary packages mirror URL to allow
60.Nm
61to automatically retrieve the latest set of binary packages for your
62.Dx
63release.
64If you want to use a specific set of packages, set
65.Ev BINPKG_SITES
66instead.
67.Pp
642f1a42
MS
68All options passed to
69.Nm
70are passed to
71.Xr pkg_add 1 .
72.Sh EXAMPLES
73The following is an example of a typical usage of the
74.Nm
75command:
76.Pp
77.Dl "# pkg_radd host"
78.Pp
79If you don't know which version of your desired package to install you can
80use
81.Xr pkg_search 1
82to find the correct version.
83.Pp
84.Dl "# pkg_search fvwm2"
85.Dl "# pkg_radd -v fvwm-2.4.20nb1"
22904266
SS
86.Pp
87Add the following line to
88.Pa /etc/settings.conf
89to fetch packages from the European mirror:
90.Pp
91.Dl "BINPKG_BASE=http://chlamydia.fs.ei.tum.de/pub/DragonFly/packages"
642f1a42
MS
92.Sh SEE ALSO
93.Xr pkg_add 1 ,
94.Xr pkg_create 1 ,
95.Xr pkg_delete 1 ,
96.Xr pkg_info 1 ,
97.Xr pkg_search 1 ,
98.Xr pkgsrc 7
642f1a42
MS
99.Sh HISTORY
100The
101.Nm
102utility first appeared in
103.Dx 1.11 .
a68e0df0
SW
104.Sh AUTHORS
105.Nm
106was written by
107.An Simon 'corecode' Schubert Aq corecode@fs.ei.tum.de .