Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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)?

share|improve this question

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).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.