手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

redhat/centos系统下将rpm包安装到指定目录

时间:2024-10-12 15:28:20

1、比如安装xxx.rpm包,以relocate 参数进行安装,安装到/opt/temp目录:rpm -ivh --relocate /=/opt/temp xxx.rpm;以prefix进行安装:rpm -ivh --prefix= /opt/temp xxx.rpm

© 手抄报圈