Operating System - HP-UX
1834150 Members
2861 Online
110064 Solutions
New Discussion

Listing third party software and versions

 
SOLVED
Go to solution
Chuck Ciesinski
Honored Contributor

Listing third party software and versions

To all,

As I recall, swlist -l product, will give me the HP software installed, my brain has frozen and I can't remember the command for listing third party software and that version information. Is there a quick command syntax, which won't kill trees, for getting such info?

I'm also looking for a similiar command for OpenVMS and Windows2000/Server.

Any and all help is deeply appreciated.

TIA,

Chuck ciesinski
"Show me the $$$$$"
6 REPLIES 6
Jeff_Traigle
Honored Contributor
Solution

Re: Listing third party software and versions

Unless the third-party software was packaged in SD-UX, I don't know of any command that will list it. If you install third party software from a tarball or its own installation program, there's nowhere that gets registered centrally.

Basically, if it's not installed from an SD-UX package, you just need to know it's there.

Unless maybe if it was packaged with RPM, which I seem to recall was installed on HP-UX systems at my previous assignment... anything installed via that would show up with "rpm -aq". (I think those are the correct options. I never did much with RPM on my Linux box at home when I was running it.)
--
Jeff Traigle
harry d brown jr
Honored Contributor

Re: Listing third party software and versions

Are you thinking of this?

pkg-config --list-all

live free or die
harry d brown jr
Live Free or Die
Bharat Katkar
Honored Contributor

Re: Listing third party software and versions

Hi,
swlist will only show the softwares installed those were recorder in IPD (Installed Products Database) maintaiined by swagent.

Other way that i would do is try to remember any one of the file from the package and use "whereis filename" command. If it works mean we can assume that related software is installed.
It may not be the correct way but many times it will work.

Regards,
You need to know a lot to actually know how little you know
Rick Garland
Honored Contributor

Re: Listing third party software and versions

Something I always think about when installing software is whether or not a depot package exists for the software. Much easier to manage and remove if need be. I often think about installing software in which I compile on the HPUX box. Do I really need it? Very difficult to keep track of. Lots of rearch required if wanting to removing it.

Chuck Ciesinski
Honored Contributor

Re: Listing third party software and versions

To All,

My thanks for your comments and helpful suggestions. This group is truly amazing!!!

Thanks,

Chuck
"Show me the $$$$$"
Bill Hassell
Honored Contributor

Re: Listing third party software and versions

Generally, 3rd party software that is not packaged with SD will be stored in /usr/local or /usr/contrib. Sometimes the packager will create their own directory like /usr/local/myapp and the files under myapp will probably describe the package.

Still other packages will at least put the software in the 'correct' directory: /opt The /opt directory is where applications should exist.

A good plan is to *always* copy (hint: the command called "script" or copy-paste the window) the installation steps in anticipation of someday needing to duplicate the steps or reverse the steps to un-install.


Bill Hassell, sysadmin