Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Wiki / Kb288

Kb288

Emulab FAQ: Software Setup: How to build FreeBSD ports

Emulab FAQ: Software Setup: How to build FreeBSD ports

The best way is to create a local copy of the ports tree for the appropriate version of FreeBSD you are running:

    VERS=6.2                   # or 4.10 or 5.4, whatever your version
    sudo mkextrafs /usr/ports  # need a large FS
    cd /usr
    sudo tar xzf /share/freebsd/$VERS/ports.tar.gz

Then you can just cd to some /usr/ports directory and "make ; make install" or use portupgrade if it is installed (should be on VERS <= 6.2)