I using solaris 10 and i have a pkg files how can i list out the its contents?
|
feedback
|
|
A list of the (to be installed) files can be displayed using the pkgchk command:
If the pkg file has contains more than one package, you will be prompted. e.g.
The pkgtrans command can change the entire package from datastream to file system fomat if the -i option is not used. This can be helpful if you want to see the actions that occur after the package is installed onto a system. e.g:
| |||
|
feedback
|
|
Unfortunately the Solaris package management system doesn't make this easy. You could try the following:
This will extract the pkginfo and pkgmap (list of files) files to /var/spool/pkg/package_name. You could review them there. | |||
|
feedback
|
|
I get the package content through the command below:
| |||
|
feedback
|