关于rpm包的安装

橡皮擦 2012-10-09 02:15:26
小弟想在安装rpm包时指定一个目录, 这个目录用来存放一些数据, 这个目录是通过在shell中键入得到的,请问各位大牛, 我该怎么搞
...全文
124 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
LinuxMan 2012-10-19
  • 打赏
  • 举报
回复
--prefix
shichuan609 2012-10-15
  • 打赏
  • 举报
回复
带参数就好吧
--prefix=<dir> relocate the package to <dir>, if relocatable
--relocate=<old>=<new> relocate files from path <old> to <new>
--replacefiles ignore file conflicts between packages
--replacepkgs reinstall if the package is already present

http://easwy.com/blog/archives/change-rpm-package-installation-directories/
bonlog 2012-10-15
  • 打赏
  • 举报
回复
就是换一个安装目录对吗?
你后带参数即可

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧