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…
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: https://rohlix.wordpress.com/2016/02/29/freebsd-handling-ports-and-binary-packages/
More from the author: https://rohlix.wordpress.com/2016/02/29/freebsd-acpi-shutdown/