Title : Display manually installed packages on FreeBSD 11
Date : 16 August 2017
Tags : freebsd11
If you want to show the packages installed manually (and not installed
as dependency of another package), you have to use "pkg query" and
compare if %a (automatically installed == 1) isn't 1. The second
string will format the output to display the package name:
$ pkg query -e "%a != 1" "%n"