Introduction of Redhat installation of RPM package management tools

Source: Internet
Author: User
Tags ftp hash port number

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.