[Solved] How to view the contents of the .depot files

Hi,

I have one depot file. I would want to view the contents of this file with out extracting and with out installing in a machine. Like for

$rpm -qlp rpmfilename

will list out all the files in a rpm. Like I would want a command to view the files from a .depot file. I tried with swlist command. but I couldnt make this success.

HP-UX depots are just TARs with some additional information inside (much like the package format in Slackware Linux, or Solaris). Just run a

tar -tf /path/to/depot

on them and you should see all you need.

Thanks pludi. It works.

And I found it, using swlist command also,

swlist -l file -s filename.depot