Solaris > Finding more information about packages

by on February 1, 2005 · 0 comments· Last updated February 1, 2005

How to find what packages (software’s) installed?
1)Run the command pkginfo to find the information:
# pkginfo | more

2) Note that packages provided by SUN always have prefix SUNWpkgname

3 To find more about SSH Software’s:
# pkginfo | grep "SSH"

4) To print all available information about package (long format aka package description):
# pkginfo -l SUNWsshcu

Verify the package contents
1)You can use the command pkgchk as follows:
# pkgchk -l SUNWzip | more

How to verify that package installed successfully?
# pkgchk -v SUNWzip | more

OR

# pkgchk

If you run above command and something is missing then you will get on screen error:
# pkgchk -v SUNWzip | more
/usr
/usr/bin
ERROR: /usr/bin/zip
pathname does not exist
/usr/bin/zipcloak
/usr/bin/zipnote
/usr/bin/zipsplit



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 10 + 11 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.



Previous post:

Next post: