Return to ports.html CVS log | Up to [local] / www |
version 1.35, 2000/07/27 17:02:06 | version 1.36, 2000/08/21 12:57:59 | ||
---|---|---|---|
|
|
||
<p> | <p> | ||
<strong><font color=#e00000> | <strong><font color=#e00000> | ||
Packages look like simple <code>.tar.gz</code> bundles, but they should | Packages look like simple <code>.tgz</code> bundles, but they should | ||
always be added using | always be added using | ||
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_add&sektion=1&format=html">pkg_add(1)</a>, | <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_add&sektion=1&format=html">pkg_add(1)</a>, | ||
as there might be some extra information that only | as there might be some extra information that only | ||
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_add&sektion=1&format=html">pkg_add(1)</a> | <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_add&sektion=1&format=html">pkg_add(1)</a> | ||
knows how to handle.</font></strong> | knows how to handle.</font></strong> | ||
Tip: you can distinguish between packages and <strong>.tar.gz</strong> bundles | Tip: you can distinguish between packages and <strong>.tgz</strong> bundles | ||
using | using | ||
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_info&sektion=1&format=html">pkg_info(1)</a>. | <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_info&sektion=1&format=html">pkg_info(1)</a>. | ||
|
|
||
</ul> | </ul> | ||
Adding a package is as easy as | Adding a package is as easy as | ||
<code>pkg_add pkgname.tar.gz</code>. | <code>pkg_add pkgname.tgz</code>. | ||
If you are grabbing packages off a single source (a package repository), | If you are grabbing packages off a single source (a package repository), | ||
set PKG_PATH to that repository URL. | set PKG_PATH to that repository URL. | ||
|
|
||
<pre> | <pre> | ||
# setenv PKG_PATH ftp://ftp.openbsd.org/pub/OpenBSD/2.7/packages/i386/ | # setenv PKG_PATH ftp://ftp.openbsd.org/pub/OpenBSD/2.7/packages/i386/ | ||
# pkg_add gimp-1.1.17.tar.gz | # pkg_add gimp-1.1.17.tgz | ||
</pre> | </pre> | ||
<h3><font color=#0000e0>Managing installed packages</font></h3> | <h3><font color=#0000e0>Managing installed packages</font></h3> |