| Commit | Line | Data |
|---|---|---|
| 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 | |
| 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 | |
| 22904266 | 51 | binary package server or uses the global |
| 642f1a42 | 52 | .Pa /etc/settings.conf |
| 22904266 SS |
53 | config file to calculate |
| 54 | .Ev PKG_PATH . | |
| 55 | In | |
| 56 | .Pa /etc/settings.conf , | |
| 57 | set | |
| 58 | .Ev BINPKG_BASE | |
| 59 | to your favorite binary packages mirror URL to allow | |
| 60 | .Nm | |
| 61 | to automatically retrieve the latest set of binary packages for your | |
| 62 | .Dx | |
| 63 | release. | |
| 64 | If you want to use a specific set of packages, set | |
| 65 | .Ev BINPKG_SITES | |
| 66 | instead. | |
| 67 | .Pp | |
| 642f1a42 MS |
68 | All options passed to |
| 69 | .Nm | |
| 70 | are passed to | |
| 71 | .Xr pkg_add 1 . | |
| 72 | .Sh EXAMPLES | |
| 73 | The following is an example of a typical usage of the | |
| 74 | .Nm | |
| 75 | command: | |
| 76 | .Pp | |
| 77 | .Dl "# pkg_radd host" | |
| 78 | .Pp | |
| 79 | If you don't know which version of your desired package to install you can | |
| 80 | use | |
| 81 | .Xr pkg_search 1 | |
| 82 | to find the correct version. | |
| 83 | .Pp | |
| 84 | .Dl "# pkg_search fvwm2" | |
| 85 | .Dl "# pkg_radd -v fvwm-2.4.20nb1" | |
| 22904266 SS |
86 | .Pp |
| 87 | Add the following line to | |
| 88 | .Pa /etc/settings.conf | |
| 89 | to 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 |
| 100 | The | |
| 101 | .Nm | |
| 102 | utility first appeared in | |
| 103 | .Dx 1.11 . | |
| a68e0df0 SW |
104 | .Sh AUTHORS |
| 105 | .Nm | |
| 106 | was written by | |
| 107 | .An Simon 'corecode' Schubert Aq corecode@fs.ei.tum.de . |