Linux Force Install RPM Package

Source: Internet
Author: User
The Linux normal installation RPM command is:
rpm -ivh xxx.rpm
To repeat the installation, you need to add attributes:
软件包重复安装将会失败,若仍需要安装必须加 --replacepkgs 属性 软件包的某个文件已在安装其他软件包时安装过,则安装将会失败,若仍需要安装必须加 --replacefiles  属性

Resolve Dependency Issues:

加上 --nodeps 属性,不考虑依赖关系
Mandatory installation:
加上 --force 属性,强制进行安装

However, this is generally not recommended, as it may cause other problems, and it is recommended to configure it as a Yum installation.

Linux Force Install RPM Package

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.