Posted on Thu 21 May 2020
In Общие вопросы.
Often we install some software using make. It's not as convenient way of software installation as, say, apt-get, apt or dpkg. However, sometimes it's the only option.
And often after that we need to uninstall the software we just (or not just)
installed. It's ok if the maintainer created a way to uninstall his or her
piece of software like
make unsinstall option, but...
But don't worry, there is a way!
The way is to use CheckInstall package.
Before start installing new software from sources, install:
sudo apt install auto-apt
sudo apt-get install checkinstall
Of course, you need to do that just once.
Instead of installing software the usual way like
sudo make install
auto-apt run ./configure
checkinstall automatically calls
make install so don't worry about that.
Et voila, you've got your software installed!
checkinstall will tell you the name of the package it created in
case you'd like to uninstall the software.
And if you need to unsinsall it, then...
sudo dpkg -r package_name
Quite simple, isn't it?