Install checkinstall by entering the following commands in the terminal:
sudo apt update sudo apt install checkinstall
Description:
installation tracker
CheckInstall keeps track of all the files created or modified by your installation script ("make install" "make install_modules", "setup", etc), builds a standard binary package and installs it in your system giving you the ability to uninstall it with your distribution's standard package management utilities.
Homepage: http://checkinstall.izto.org
Version: 1.6.2-4ubuntu2
Section: universe/admin