rpm -Uvh --replacepkgs *.rpm
时间: 2023-10-28 10:06:17 浏览: 94
引用:下载该压缩包,在centos7,执行以下命令,用rpm安装yum软件 rpm -Uvh --replacepkgs lvm2-python-libs*.rpm --nodeps --force ...rpm -Uvh --replacepkgs rpm-python*.rpm yum*.rpm --nodeps --force。
根据引用中的命令,"rpm -Uvh --replacepkgs *.rpm"用于使用RPM来安装或更新软件包。其中,-U参数用于更新软件包,-v参数用于显示详细信息,-h参数用于显示安装进度。--replacepkgs参数用于替换已经安装的软件包。而*.rpm是通配符,代表可以安装或更新多个RPM软件包。此命令将替换已经安装的软件包,即使它们是相同版本的软件包。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [rpm_yum.tar.gz](https://download.csdn.net/download/as4589sd/12853619)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [LINUX学习基础篇(十五)软件包管理](https://blog.csdn.net/qq_29021545/article/details/122499335)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文