1

I need to install some software as user on a machine where I don't have root access.

So far I've been using gentoo-prefix, but ain't really fine with it: I need GCC 4.6 and gentoo only ships 4.5, I don't like having to compile everything, and I'm not a fan of gentoo and portage.

Is there any other option of doing that?
Something like a fakeroot wouldn't be enough?

peoro
  • 3,778

1 Answers1

1

If you are downloading a source of the GCC you can simply compile it and have it installed in your home directory.

./configure --prefix=$HOME/gcc-4.6

should do it.

Once you do that just make sure that $HOME/gcc-4.6/bin is in the path before /usr/bin or /usr/local/bin and $HOME/gcc-4.6/lib is added to your LD_LIBRARY_PATH environment variable.

Karlson
  • 5,875