Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I've got a problem with vim deinstallation. I've done sudo apt-get remove on vim, vim-common, vim-tiny and actually anything starting with 'vim' in the package list, but still can run vim from command line. It doesn't show up in packages list but still works. I can't understand how it is even possible... How can I remove it completely?

share|improve this question

closed as not a real question by jasonwryan, Mat, slm, vonbrand, Chris Down May 10 '13 at 13:55

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Maybe vim command that you are running is actually an alias to vi. What is the output of type vim? –  Nykakin May 10 '13 at 2:46
    
It runs the latest vim version which I installed from source before. –  sashkello May 10 '13 at 2:47
    
There's your answer: if you installed from source, then there is no package that contains it. Try which vim and destroy the offending binary. Or just don't type vim. –  msw May 10 '13 at 2:51
1  
Software installed from source might be impossible to delete through package management systems. See here: askubuntu.com/questions/87111/… what about make uninstall? –  Nykakin May 10 '13 at 2:53
add comment

1 Answer

up vote 0 down vote accepted

I've figured it out.

vim which appears in package list is not the same as the one I installed from source. I manually removed 'vim' directory from /usr/share, /usr/local/share and /usr/local/bin and now it seems there is no trace of it left.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.