问题
I had installed git by downloading the tar ball and then doing the following steps
./configure --prefix=/scratch/custom/git
make
make install
But after running these commands, I still see that git is created under /usr/local
as below
bash-4.1$ whereis git
git: /usr/bin/git /usr/local/git /usr/share/man/man1/git.1.gz
I would like to remove and reinstall again how do i do the same?
回答1:
If make unistall
doesn't work, as mentioned here, uninstalling on linux, try make install
again, capturing the output.
Then go through all of the install commands and manually remove the installed files.
Also, 'make -n` may help to determine all of the installed files.
来源:https://stackoverflow.com/questions/27324652/how-do-i-completely-uninstall-git-from-my-linux-machine