http://tomoyamkung.net/2014/08/27/linux-git-install/
I installed Git from the source in CentOS with this reference. The latest version has been released this time, so I would like to update it, but I don't know how to uninstall Git from the source.
Could you tell me how to do it in detail?
git centos
I checked with my hand, but it seems that there is no make uninstall, so I have no choice but to erase it with my bare hands.
There may be other good ways, but after running make
using the referenced URL method, for example,
$mkdir/tmp/test_root
$ make prefix=/tmp/test_root install
For example, after installing it on /tmp/test_root, you should delete it while checking the find/tmp/test_root-type f
result file.(If you did not specify --prefix etc. at ./configure, it should be installed below /usr/local)
It's just a wild tar.gz, so it depends on the environment, but it might be okay to overwrite it with make install with the latest version of the sauce like a man.
Another way is to use the git command.git has the following options:
--exec-path
--html-path
--man-path
-- info-path
If you check the meaning of each option in mangit
,
$find$(dirname$(which git)) - name "git*" -ls
$ for opt in html man info exec
do
find"$(git--${opt}-path)"-name"git*"-ls
done
If so, I think I can check the installed file with low accuracy.For your information.
© 2024 OneMinuteCode. All rights reserved.