Overview
- Package Introduction
- RPM Package Installation
- Yum Online Installation
- SOURCE Package Management
- Script installation Package
Package Introduction Package Classification
- SOURCE Package
- Binary package (RPM package, system default package)
RPM Package Installation
Mount the System CD:
Mkdir/mnt/cdromMount/dev/sr0/mnt/cdromcd/mnt/cdrom/packagesDependence
- Tree-dependent: C, a-B
- Ring-dependent: A, B, C, a
- Module dependency: Query website: www.rpmfind.net
Installation commands RPM-IVH Full-package-name
Options:
- -I (Install) installation
- -V (verbose) Show details
- -H (hash) Show progress
- --nodeps no dependency checking (actual environment disabled)
Upgrade command RPM-UVH Full-package-name
Options:
Uninstall command rpm-e Full-package-name
Options:
- -E (Erase) Uninstall
- --nodeps no dependency checking (actual environment disabled)
Query command
To query whether a package is installed:
rpm-q Full-package-name
To query all installed RPM packages:
Rpm-qarpm-qa | grep keyword
To query Package details:
Rpm-qi Package-name
Options:
- -I query Software information
- -p query For information about packages that are not installed
Query the RPM package file installation location
RPM-QL Full-package-name
Querying file installation locations where RPM packages are not installed
RPM-QPL Full-package-name
which RPM package the query file belongs to
RPM-QF File-name
Querying the dependencies of a package
RPM-QR Full-package-name
Options:
- -R Query Package dependencies
- -P query does not install package information
Yum Online Installation Yum Install Package-name
Options:
- -Y automatic installation, no need to confirm
Linux Software Installation