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 Answer 1

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
1
  • A similar change should be made for installwatch/Makefile.
    – cartoonist
    Commented Sep 27, 2016 at 17:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .