Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
yum install subversion

Scripts like the above has no control of where software will be installed.

How can I specify the installation path like --prefix when installing from source?

share|improve this question

No, it is not​.

share|improve this answer

What are you trying to do? In general you can't alter where individual packages dump their files.

You can make yum install/update a different root directory by using --installroot, which is useful for working with e.g. chroot environments.

share|improve this answer
Probably trying to mimic the rpm --prefix option. – Ignacio Vazquez-Abrams May 22 '10 at 23:39
@Ignacio Vazquez-Abrams ,that's right. – apache May 23 '10 at 1:36

Your Answer


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.