I need to run a program on a linux machine, and the only one I have access to is my university’s server with (for some reason) outdated versions of autoconf and automake. My program needs more recent versions. I have the most recent versions of each on the server in my home directory, but can’t install them in /usr/local/bin since I’m not a root user. So I guess I have two questions:
- How to get autoconf/automake to install somewhere in my home directory? Is this possible?
- How to get a program to access these newer versions, instead of automatically calling the outdated ones?
Any help would be greatly appreciated.
My preferred method for this is to use GNU Stow to manage packages in my home directory. You can use
$HOMEor$HOME/usror whatever else. I think$HOME/usris probably best, as it stops stow from having to walk all over your homedir.So first you configure and install stow. Download and unpack it, then run something like:
Then you make stow stow itself:
Now you add
$HOME/usr/binto$PATH. Then you install autoconf. Unpack and cd into it, then run:Why do I do this? it lets me easily remove a package from my home directory without causing massive headaches:
cd ~/usr/stow && stow -D autoconf-2.69, for instance. I manage/usr/localin a similar fashion, but there I can get stow from apt, so there’s no bootstrapping trouble.