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

What do you think about having a separate environment with it's own parsers (Python, Ruby) and different versions of them within a Linux distro. I'm sick of having to stick with distro's versions of these dependencies (eg.: Red Hat's old versions of PHP, Python, Ruby)

If you do that, how do you do? Do you use some tool like RVM for Ruby? Do you deploy using some package format (RPM, DEB, etc?). What issues do you encounter?

I may see some issues, but I never tested this approach myself to check those.


locked by HopelessN00b Jan 21 '15 at 8:54

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as primarily opinion-based by HopelessN00b Jan 21 '15 at 8:54

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

chroot could be used for this, but it requires duplicating all the dependencies and keeping them updated (though most package managers can install to specific directory, not necessarily "/") – Hubert Kario Oct 5 '10 at 18:19

Just install the custom ones into /OPT/ . Webhosts had different versions of php before and they have different versions of python. You could just call the different one using the shell script declaration like #!/opt/pytho3/python


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