I'm looking to script use of rpm --relocate. How to change the default location packages are installed to - from user/local to $HOME/usr?

Do I need to do it all manually (removing and reinstaling to a new location)?


1 Answer 1


If the packages are already installed, yes you have to erase and reinstall using --relocate.

The --relocate operates only during installation (though there is no important reason that the relocated paths could not be changed after an install, just noone has bothered, its quite easy to erase and reinstall).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .