Here are the list of useful commands frequently used during package management.
Adds software packages to the system
Removes software packages from the system
Displays software package information
Checks the accuracy of a software package installation
So, we’ll take an example to use above commands. I’ve a package called SUNWant.Z, which I want to install.
So I use the following syntax to add a package.
pkgadd -d SUNWant.Z
To check whether your package has been installed, you can use pkginfo and grep the output to find a specific package.
pkginfo | grep SUNWant
To check the accuracy of the package, you can use pkgchk command as:
To remove above package, we have the pkgrm command to use:
Refer the Sun documentation for further details.