Article Title: use software package commands to manage Solaris software systems. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
All software to be installed as part of the operating environment is included in a compressed file called a package. The Solaris 10 software package provides a simple way to integrate application executable programs, configuration files, and documents published on other systems. In addition to the Solaris 10 software package, Solaris 10 also provides standard UNIx documentation and compression tools, such as Tar (Tape documentation) and compress. this article describes how to use the standard Command Line Interface (CLI) tool Solaris 10 to manage software packages, display package information, and uninstall software packages.
The Command Line Interface (CLI) tool commands on the Solaris 10 Command Line Interface include the following commands:
* Pkginfo command: Used to list information about installed software packages.
* Pkgadd command: Used to add and delete signed software packages;
* Pkgrm command: Used to delete unnecessary software packages.
* Pkgchk command: used to verify the integrity of installed software packages.
The following describes in sequence. There are also two uncommon commands:
* Pkgproto command: Create a principle file to describe the files contained in the software package.
* Pkgmk command: Create a package directory.
1. Use of the pkginfo command
You can use the pkginfo command to list information about installed software packages.
1. pkginfo command format:
Pkginfo-d device [-x | 1] [options] [pkg_name]
Main parameters:
-Q: Quiet Mode
-P: select some installation packages.
-I: Select All installation packages.
-X: compression list
-L: Long list
-R: Reallocation
-C: Directory [directory…]
-A: Structure
-V: Version
-D: Path of the device where the package is located
Pkg_name: package name
[1] [2] [3] [4] [5] [6] Next page