Grimoire-
Command
.es

GNU+Linux command memo

checkinstall, installation tracker

Installer un programme à partir de ses sources, compilées localement, en étant sûr de pouvoir le désinstaller proprement ensuite.

$ cd $project_to_compile
$ ./configure
$ make
$ sudo checkinstall (1)
$ sudo dpkg -r $compiled_project_package_name (2)
1 Type checkinstall instead of make install to install your locally compiled program. It will create a .deb file and install it. The checkinstall command comes from its eponymous package.
2 Remove the installed program as usual under Debian based GNU+Linux distributions.