Summary: List Software

From: Doug S Johnson <Doug_S_Johnson_at_raytheon.com>
Date: Fri Apr 26 2002 - 13:43:32 EDT
Most everyone suggested using pkginfo, but that still leaves compiled 
stuff and I`ll have to do some hunting around in some directories to find 
everything or most everything. Replies I received below.  Many thanks.

                                                                Doug
> -----Original Message-----
> From: Doug S Johnson [SMTP:Doug_S_Johnson@raytheon.com]
> Sent: Wednesday, April 24, 2002 4:33 PM
> To:   sunmanagers@sunmanagers.org
> Subject:      List Software
>
>         Is there any way to list all software installed on a machine 
with
> Solaris 7 or 8.  I know I can start admintool and browse to software but
> that appears to only be software from the install CD and things that 
were
> installed with pkgadd (Which file is read here?? I'd like to print it). 
I
>
> know there are things in /opt that aren't listed in admintool.
>
>         I might be out of luck for a complete list, but I want to be as
> precise as possible.  Need to provide a list for my security folks for
> quite a few machines.
>
>         There were a few folks before me and nothing was really
> documented.  Thanks.
>
>  Doug

____________

pkginfo will list all pkg format installed packages .
anything you compiled on your own will not be listed ;-(

Moti
_____________

For a listing of anything added via the package system:
        /usr/bin/pkginfo
(Easier than admintool, at least IMO).

For things not in the package system, you're probably stuck cataloging 
them
yourself.  There's no standard way to do it.  I guess I'd look in all the
'bin' directories - /usr/bin, /usr/local/bin, /usr/openwin/bin,
/usr/dt/bin, and anything under /opt ... and the sbin directories...
and some stuff could even be in /usr/libexec?

Heck, people stick stuff anywhere.  The stuff we have at my company is all
in /usr/local/pkg/{package_name} and then there's symlinks from the files
under there into /usr/local/bin, /usr/local/lib, and so forth.
_________

pkginfo

Mark Mcmanus
_________
Look at pkginfo. It can list all of the software installed using pkgadd, 
and
has a number of switches (check the man page). There really is no way to
list software installed by compiling the source. The best would be to give 
a
listing of the files in /opt and /usr/local

IHTH

Rainer Heilke
___________
pkginfo -l will list all packages install with pkgadd. The file this uses
is /var/sadm/install/contents

Otherwise you will need to use find. Perhaps you can diff this output from
/var/sadm/install/contents ???

Good luck...

-jed

____________

use:

pkginfo | grep -v system | grep -v ALE | grep -v CTL

Regards,
Alfredo
______________
Doug,

The pkginfo utility will list out packages installed on your system - use 
it
with the "-l"
flag to list "long" contents ....

regards

Rahul

Dan Lowe
______________

try pkginfo without any argument. I think this gives you the same list as
the full list in admintool.
Daniel
__________________

You can only list the software installed with pkgadd in this way; anything
done with make install or other installation scripts will not place a 
marker
in a central location.

admintool probably uses pkginfo, which reads the contents of the
/var/sadm/pkg directory.

John Riddoch



_____________
this makes a list

pkginfo > /tmp/pkginfo.lst
======================
Richard Eisenman
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Apr 26 17:40:35 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:41 EST