First, installation
Command format:
Rpm-i (or--install) options file1.rpm ... filen.rpm
Parameters:
file1.rpm ... filen.rpm the name of the RPM package that will be installed
Detailed options:
-H (or--hash) output hash mark (' # ') at installation
The--test is only tested for installation and is not actually installed.
--percent the progress of the installation as a percentage.
--excludedocs does not install document files in the package
--includedocs Installation Documentation
--replacepkgs forced reinstallation of installed packages
--replacefiles replace files that belong to other packages
--force ignores package and file conflicts
--noscripts does not run preinstallation and post-Setup scripts
--prefix installs the package to the path specified by
--ignorearch does not verify the structure of the package
--ignoreos does not check the operating system on which the package runs
--nodeps does not check dependency relationships
--ftpproxy with as an FTP agent
--ftpport Specify the port number for FTP to
Common options
-V Display additional information
-VV Display Debugging Information
--root let rpm make the path specified by "root" so that both the preinstallation program and the post installer are installed in this directory
--rcfile set RPMRC file as
--dbpath Set the path of the RPM data inventory to
Second, delete
Command format:
RPM-E (or--erase) options pkg1 ... pkgn
Parameters
Pkg1 ... pkgn: packages to be removed
Detailed options
--test only test for deletion
--noscripts does not run pre-installation and post-Setup scripts
--nodeps does not check dependencies
Common options
-VV Display Debugging Information
--root let rpm make the path specified by "root" so that both the preinstallation program and the post installer are installed in this directory
--rcfile set RPMRC file as
--dbpath Set the path of the RPM data inventory to