≡ Menu

Solaris > Finding more information about packages

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

Share this on:

Your support makes a big difference:
I have a small favor to ask. More people are reading the nixCraft. Many of you block advertising which is your right, and advertising revenues are not sufficient to cover my operating costs. So you can see why I need to ask for your help. The nixCraft, takes a lot of my time and hard work to produce. If you use nixCraft, who likes it, helps me with donations:
Become a Supporter →    Make a contribution via Paypal/Bitcoin →   

Don't Miss Any Linux and Unix Tips

Get nixCraft in your inbox. It's free:



{ 0 comments… add one }

Leave a Comment