- 论坛徽章:
- 0
|
linux下的rpm包在安装时如何来指定安装路径啊
rpm -ivh [install_options] package
以下的options是可完成你想方式.
--prefix <path>;
This sets the installation prefix to <path>; for
relocatable packages.
--relocate <oldpath>;=<newpath>;
For relocatable packages, translates the files that
would be put in <oldpath>; to <newpath>;.
--badreloc
To be used in conjunction with --relocate, this
forces the relocation even if the package isn't
relocatable.
--noorder
Don't reorder the packages for an install. The list
of packages would normally be reordered to satisfy
dependancies. |
|