Hi,
I've compiled WZ2100 from source on my Ubuntu computer, but I want to install it within my home directory so that it doesn't interfere with the Ubuntu package I have installed. Is there any way of doing this?
I've compiled using configure && make.
Thanks,
--James.
Change Linux install directory
-
stiv
- Warzone 2100 Team Member

- Posts: 876
- Joined: 18 Jul 2008, 04:41
- Location: 45N 86W
Re: Change Linux install directory
Distribution packages normally get installed into /usr. Add-on packages you compile yourself normally use /usr/local. You can change this by running ./configure --prefix=some-dir where some-dir is the base directory. example: ./configure --prefix=$HOME
./configure --help is your friend. It will also show you how to add a prefix or suffix to the executable name.
./configure --help is your friend. It will also show you how to add a prefix or suffix to the executable name.