1

I'm trying to install checkinstall locally in my home directory. Though, in the INSTALL file is only described how to do a system wide installation:

Simple enough:

make
su
make install
checkinstall

Instead I'd like to use the configure script this way:

./configure --prefix=~/opt/
make
make install
checkinstall

but checkinstall distribution doesn't provide configure.

I think it's possible to do what I want meddling with make files.

1

The first few lines of the Makefile:

# Where to install.
PREFIX=/usr/local
BINDIR=$(PREFIX)/sbin
LCDIR=$(PREFIX)/lib/checkinstall/locale
CONFDIR=$(PREFIX)/lib/checkinstall

You just need to change the PREFIX:

PREFIX=/home/youruser/opt
  • A similar change should be made for installwatch/Makefile. – cartoonist Sep 27 '16 at 17:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.