1826389 Members
4227 Online
109692 Solutions
New Discussion

swlist

 
SOLVED
Go to solution
Ross Minkov
Esteemed Contributor

swlist


1. How can I get the list of all files to be installed and check where the files are going to be installed (/usr/local, /opt, etc.) before swinstalling them.

2. Same question, but after something was installed?

TIA,
Ross
6 REPLIES 6
Mehdi_1
Regular Advisor

Re: swlist

Hi

I use:

tar -tvf yourfile.depot

That give me the list of the file ab=nd where they are to be installed.


Mehdi
Steven E. Protter
Exalted Contributor

Re: swlist

swlist -v

swlist -a path

Second one seems right.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Patrick Wallek
Honored Contributor

Re: swlist

If you use the swinstall TUI or GUI you can select what you are installing and hit return or double click on the product / package and it will go down through the various components of the product and eventually allow you to get down to the file level.
John Dvorchak
Honored Contributor
Solution

Re: swlist

And the second part of your question:

swlist -l file depot_content_name | more

Where depot_content_name would be something like this. If you were installing HP Apache then no matter what the depot was called it would be the package name ie:


#swlist |grep -i apache
B9416AA 2.0.43.00.05 HP Apache-based Web Server

Then you would run:

swlist -l file B9416AA | more


If it has wheels or a skirt, you can't afford it.
Pramod_4
Trusted Contributor

Re: swlist

Before Install:

Depot file for the product/bundle "ABCD" on local server as /tmp/ABCD.depot

swlist -l file ABCD -s /tmp/ABCD.depot

Product/bundle "ABCD" is on an ignite server "xyz" in SW depot /swdepot/apps

swlist -l file ABCD -d @ xyz:/swdepot/apps

After install:

swlist -l file

Thanks,
Pramod
Ross Minkov
Esteemed Contributor

Re: swlist

thanks for your help