TransWikia.com

How to uninstall a package which is installed in /usr/local/bin?

Ask Ubuntu Asked by Ujjwal Gupta on January 20, 2021

I had installed VIM but it has been messed up and breaking up due to some plugins. So I removed it with: sudo apt-get remove vim . But there is still vim command available. I also tried sudo apt-get purge vim & sudo apt-get remove vim-*.

Below output for more information:
$whereis vim
vim: /usr/local/bin/vim /usr/share/vim

How can I uninstall them?

I have one more question: Can we know which package is responsible for the installation of a particular binary file? Is there any reverse-search for binary files?

System: Ubuntu 20.04.1 LTS (focal)

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP