Is there any way to remove a program and all of its executable files and docs that have installed from a .tar.gz file (for example on an Arch Linux)
by :
./configure
make
make install
Answer : I thought always there is a short way to uninstall all the programs that were installed from a source, no matter who wrote them (and how), but apparently, sometimes there is no way (except manually )and this may be the reason to build a package manager.
PREFIX=
to install to /usr/local or /opt . If you just installed it to your system you may overwrite system files installed and managed by yoru package manager, apt with ubuntu. If the package maintaner was kind there is a clean and/or uninstall in the make file. If not you would manually find and remove the files. – Panther Mar 13 '18 at 15:07