LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 09-25-2019, 04:10 PM   #1
bryb
LQ Newbie
 
Registered: Sep 2019
Location: france
Distribution: bodhi
Posts: 17

Rep: Reputation: Disabled
Desinstallation of vim


Hello,
After upgrading bodhi after installation, Vim appears in my application menu.
I Want to remove it with the CLI command sudo apt remove vim.
But, the terminal answers that Vim is not installed !!!
WTF !!!
Can anyone explain ??
 
Old 09-25-2019, 04:12 PM   #2
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,320

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Code:
apt list --installed vim*
and why would you want to remove vim?
emacs user?

I never did get the hang of emacs I did try but vim had already conditioned me.

Last edited by Firerat; 09-25-2019 at 04:14 PM.
 
Old 09-25-2019, 04:57 PM   #3
bryb
LQ Newbie
 
Registered: Sep 2019
Location: france
Distribution: bodhi
Posts: 17

Original Poster
Rep: Reputation: Disabled
Hi,
Not on my pc now, it is off and it's time to sleep in France...
I Want to remove Vim because it doesn't run on bodhi
When i launch it by the application menu, the Window appears and dissapears immediately.
 
Old 09-25-2019, 07:18 PM   #4
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 345

Rep: Reputation: Disabled
To make sure it's completely removed, try
Code:
sudo apt purge vim*
after making sure you don't want to keep anything that appears in the list from fireat's command.

If it's gone and not installed but still on menu, just remove the desktop file, that's what makes moksha put it into menus and stuff. It's either in ~/.local/share/applications or /usr/share/applications which requires sudo to rm or edit them....

Alternatvely, in pcmanfm, go to 'applications' on the left, you can find the desktop file that way and delete it to to remove it from menu.

edit: defined second location of desktop files and added easy alternative

Last edited by enigma9o7; 09-27-2019 at 01:42 AM.
 
Old 09-26-2019, 02:13 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,463
Blog Entries: 9

Rep: Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372
Code:
LC_ALL=C apt search vim | grep installed
will show you what's actually installed.
vim-common and vim-tiny are installed by default on debian systems, I would NOT uninstall them. They are NOT responsible for your menu entries.
 
Old 09-26-2019, 05:39 AM   #6
ehartman
Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 952

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
Quote:
Originally Posted by bryb View Post
But, the terminal answers that Vim is not installed !!!
WTF !!!
Can anyone explain ??
Application menu's often have software applications IN them which are optional:
that is - the menu is already prepared for you to have the package installed, but removing (or NOT installing) the package doesn't remove the menu entry itself.
You will have to modify that menu yourself.
 
Old 09-26-2019, 01:19 PM   #7
bryb
LQ Newbie
 
Registered: Sep 2019
Location: france
Distribution: bodhi
Posts: 17

Original Poster
Rep: Reputation: Disabled
uninstall of vim complete with sudo apt purge vim*.
thanks all !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Fedora shows 'man vim' but when execute 'vim' got "bash: vim: command not found..." ? flash_os Linux - Newbie 19 01-03-2015 11:56 PM
Switching from vim to vim -g from inside vim iDragoon Linux - Software 4 05-15-2009 11:46 AM
Editor comparison: vim VS vim-lite, Cleaning vim Ruler2112 *BSD 4 04-13-2009 04:26 PM
Probleme de desinstallation Musikeur_Zesto Slackware 2 10-28-2007 06:29 AM
encryption with Vim (vim -x) mikshaw Linux - Software 2 03-07-2007 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 11:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration