RSS

Tag Archives: make

make some code!

If you know this pattern:

./configure
make
sudo make install

you know how to build and install something in your computer.

Maybe you also know that it’s better to keep the folder you used to build, because you can do:

sudo make uninstall

and – if you’re lucky – the compiled software will be removed from your pc.

There’s a better way to do that.
There is a utility that generates a (Slackware, RPM, or Debian) package of your software and install this package using the package manager:

./configure
make
sudo checkinstall

You will be able to uninstall the software using your package manager, this way. No more “whereis / locate”, no more “rm -rf”, no more dangling references.

Further readings on http://www.asic-linux.com.mx/~izto/checkinstall/ and https://help.ubuntu.com/community/CheckInstall

Advertisements
 
Leave a comment

Posted by on 2014/05/23 in dev

 

Tags: , , , , ,