Ubuntu CheckInstall
This is primarily a note to myself so I don’t forget in the future or file away my notes into my filing system (aka the rubbish bin) and lose them.
You can use the checkinstall command like so:
sudo checkinstallinstead of the more traditional:
sudo make install
when installing self compiled packages. This will allow the Ubuntu packaging system to keep track of what was installed and allows easy removal in the future if you decide that you want to get rid of that particular item.
More information can be found in the Ubuntu Documentation: