rag*_*jan 5 linux git bash github git-svn
我已经通过下载 tar ball 安装了 git,然后执行以下步骤
./configure --prefix=/scratch/custom/git
make
make install
Run Code Online (Sandbox Code Playgroud)
但是在运行这些命令后,我仍然看到 git 是在/usr/local下面创建的
bash-4.1$ whereis git
git: /usr/bin/git /usr/local/git /usr/share/man/man1/git.1.gz
Run Code Online (Sandbox Code Playgroud)
我想删除并重新安装,我该怎么做?
如果make unistall不起作用,如此处所述,在 linux 上卸载,然后重试make install,捕获输出。
然后执行所有安装命令并手动删除已安装的文件。
此外,“make -n”可能有助于确定所有已安装的文件。