Install ports collection in OpenBSD

$ cd /tmp
$ ftp ftp://ftp.openbsd.org/pub/OpenBSD/4.0/ports.tar.gz
$ cd /usr
$ sudo tar xzf /tmp/ports.tar.gz

To install a package for the 4.1 release on an i386 machine off the ftp site (including dependencies), do:

# export PKG_PATH=ftp://openbsd.ftp.fu-berlin.de/pub/OpenBSD/4.1/packages/i386
    # pkg_add name.tgz

Ports and Packages Update for an OpenBSD Release

To grab the stable branch for the 4.1 release:

$ cd /usr/ports
    $ cvs -q -d anoncvs@openbsd.spline.de:/cvs up -r OPENBSD_4_1 -Pd

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)