Quote:
Originally Posted by ocicat
While script(1) is a very handy tool which can be used to determine what packages have been installed, pkg_info(1) provides the same information more succinctly; no need to sift through the reams of output collected by script(1)(1).
|
I agree that pkg_info is the preferred and direct method for getting the info in question. But that does assume that you know what packages have been installed, doesn't it? The point I was trying to add is that sometimes a lot of stuff gets installed recursively as dependencies, and unless you're a speed reader with photographic memory
you may not know all of which packages were installed
on this occasion. script helps me deal with that. As a side-benefit the install messages are right there. Of course, you don't have to read them from the typescript, you could note which packages had messages and then read them with pkg_info, but that would be a bit too circuitous for me.