LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 03-26-2008, 11:51 AM   #1
dazdaz
Member
 
Registered: Aug 2003
Location: Europe
Distribution: RHEL, CentOS, Ubuntu
Posts: 333

Rep: Reputation: 17
Solaris tools to view files within a package


Hi,

How do I find out the files within a Solaris package using standard Solaris OS commands ?

Under Linux there are 2 methods that I would use to do this but I'm now in Solaris world :-)

Code:
 rpm -qpil filename.rpm
 rpm2cpio < BLAH-CC-LSF-5.1-14.i386.rpm | cpio -tv
Thanks
 
Old 03-26-2008, 12:09 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Assuming your package is in the filesystem format (eg. packages on the installation media):
Code:
cat <packageName>/pkgmap
If your package is in the datastream format, first convert it to the previous format:
Code:
pkgtrans <packageFile> /tmp
cat /tmp/<packageName>/pkgmap
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
view contents of a deb package kushalkoolwal Debian 3 05-18-2006 07:29 PM
From an end users point of view, What is Solaris. Optyx Solaris / OpenSolaris 7 03-07-2004 03:41 PM
wireless-tools package? brandonloserkid Linux - Wireless Networking 18 01-21-2004 05:39 PM
wireless tools package Indieguy Linux - Wireless Networking 3 03-08-2003 05:36 PM
I cannot view package athenerx Linux - Newbie 1 07-29-2001 03:22 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration