dpkg remove program
ref : https://www.howtogeek.com/229699/how-to-uninstall-software-using-the-command-line-in-linux/ dpkg --list and remove You can use the remove and force flags: $ sudo dpkg -r --force-all pkg_name Alternatively, if you installed it through Ubuntu Package Manager, you can remove it with apt: $ sudo apt remove --purge pgk_name Installing .deb debian package file in Ubuntu Double click the .deb file , it will be automatically opened with the GDebi Package manager and you can install it From command line , use this command to install a package . sudo dpkg -i PACKAGEFILE.deb Uninstalling a package in Ubuntu From command line, use this command sudo dpkg -r PACKAGENAME