formats

Use CheckInstall When Installing From Source

Published on August 18, 2010, by + in linux.




Need to compile and install something from source? You should use checkinstall!

What is checkinstall?

CheckInstall creates a nice neat .deb (or rpm) of your sources which you can then easily install (and more importantly – easily UNinstall!).



First, install checkinstall:

sudo apt-get install checkinstall



Then when compiling from source, first begin the process as usual:

./configure



make



Finally at the last step, instead of issuing sudo make install, use:

sudo checkinstall



Appropriate debs are then created and installed on your system.



If you need to remove that package for any reason, you can use Synaptic or try this from the command line:

sudo dpkg -r mypackage



Sweet!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Home linux Use CheckInstall When Installing From Source