12
8
I compiled and installed vim according to these instructions https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source
But After installing I deleted the source directory So,How do I uninstall vim now ?
I am using Ubuntu 13.04
12
8
I compiled and installed vim according to these instructions https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source
But After installing I deleted the source directory So,How do I uninstall vim now ?
I am using Ubuntu 13.04
15
To uninstall vim, you can just download again the sources and run in the source directory :
make VIMRUNTIMEDIR=/usr/share/vim/vim73
sudo make uninstall
replacing /usr/share/vim/vim73
by the one you used for installation.
Also works for Ubuntu 14.04. Thanks! – marcelocra – 2016-12-22T01:07:57.270
i did just that .But it didn't remove vim .I can still use vim.Here is the output when i run sudo make uninstall http://paste.ubuntu.com/5903278/
– ka4tik – 2013-07-23T07:54:33.277@ka4tik indeed, you need to set again the VIMRUNTIMEDIR
variable. I'll edit my answer. – Levans – 2013-07-23T07:58:47.963
@ka4tik and if you run all the same steps as for installation, by replacing make install
by make uninstall
, and also not using sudo
for make VIMRUNTIMEDIR=...
, as in the doc you supplied ? – Levans – 2013-07-23T08:17:55.163
2
You have to run make distclean
before make VIMRUNTIMEDIR=...
cd ~/tmp
hub clone vim/vim
cd vim
make distclean <---
make VIMRUNTIMEDIR=/usr/local/share/vim/vim80
sudo make uninstall
Also see: http://stackoverflow.com/questions/1439950/whats-the-opposite-of-make-install-ie-how-do-you-uninstall-a-library-in-lin
– User – 2014-10-12T08:28:57.350Why can't you extract the source again from the download? – suspectus – 2013-07-23T07:44:31.613