I'm not that familiar with FreeBSD and have to search for answers on almost everything.
Some useful tips to help you start.
Search for a port
Code:
cd /usr/ports
make search name=[B]the pkg you want[/B]
or
Code:
whereis [B]the pkg you want[/B]
The second command is not needed to run it into /usr/ports.
Flags for a port (for example amsn) If "nothing to configure" that means that have no flags
Code:
cd /usr/ports/net-im/amsn
make config
Install a port (for example amsn)
Code:
cd /usr/ports/net-im/amsn
make install clean
ALWAYS run make clean to remove work folder before build it again!
or
Remove a package (for example amsn)
Code:
cd /usr/ports/net-im/amsn
make deinstall clean
or
and the exactly output of command
Remove everything related on amsn
-x tells it to search for any packages with "amsn" in the name
-f tells it to forcibly remove the package, even if there are other packages that depend on it
-r tells it to remove dependent packages as well
-i tells it to ask you whether or not to remove the package, before actually removing it, in case there are some you want to keep
(From Phoenix post)
Update your ports tree
Install the updates
Install specific updates (not all)
Clean your ports tree and useless distfiles
Copy a folder
Code:
cp -R [B]folder[/B] (and not [B]folder/[/B])
On BSD
folder from
folder/ is different
Find a package if is intalled on your system
Code:
pkg_info | grep [B]the package you want to search[/B]
Load a module (for example linux)
Unload a module
Update your system
Install updates
Upgrade your system
Code:
freebsd-update upgrade -r 8.1-RELEASE
Fix missing dependencies.
Notice: You must install portupgrade tool from ports first. Pkgdb is part of this tool.
I think this is the basics commands to save you from searching hours on google to find the right answer
