From LedHed's Wiki
Revision as of 19:19, 1 October 2009 by Ledhed (Talk | contribs)

Jump to: navigation, search

Portsnap

Portsnap is used to update the FreeBSD ports tree

This will fetch a new copy of the ports tree

portsnap fetch

This will extract the new tree to /usr/ports

portsnap extract


Finding Ports

find /usr/ports/ -name <NAME OF PORT>*

or

locate <NAME OF PORT>


Installing Ports

cd /usr/ports/<CATEGORY>/<PORT>
make install clean


Removing Ports

cd /usr/ports/<CATEGORY>/<PORT>
make deinstall

Making Changes / Reinstalling Ports

cd /usr/ports/<CATEGORY>/<PORT>
make config
make deinstall ;; make reinstall


Clean Up

make clean

Resetting Configs

make rmconfig