Re: Finding installed software



In article <vilain-DCC1E7.19144911012006@xxxxxxxxxxxxxxxxxxxxxxxx>,
Michael Vilain <vilain@xxxxxxxxxxx> writes:
> In article <1137012186.823160.206380@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
> nlaivlys@xxxxxxxxx wrote:
>
>> I was wondering if there was an easy way to view all installed software
>> programs on a sun machine (for example, like Windows add/remove
>> programs feature - which shows you everything that has been installed
>> on your computer).
>>
>> I did find the pkginfo command - but that is only useful for installed
>> solaris software.
>>
>> Thanks,
>> S
>
> Unless all the software was installed using the Solaris package
> interface, you'll have to crawl around the filesystem and find it by
> hand. There's no registry to look it all up. When I inherit a Solaris
> box to admin, I like to do a complete audit of the hardware, software,
> and accounts. Many times, any sort of documentation of what's on the
> system and why is non-existant. Or the person that would know why that
> directory last touch on 4-Dec-1995 has an old version of Acrobat
> Distiller and asks for a license when you try and run it.

In principle, in addition to running pkgchk and such to validate package
contents are as expected, one could write a program (or perl script?)
that produces information equivalent to what /var/sadm/install/contents
contains, and then compares the two, to report all files that are _not_
part of any package. One would presumably want to add a mechanism
for excluding home directories and other directories that are expected
to contain unmanaged files.

Has anyone done something along those lines?

--
mailto:rlhamil@xxxxxxxxx http://www.smart.net/~rlhamil

Lasik/PRK theme music:
"In the Hall of the Mountain King", from "Peer Gynt"
.



Relevant Pages

  • Re: XDMCP on Solaris 9
    ... >Cygwin/XFree86 and I can't seem to figure out what the problem is. ... >I've checked to make sure a font server is running on the Solaris box: ... >Platform minimum required Fonts Package ...
    (comp.unix.solaris)
  • Reinstalling OS Service on a Server with Patched OS Service
    ... After initial install and setup of a Solaris 7 sun4m server, ... Now I try to reinstall the OS service from the Solaris 7 CD-ROM with the ... patched resulting in being different than the package on your media. ... You will have to backout all patches that patch this package before ...
    (SunManagers)
  • Re: zfs on FreeBSD
    ... >> 'portinstall postfix' etc. on FreeBSD. ... > software repositories for Solaris. ... but installing packages was error-prone and I had ... to use Sun's studio compiler for one package and gcc for another. ...
    (freebsd-stable)
  • Re: LVM overview
    ... Veritas Volume Manager has a GUI that allow you to point and click to ... It's intended for medium to large storage ... Sun used to package VxVM with their storage arrays. ... Solaris is command-line. ...
    (comp.unix.solaris)