Showing results for 
Search instead for 
Do you mean 

Installed software location

SOLVED
Go to Solution
Highlighted
Regular Advisor

Installed software location

Hi,

Anybody tell me the location, "where we will list the currently installed software for the local system"
12 REPLIES
Honored Contributor [Founder]

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 [Founder]

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

Re: Installed software location

# swlist
Regular Advisor

Re: Installed software location

There is a folder called DEPOT inside the

/var/adm/sw

anybody having idea
Trusted Contributor [Founder]

Re: Installed software location

it can be a source depot directory that is created by "swcopy".
Honored Contributor [Founder]

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 [Founder]

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 [Founder]

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 [Founder]

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 [Founder]

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 [Founder]

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

Re: Installed software location

Thanks to All,

My Query is Cleared.