Installing a package, verifying its content, and fixing the package corruption

This time, we have sufficient conditions to install a package and verify its contents, and if we find a problem with any package, we are able to fix it. This is an exciting section because it will introduce us to many useful commands, and all of them are used in day-to-day Solaris 11 administration.

Getting ready

We'll learn the next procedure using the nmap package, but the same can be done using any other Solaris 11 package.

How to do it…

We execute the following command:

root@solaris11:~# pkg install -v nmap Packages to install: 1 Estimated space available: 71.04 GB Estimated space to be consumed: 51.67 MB Create boot environment: No Create backup boot environment: No ...

Get Oracle Solaris 11 Advanced Administration Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.