I need to install redis 2.8.x into a specific directory so I can later use fpm to create an rpm.
From my research, it seems that this should be possible by using make PREFIX=
mkdir /tmp/installdir
cd /tmp
wget http://download.redis.io/releases/redis-2.8.6.tar.gz
tar -xvf redis-*.tar.gz
cd redis-2.8.6
make PREFIX=/tmp/installdir
make install
I expect the binaries to be placed in /tmp/installdir, unfortunately that directory remains empty. It seems PREFIX=/tmp/installdir
is being ignored.
Normally I would run ./configure --prefix=/tmp/installdir
however because the download does not contain source code, there is no configure
file.
How can I install software to a non standard directory?
Best Answer
I was successful by prefixing
and
to check what happens, use
-n