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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.