Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have access to (but not root on) a compute server which is running a Linux distribution that is a few years old. I'd much prefer to use a current Debian-like flavor.

Thus, I'm wondering if it is possible to install Ubuntu (or stock Debian) in one of my directories, and use the Ubuntu programs and libraries in preference to what comes with the server.

I would need to access arbitrary parts of the server's filesystem, not just the parts under the Ubuntu install.

I log in by SSH, so there's no desktop environment needed. But, I would like to be able to use X programs.

share|improve this question
add comment

1 Answer

Without root access, I doubt it. You can chroot on a broken Linux installation (for example a non-working grub) to try to repair it, but you won't have access to anything "physical" without a mount --bind to host's /proc, /dev and /sys directories. And these kinds of mount require root access.

A virtual machine should be your option if you are not root.

share|improve this answer
    
OK, but what if I don't wish to chroot? Can I install the stuff and then adjust my $PATH and other environment variables to prefer it to the system stuff? –  Reid Sep 14 '12 at 20:11
add comment

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.