Compilation Directory Still Exists#
After running make install, there will be an install_manifest.txt file in the directory that records all installed content
xargs rm < install_manifest.txt
Alternatively, `make uninstall`
, but this depends on whether the author has included the uninstall command in the Makefile.
Compilation Directory is Gone#
Download the current version of git again in a temporary folder, compile and install before uninstalling.
Recommendations for Compiled Software Installation#
Use -prefix with configure to Specify Path#
./configure --prefix=/usr/local/linuxidctest
All installed resource files will be placed in the /usr/local/linuxidctest directory.
Another benefit of using the --prefix option is for easy software uninstallation or portability.
When a software installation is no longer needed, simply deleting the installation directory will cleanly uninstall the software;
For portability, just copy the entire directory to another machine (under the same operating system).