I have been reading and reading about this, but either I am not seeing the answer or it isn't documented where I have looked ...
Is there a reasonably simple way to display the top level packages currently installed on a system? When I say top level packages, I refer to the package name used in the pkg command that installed the package, so for instance a meta package name without having to see the many dependencies possibly pulled in? This should yield something like xfce4 as opposed to the pages of packages supporting it that were pulled in automatically? I seek to find a way to reconstruct an installation after the fact, and so need the names to be issued to "pkg install" to accomplish a reconstruction.
Did I miss something, or would this require a huge effort to accomplish ... even a fairly involved shell script would be fine with me. I just don't want to spend a lot of time and effort guiding a process by hand to do this.
Thanks for any guidance I can get on this.
QG
Is there a reasonably simple way to display the top level packages currently installed on a system? When I say top level packages, I refer to the package name used in the pkg command that installed the package, so for instance a meta package name without having to see the many dependencies possibly pulled in? This should yield something like xfce4 as opposed to the pages of packages supporting it that were pulled in automatically? I seek to find a way to reconstruct an installation after the fact, and so need the names to be issued to "pkg install" to accomplish a reconstruction.
Did I miss something, or would this require a huge effort to accomplish ... even a fairly involved shell script would be fine with me. I just don't want to spend a lot of time and effort guiding a process by hand to do this.
Thanks for any guidance I can get on this.
QG