Installed software location (240 Views)
Reply
Highlighted
Regular Advisor
Posts: 145
Registered: ‎02-03-2006
Message 1 of 13 (240 Views)
Accepted Solution

Installed software location

Hi,

Anybody tell me the location, "where we will list the currently installed software for the local system"
Honored Contributor
Posts: 1,813
Registered: ‎04-04-2000
Message 2 of 13 (240 Views)

Re: Installed software location

Hi,

The actual location is /var/adm/sw/.

You can list the installed software with the swlist command.

# swlist -l product

Regards,
Robert-Jan
Honored Contributor
Posts: 4,194
Registered: ‎04-07-2005
Message 3 of 13 (240 Views)

Re: Installed software location

Hi,

You need to use # swlist -l product and # swlist -l file

to find out.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Honored Contributor
Posts: 1,367
Registered: ‎05-14-1996
Message 4 of 13 (240 Views)

Re: Installed software location

# swlist
Regular Advisor
Posts: 145
Registered: ‎02-03-2006
Message 5 of 13 (240 Views)

Re: Installed software location

There is a folder called DEPOT inside the

/var/adm/sw

anybody having idea
Trusted Contributor
Posts: 266
Registered: ‎01-05-2005
Message 6 of 13 (240 Views)

Re: Installed software location

it can be a source depot directory that is created by "swcopy".
Honored Contributor
Posts: 4,194
Registered: ‎04-07-2005
Message 7 of 13 (240 Views)

Re: Installed software location

Hi Susee,

You have to use # swlist

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Acclaimed Contributor
Posts: 24,035
Registered: ‎10-02-2001
Message 8 of 13 (240 Views)

Re: Installed software location

You can use the SD commands like swlist not only against the system itself, but also against depots and depot files.
Try

# swlist -s /var/adm/sw/DEPOT

to view the content.
If this is a valid depot, you even can remove software from this depot
# swremove -s /full_path_to_your_depot

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Honored Contributor
Posts: 14,414
Registered: ‎05-29-2000
Message 9 of 13 (240 Views)

Re: Installed software location

"Installed software" is a broad term. All HP software is packaged using the Software Distributor (SD) so swlist is the correct command. Howeverf, many vendors choose to ignore SD packaging and simply throw all the files into a tar file, and also fail to ask the admin where to store these files. There is no record of these packages. They might be stored in /opt (preferred location), /usr/local or /usr/contrib. If the software follows HP-UX startup standards, there will be a start/stop script in /sbin/init.d and occasionally, something may be installed in a / directory (the worst location).
Respected Contributor
Posts: 508
Registered: ‎01-30-2006
Message 10 of 13 (240 Views)

Re: Installed software location

description part of man swlist:
=================================================================================
DESCRIPTION
The swlist command displays information about software products
installed at or available from the specified target_selections. It
supports these features:

+ Specify bundles, products, subproducts, and/or filesets to
list.

+ Display the files contained in each fileset.

+ Display a table of contents from a software source.

+ Specify the attributes to display for each software object.

+ Display all attributes for bundles, products, subproducts,
filesets and/or files.

+ Display the full software_spec to be used with software
selections.

+ Display the readme file for products.

+ Display the depots on a specified host.

+ Create a list of products, subproducts, and/or filesets to use
as input to the other commands.

+ List the categories of available or applied patches.

+ List applied patches and their state (applied or committed).


=================================================================================
Be Tomorrow, Today.
Honored Contributor
Posts: 368
Registered: ‎06-10-2003
Message 11 of 13 (240 Views)

Re: Installed software location

Hi,
/var/adm/sw/products/

this dir is the database that cointains software information installed with swinstall command.

Enrico
Honored Contributor
Posts: 368
Registered: ‎06-10-2003
Message 12 of 13 (240 Views)

Re: Installed software location

What this DEPOT directory contains?

Probably this is a software o patch depot created with the swcopy command and leave in this directory after installed it.

Enrico

Regular Advisor
Posts: 145
Registered: ‎02-03-2006
Message 13 of 13 (240 Views)

Re: Installed software location

Thanks to All,

My Query is Cleared.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.