Sections
|
 |
 |
 |
The Ports Collection
What are ports?
Ports are third party software which haven't had the thorough security audit
as the native OpenBSD programs have had. The ports collection is installed
on your disk as a large tree of directories representing the various programs
with in them a Makefile which specifies the information needed to install
a particular port.
Installation of a program in /usr/ports:
- Retrieve /pub/OpenBSD/2.8/ports.tar.gz from the nearest
OpenBSD mirror.
- Install with:
cd /usr ; tar xvfz /tmp/ports.tar.gz
- Then
cd to the directory of port you'd like to install.
- Run
make as user root and the source tarball retrieval, unpacking,
configuration and compilation processes start automagically :-)
- Run
make install as user root to install the package.
- Afterwards, a .tgz binary package of the software you just compiled and
installed can be found in
/usr/ports/packages/arch/ which
you can use to speed up the installation process on other machines for
instance.
|