Re: List of installed software packages: pkg_info?



"Marco S Hyman" <marc@xxxxxxxxx> schreef in bericht
news:x7ejk2l586.fsf@xxxxxxxxxxxxxxxxx
"Siem Korteweg" <siem@xxxxxxxxx> writes:

I guess that recording the versions of the base system is not
feasable.Siem Korteweg


$ for f in /bin/*; do do ident $f; done

Repeat for /sbin, /usr/bin, /usr/sbin, /usr/libexec. You now have
the versions of the software
Thanks for this hint, I will add this to my code. It allows detailled
comparing of the configuration of systems.

$ ls -l /usr/lib | grep so

That gives you the versions of the shared libs.
I noticed that my current code used an option for ldconfig that is
unknown for OpenBSD. I will correct this and then ldconfig results in
the same data as ls /usr/lib | grep so

Siem Korteweg


.