As a purchaser of the OpenBSD CD-ROM you already have several popular ``packages'', the ``ports'' collection, and some of the ``ports'' source file releases. Installing applications from the CD-ROM package collection: The OpenBSD CD-ROM ships with several applications pre-built for various hardware architectures. The number of applications vary according to available disk space. Check the directory 2.6/packages/ to see which packages are available for your hardware architecture. To install one or more of these packages you must 1) become the superuser (root) 2) mount the appropriage CD-ROM 3) use the ``pkg_add'' command to install the software Example (in which we use su(1) to get superuser privileges, thus you have to be in group "wheel", see the manual page for su(1)). $ su Password: # mkdir -p /cdrom # mount /dev/cd0a /cdrom # cd /cdrom/2.6/packages/ # pkg_add -v # # umount /cdrom Your hardware architecture can be determined by issuing the command ``arch''. The response will be something like ``OpenBSD.sparc''. ``sparc'' is the architecture. Package names are usually the application name and version with .tgz appended, e.g. emacs-20.3.tgz Installing applications from the ftp.openbsd.org package collection: All packages have been placed on ftp.openbsd.org in the directory pub/OpenBSD/2.6/packages// where is the supported hardware architecture. You may want to peruse the directory for your architecture to see what packages are available. The packages are also on the OpenBSD FTP mirror sites. See http://www.openbsd.org/ftp.html for a list of current ftp mirror sites. Installation of a package is very easy. 1) become the superuser (root) 2) use the ``pkg_add'' command to install the software ``pkg_add'' is smart enough to know how to download the software from the OpenBSD ftp server. Example: $ su Password: # pkg_add -v ftp://ftp.openbsd.org/pub/OpenBSD/2.6/packages//emacs-20.3.tgz Note: there are both USA and INTERNATIONAL versions of ssh and pgp on the ftp server. Be sure to grab the correct version. The USA versions, ssh-1.2.26-usa.tgz and pgp-2.6.3-usa.tgz, use RSAREF, a legal requirement for use within the United States due to patent issues. Packages available include: 9menu-1.5.tgz ADMsmb-0.2.tgz ADMsnmp-0.1.tgz ImageMagick-4.2.8.tgz LPRng-3.5.1.tgz ORBit-0.4.96.tgz PGPlib.tgz SSLeay-0.9.0b.tgz TclXML-1.1.1.tgz WindowMaker-0.61.0.tgz Wingz-142.tgz XPostitPlus-2.3.tgz Xaw3d-1.5.tgz aalib-1.2.tgz acroread-4.0.tgz afm-1.0.tgz afterstep-1.0.tgz agm-1.3.1.tgz agrep-2.04.tgz amanda-2.4.1p1.tgz amaya-2.1.tgz amaya-english-dict.tgz amaya-french-dict.tgz amp-0.7.6.tgz an-0.93.tgz analog-3.32.tgz arc-5.21e.tgz archie-1.4.1.tgz arpwatch-2.1a4.tgz asclock-1.0.tgz astrolog-5.30.tgz aterm-0.3.6.tgz aub-2.0.5.tgz autoconf-2.13.tgz automake-1.4.tgz bash-1.14.7.tgz bash-2.03.tgz bclock-1.0.tgz beav-1.40.7.tgz bind-8.2.2-t4b.tgz bing-1.0.4.tgz bison-1.27.tgz bitchx-75p3.tgz blackbox-0.51.3.1.tgz bladeenc-0.85.tgz blast-1.0.tgz bochs-990219a.tgz boehm-gc-4.12.tgz bonnie-1.0.tgz bounix-1.21.tgz bpl+-1.0.tgz btoa-5.2.1.tgz buffer-1.17.tgz bytebench-3.1.tgz bzip-0.21.tgz bzip2-0.9.5d.tgz c2html-0.6.1.tgz cbb-0.73.tgz cdrecord-1.6.1.tgz cfengine-1.4.12.tgz cgoban-1.9.8.tgz clog-1.6.tgz common-1.0.6.tgz communicator-4.61.tgz compface-1.0.tgz connect4-3.2.tgz cops-1.04.tgz crack-5.0.tgz ctwm-3.5.tgz cucipop-1.31.tgz ddd-3.1.6.tgz deco-3.8.tgz dejagnu-1.3.tgz delay-1.2a.tgz dgpsip-1.28.tgz dialog-0.6z.tgz docbook-3.0.tgz dopewars-1.4.4.tgz dxpc-3.7.0.tgz electricfence-2.0.5.tgz elm-2.4ME+32.tgz emacs-20.3.tgz emiclock-1.0.2.tgz enlightenment-0.15.5.tgz enscript-1.6.1.tgz epic4pre2.004-19990927.tgz erlang-47.4.0.tgz es-0.9a1.tgz esound-0.2.15.tgz ethereal-0.7.5.tgz exim-2.12.tgz fetchmail-5.1.1.tgz fnlib-0.4.tgz fragrouter-1.6.tgz freeciv-1.8.1.tgz freefonts-0.10.tgz freetype-1.2.tgz freeze-2.5.tgz fxtv-0.48.tgz gated-3.5.11.tgz gd-1.6.3.tgz gdbm-1.8.0.tgz getbdf-1.0.tgz gettext-0.10.35.tgz ghostscript-5.10.tgz ghostview-1.5.tgz gicq-0.33.tgz gif2png-0.7.tgz giflib-4.1.0.tgz giftrans-1.12.tgz gimp-1.1.9.tgz glib-1.2.4.tgz gmake-3.77.tgz gnuchess-4.0.79.tgz gnugo-2.4.tgz gnuls-4.0.tgz gnupg-1.0.0.tgz gnuplot-3.7.tgz gnushogi-1.2.3.tgz gofer-2.30a.tgz gperf-2.7-19981006.tgz gqmpeg-0.6.3.tgz gqview-0.7.0.tgz gsl-0.3b.tgz gsm-1.0.10.tgz gtk+-1.2.4.tgz gtkglarea-1.2.1.tgz guavac-1.2.tgz guile-1.3.tgz gv-3.5.8.tgz h-2.03.tgz ha-0.999b.tgz hexedit-1.1.0.tgz html-4.0b.tgz httptunnel-2.0.tgz icb-5.0.9.tgz icmpinfo-1.11.tgz icon_interp-9.3.2.tgz icon_lib-9.3.2.tgz id-utils-3.2d.tgz idiff-1.0.tgz idled-1.16.tgz imm-3.5a1.tgz indent-2.2.2.tgz iozone-3.9.tgz irc-2.10.1.tgz ircII-4.4.tgz ircii-2.8.2-epic3.004.tgz ish-1.11.tgz iso12083-1993.tgz ja-jvim-2.0r.tgz ja-kterm-6.2.0.tgz ja-less-332-248.tgz jade-1.2.1.tgz jbigkit-1.0.tgz jed-0.99.9.tgz jive-1.1.tgz joe-2.8.tgz john-1.6.tgz jove-4.16.tgz jpeg-6b.tgz kaffe-1.0.b4.tgz kermit-6.0.192.tgz lclint-2.4b.tgz leafnode-1.9.2.tgz lesstif-0.89.0.tgz lha-1.14f.tgz libPropList-0.8.3.tgz libaudiofile-0.1.9.tgz libggi-2.0b1.tgz libghttp-1.0.4.tgz libgii-0.1.tgz libicq-0.33.tgz libident-0.22.tgz libslang-1.3.9.tgz libtool-1.3.3.tgz libxml-1.0.0.tgz licq-0.61.tgz linuxdoc-1.1.tgz logsurfer-1.41.tgz lrzsz-0.12.20.tgz lynx-2.8.tgz lyx-1.0.0.tgz lzo-1.04.tgz m4-1.4.tgz malsync-1.6.tgz mawk-1.3.3.tgz metamail-2.7.tgz mgdiff-1.0.tgz mgetty-1.1.21.tgz mh-6.8.4.tgz micq-0.4.2.tgz mimepp-1.0.tgz minicom-1.82.1.tgz mirror-2.9.tgz mkhybrid-1.12b5.1.tgz mm-1.0.12.tgz mouseclock-1.0.tgz mp3encode-1.10.tgz mp3info-0.2.16.tgz mpack-1.5.tgz mpeg_lib-1.2.1.tgz mpeg_play-2.4.tgz mpegaudio-3.9.tgz mpg123-0.59q.tgz mrt-1.6.0a.tgz mtools-3.9.6.tgz mtr-0.41.tgz mutt-0.95.7i.tgz nasm-0.97.tgz navigator-4.61.tgz nbaudit-1.0.tgz ncftp-2.4.3.tgz nedit-5.0.2.tgz nessus-990201.tgz nethack-3.2.2.tgz netpbm-19940301.tgz netperf-2.1pl3.tgz netpipe-2.3.tgz netpipes-4.1.1-export.tgz netris-0.5.tgz newsfetch-1.21.tgz nfsshell-1.0.tgz ngrep-1.31.tgz nmap-2.3b6.tgz nmh-1.0.tgz nspmod-0.1.tgz nte-1.7.0.tgz ntop-1.1.tgz nulib-3.25.tgz ocaml-2.02.tgz p5-Compress-Zlib-1.01.tgz p5-DBI-1.13.tgz par-1.50.tgz pgaccess-0.88.tgz pgp-2.6.3.tgz pgp-intl-2.6.3.tgz pgp-usa-2.6.3.tgz pi-address-0.3.2.tgz piewm-1.0.tgz pilot_makedoc-0.7.tgz pine-4.10.tgz plor-0.3.2.tgz png-1.0.3.tgz popa3d-0.3.tgz popclient-3.0b6.tgz poppassd-4.0.tgz portscanner-1.0.tgz postfix-19990906-pl05.tgz prc-tools-0.5.0.tgz procmail-3.13.1.tgz python-1.5.tgz qpage-3.2.tgz queso-980922.tgz rat-3.0.tgz rc-1.6.tgz recode-3.5.tgz rplay-3.3.0.tgz rsaref-2.0.tgz rsync-2.3.1.tgz rtptools-1.9.tgz rtty-3.2.tgz rxp-1.0.9.tgz rxvt-2.6.1.tgz sam-4.3-19980506.tgz samba-2.0.5a.tgz sattrack-3.1.6.tgz screen-3.7.6.tgz scsh-0.5.1.tgz sdd-1.22.tgz sdr-2.7e.tgz sgmlformat-1.6.tgz sharutils-4.2.tgz shtool-1.4.6.tgz simh-2.3c.tgz slash-e8.tgz sliderule-1.0.tgz slirp-1.0c.tgz slrn-0.9.5.6.tgz smurflog-2.1.tgz sniffit-0.3.5.tgz socket-1.1.tgz sox-12.15.tgz speak_freely-7.1.tgz spice-3f5.tgz spider-1.1.tgz spiff-1.0.tgz splitvt-1.6.3.tgz squid-2.2.tgz ssh-intl-1.2.27.tgz ssh-usa-1.2.27.tgz ssl26.tgz sslUSA26.tgz starlanes-1.2.2.tgz stat-1.3.tgz stel.tgz strobe-1.06.tgz swatch-2.2.tgz swisswatch-0.06.tgz tar-1.13.tgz tcl-8.0.5.tgz tcpblast-1.0.tgz tcplist-2.2.tgz tcpshow-1.74.tgz tcs-19950325.tgz tcsh-6.09.00.tgz teTeX_base-1.0.6.tgz teTeX_texmf-1.0.tgz texi2html-1.52.tgz tiff-3.4b37.tgz timidity-0.2i.tgz tintin-1.5.6.tgz tircproxy-0.4.3.tgz tk-8.0.5.tgz tkcron-2.12.tgz tkcvs-6.0.tgz tkinfo-1.8.tgz tkman-2.0.6.tgz tosha-0.6.tgz tracker-5.3.tgz trafshow-3.1.tgz trans-1.20.tgz transfig-3.2.1.tgz transproxy-0.4.tgz ucd-snmp-3.6.2.tgz uemacs-4.0.tgz unace-1.2b.tgz unarj-2.43.tgz unrar-2.50.tgz unzip-5.40.tgz viewfax-2.3.tgz vim-5.5.tgz vnc-3.3.2r3.tgz vrfy-99.05.22.tgz waveplay-1.0.tgz wb-1.59.tgz wget-1.5.3.tgz wget-msgs-1.5.3-ru.tgz wide-dhcp-1.4.0.3.tgz wily-0.13.41.tgz wmx-5.0.tgz wterm-6.2.6.tgz x2x-1.27.tgz x48-0.4.0.tgz xaniroc-1.02.tgz xantfarm-1.16.tgz xarchie-2.0.10.tgz xbat-1.11.tgz xbatt-1.2.tgz xbattle-5.4.1.tgz xbl-1.0j.tgz xblast-2.6b.tgz xbmbrowser-5.1.tgz xboard-4.0.2.tgz xboing-2.4.tgz xcd-1.6.tgz xcdplayer-2.2.tgz xcept-2.1.2.tgz xchat-1.2.1.tgz xchomp-pl1.tgz xco-1.3.tgz xcoloredit-1.2.tgz xcolors-1.3.tgz xcopilot-0.6.6.tgz xcubes-5.4.4.tgz xcyrillic-1.1.tgz xdaliclock-2.11.tgz xdeblock-1.0.tgz xdelta-0.23.tgz xdino-5.4.4.tgz xearth-1.0.tgz xemacs-20.4.tgz xengine-1.0.1.tgz xephem-3.2.2.tgz xevil-1.5.tgz xfedor-1.0.tgz xfig-3.2.2.tgz xfishtank-2.2.tgz xfmail-1.3.tgz xfstt-0.9.10.tgz xgolgo-1.0.tgz xinvaders-2.0.tgz xjewel-1.6.tgz xjig-2.4.tgz xkobo-1.11.tgz xlife-3.0.tgz xloadimage-3.03.tgz xlogout-1.1.tgz xmahjongg-1.0.tgz xmake-1.01.tgz xminehunter-0.4.tgz xmix-2.1.tgz xml2rfc.tgz xmmix-1.2.tgz xmold-1.0.tgz xmp-1.1.5.tgz xmpeg3-1.0.tgz xmris-4.04.tgz xneko-4.4.tgz xntp3-5.93e-export.tgz xosview-1.7.2.tgz xpaint-2.5.5.tgz xpdf-0.90.tgz xphoon-91.9.18.tgz xpostit-3.3.1.tgz xprompt-1.4.tgz xripple-1.0.tgz xroach-4.4.tgz xruskb-1.9.3.tgz xscrabble-1.0.tgz xskat-3.2.tgz xsnow-1.40.tgz xsoldier-0.96.tgz xspread-2.1.tgz xtacy-1.13.tgz xtattr-1.0.tgz xteddy-1.0.tgz xtestpicture-1.1.tgz xtoolwait-1.1.tgz xv-3.10a.tgz xwpe-1.5.17a.tgz xzoom-0.3.tgz zap-1.1.tgz zip-2.2.tgz zoo-2.10.1.tgz zsh-3.0.6.tgz zsh-3.1.6.tgz Note: these packages may not exist for all architectures; other packages may be added. Installing applications from the CD-ROM ports collection: The CD-ROM ``ports'' collection is a set of Makefiles, patches, and other files used to control the building and installation of an application from source files. The source files come from archives which are also, for the most part, on the OpenBSD CD-ROM. Creating an application from sources can require a lot of disk space, sometimes 50 megabytes or more. The first step is to determine which of your disks has enough room. Once you've made this determination read the file README.ports on CD-ROM 2 to see how to copy or mount the ports directory. To build an application you must: 1) become the superuser (root) 2) mount CD-ROM number 2 on the directory /cdrom. This is necessary to find the application source files. 3) cd to the ports directory containing the port you wish to build. To build samba, for example, where you'd previously copied the ports files into the /usr/ports directory: cd /usr/ports/net/samba 4) make FETCH_SYMLINK_DISTFILES=YES 5) make FETCH_SYMLINK_DISTFILES=YES install 6) make FETCH_SYMLINK_DISTFILES=YES clean The FETCH_SYMLINK_DISTFILES=YES parameter tells make not to copy the application's distribution sources from the cdrom to your hard disk, but instead create a symbolic link pointing to the CD-ROM. This is done to conserve disk space. Installing applications from the OpenBSD ports collection: See http://www.openbsd.org/ports.html for current instructions on obtaining and installing OpenBSD ports. Installing other applications: If an OpenBSD package or port does not exist for an application you're pretty much on your own. The first thing to do is ask ports@openbsd.org if anyone is working on a port -- there may be one in progress. If no luck there you may try the FreeBSD ports or NetBSD package collection. If you are on an i386 based machine it is quite possible that the FreeBSD port, if one exists, will work for you. If you can't find an existing port try to make your own and feed it back to OpenBSD. That's how our ports collection grows. Some details can be found at http://www.openbsd.org/porting.html with more help coming from the mailing list, ports@openbsd.org.