VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Should I use Checkinstall or Make install?  (Read 1057 times)

tertm

  • Member
  • *
  • Posts: 2
Should I use Checkinstall or Make install?
« on: November 19, 2013, 08:32:12 am »

I am installing up to date wireless drivers for my card following these directions:

https://backports.wiki.kernel.org/index.php/Documentation

Code: [Select]
make help
make defconfig-help

If you use this option just use the 'make defconf-option' in replacement for make menuconfig above. For example to compile all DRM drivers:

# as a user
make defconfig-drm
make -j4
# as root
make install
It it better to use 'make install' or checkinstall?  What command do I use for checkinstall if that is the way to go?

Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3258
Re: Should I use Checkinstall or Make install?
« Reply #1 on: November 19, 2013, 10:56:23 am »

I would instead of make install with a DESTDIR setting.
right after "make -j4" # The "-j4" can be dropped btw,
do this
Code: [Select]
mkdir PKG
make DESTDIR=$PWD/PKG install
cd PKG
makepkg -l y -c n ../kernel_backports-<your_version_here>-i586-1vl70.txz
cd ..
installpkg *.t?z
If you ever need to uninstall, you can safely do removepkg kernel_backports