This short tutorial by user rohlix shows us how to install packages, Portmaster (a tool to manage ports), as well as other tips and tricks. Follow the link below for the full instructions.

FreeBSD has several options how to install software and manage it…
Binary Packages

Pretty straightforward usage of pkgng is as follows:

# pkg update
# pkg upgrade
# pkg search PACKAGE
# pkg install PACKAGE
# pkg remove PACKAGE

Very usefull is using the info parameter:

# pkg info PACKAGE

which displays, for instance, “Options” and “Shared Libs required” which was the package compiled with ….

Full tutorial:
More from the author: