Re: Finding installed software
- From: Richard.L.Hamilton@xxxxxxxxxxxxxxxxxx (Richard L. Hamilton)
- Date: Thu, 12 Jan 2006 20:37:56 -0000
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"
.
- References:
- Finding installed software
- From: nlaivlys
- Finding installed software
- Prev by Date: Re: inetconv and swat
- Next by Date: Re: Solaris 8 IP Address
- Previous by thread: Re: Finding installed software
- Next by thread: Cron problem under solaris 10 zone
- Index(es):
Relevant Pages
|
|