Vim is still present and executable even after running apt remove and purge on its package
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
I ran the following commands to remove vim.
sudo apt-get remove vim
sudo apt-get purge vim
The package manager shows it doesn't exist. But when I type in vim and hit enter, it opens vim.
When I type in :echo $VIMRUNTIME
, it outputs /usr/share/vim but this folder doesn't exist.
I tried installing vim but it still refers to this preexisting install (I'm looking for python support and this version doesn't support it).
I've exhausted all the options and unsure of what to try next.
I recently upgraded from Ubuntu 16 to 18.
command-line apt uninstall vim
New contributor
add a comment |Â
up vote
4
down vote
favorite
I ran the following commands to remove vim.
sudo apt-get remove vim
sudo apt-get purge vim
The package manager shows it doesn't exist. But when I type in vim and hit enter, it opens vim.
When I type in :echo $VIMRUNTIME
, it outputs /usr/share/vim but this folder doesn't exist.
I tried installing vim but it still refers to this preexisting install (I'm looking for python support and this version doesn't support it).
I've exhausted all the options and unsure of what to try next.
I recently upgraded from Ubuntu 16 to 18.
command-line apt uninstall vim
New contributor
1
What's the output ofwhereis vim
?
â Fiximan
11 hours ago
1
apt/apt-get/dpkg
tools refer to packages, but programs can be installed from source, via snap, via flatpak... and other methods that apt/dpkg tools won't know about. The command provided by Fiximan should hopefully provide a clue as to where it is, and what method was used to install 'vim' (or vims - ie. you can have multiple versions of a program loaded using different methods)
â guiverc
11 hours ago
@Fiximan The output ofwhereis vim
was giving me/usr/share/man/man1/vim.1
location too. So I manually removed it and ransudo apt-get install vim
. Now all's good. Can you add your reply as answer and I'll accept it.
â nick-s
10 hours ago
1
/usr/share/man/man1/vim.1
is only where theman
ual entry is saved. Not the executable programme.
â Fiximan
10 hours ago
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
I ran the following commands to remove vim.
sudo apt-get remove vim
sudo apt-get purge vim
The package manager shows it doesn't exist. But when I type in vim and hit enter, it opens vim.
When I type in :echo $VIMRUNTIME
, it outputs /usr/share/vim but this folder doesn't exist.
I tried installing vim but it still refers to this preexisting install (I'm looking for python support and this version doesn't support it).
I've exhausted all the options and unsure of what to try next.
I recently upgraded from Ubuntu 16 to 18.
command-line apt uninstall vim
New contributor
I ran the following commands to remove vim.
sudo apt-get remove vim
sudo apt-get purge vim
The package manager shows it doesn't exist. But when I type in vim and hit enter, it opens vim.
When I type in :echo $VIMRUNTIME
, it outputs /usr/share/vim but this folder doesn't exist.
I tried installing vim but it still refers to this preexisting install (I'm looking for python support and this version doesn't support it).
I've exhausted all the options and unsure of what to try next.
I recently upgraded from Ubuntu 16 to 18.
command-line apt uninstall vim
command-line apt uninstall vim
New contributor
New contributor
edited 8 mins ago
Freiheit
1093
1093
New contributor
asked 11 hours ago
nick-s
1234
1234
New contributor
New contributor
1
What's the output ofwhereis vim
?
â Fiximan
11 hours ago
1
apt/apt-get/dpkg
tools refer to packages, but programs can be installed from source, via snap, via flatpak... and other methods that apt/dpkg tools won't know about. The command provided by Fiximan should hopefully provide a clue as to where it is, and what method was used to install 'vim' (or vims - ie. you can have multiple versions of a program loaded using different methods)
â guiverc
11 hours ago
@Fiximan The output ofwhereis vim
was giving me/usr/share/man/man1/vim.1
location too. So I manually removed it and ransudo apt-get install vim
. Now all's good. Can you add your reply as answer and I'll accept it.
â nick-s
10 hours ago
1
/usr/share/man/man1/vim.1
is only where theman
ual entry is saved. Not the executable programme.
â Fiximan
10 hours ago
add a comment |Â
1
What's the output ofwhereis vim
?
â Fiximan
11 hours ago
1
apt/apt-get/dpkg
tools refer to packages, but programs can be installed from source, via snap, via flatpak... and other methods that apt/dpkg tools won't know about. The command provided by Fiximan should hopefully provide a clue as to where it is, and what method was used to install 'vim' (or vims - ie. you can have multiple versions of a program loaded using different methods)
â guiverc
11 hours ago
@Fiximan The output ofwhereis vim
was giving me/usr/share/man/man1/vim.1
location too. So I manually removed it and ransudo apt-get install vim
. Now all's good. Can you add your reply as answer and I'll accept it.
â nick-s
10 hours ago
1
/usr/share/man/man1/vim.1
is only where theman
ual entry is saved. Not the executable programme.
â Fiximan
10 hours ago
1
1
What's the output of
whereis vim
?â Fiximan
11 hours ago
What's the output of
whereis vim
?â Fiximan
11 hours ago
1
1
apt/apt-get/dpkg
tools refer to packages, but programs can be installed from source, via snap, via flatpak... and other methods that apt/dpkg tools won't know about. The command provided by Fiximan should hopefully provide a clue as to where it is, and what method was used to install 'vim' (or vims - ie. you can have multiple versions of a program loaded using different methods)â guiverc
11 hours ago
apt/apt-get/dpkg
tools refer to packages, but programs can be installed from source, via snap, via flatpak... and other methods that apt/dpkg tools won't know about. The command provided by Fiximan should hopefully provide a clue as to where it is, and what method was used to install 'vim' (or vims - ie. you can have multiple versions of a program loaded using different methods)â guiverc
11 hours ago
@Fiximan The output of
whereis vim
was giving me /usr/share/man/man1/vim.1
location too. So I manually removed it and ran sudo apt-get install vim
. Now all's good. Can you add your reply as answer and I'll accept it.â nick-s
10 hours ago
@Fiximan The output of
whereis vim
was giving me /usr/share/man/man1/vim.1
location too. So I manually removed it and ran sudo apt-get install vim
. Now all's good. Can you add your reply as answer and I'll accept it.â nick-s
10 hours ago
1
1
/usr/share/man/man1/vim.1
is only where the man
ual entry is saved. Not the executable programme.â Fiximan
10 hours ago
/usr/share/man/man1/vim.1
is only where the man
ual entry is saved. Not the executable programme.â Fiximan
10 hours ago
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
6
down vote
accepted
To find the location of a program, use the whereis
command
whereis vim
It should show you if and where it is installed.
Please also note: $VIMRUNTIME
is only a directory holding mainly configuration files. Have a closer look here.
add a comment |Â
up vote
5
down vote
You uninstalled vim
not vim. vim-tiny
, vim-nox
, vim-gtk
, and vim-athena
all provide vim compiled with different options.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
6
down vote
accepted
To find the location of a program, use the whereis
command
whereis vim
It should show you if and where it is installed.
Please also note: $VIMRUNTIME
is only a directory holding mainly configuration files. Have a closer look here.
add a comment |Â
up vote
6
down vote
accepted
To find the location of a program, use the whereis
command
whereis vim
It should show you if and where it is installed.
Please also note: $VIMRUNTIME
is only a directory holding mainly configuration files. Have a closer look here.
add a comment |Â
up vote
6
down vote
accepted
up vote
6
down vote
accepted
To find the location of a program, use the whereis
command
whereis vim
It should show you if and where it is installed.
Please also note: $VIMRUNTIME
is only a directory holding mainly configuration files. Have a closer look here.
To find the location of a program, use the whereis
command
whereis vim
It should show you if and where it is installed.
Please also note: $VIMRUNTIME
is only a directory holding mainly configuration files. Have a closer look here.
edited 10 hours ago
dessert
20k55795
20k55795
answered 10 hours ago
Fiximan
81749
81749
add a comment |Â
add a comment |Â
up vote
5
down vote
You uninstalled vim
not vim. vim-tiny
, vim-nox
, vim-gtk
, and vim-athena
all provide vim compiled with different options.
add a comment |Â
up vote
5
down vote
You uninstalled vim
not vim. vim-tiny
, vim-nox
, vim-gtk
, and vim-athena
all provide vim compiled with different options.
add a comment |Â
up vote
5
down vote
up vote
5
down vote
You uninstalled vim
not vim. vim-tiny
, vim-nox
, vim-gtk
, and vim-athena
all provide vim compiled with different options.
You uninstalled vim
not vim. vim-tiny
, vim-nox
, vim-gtk
, and vim-athena
all provide vim compiled with different options.
answered 5 hours ago
hildred
493512
493512
add a comment |Â
add a comment |Â
nick-s is a new contributor. Be nice, and check out our Code of Conduct.
nick-s is a new contributor. Be nice, and check out our Code of Conduct.
nick-s is a new contributor. Be nice, and check out our Code of Conduct.
nick-s is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1080853%2fvim-is-still-present-and-executable-even-after-running-apt-remove-and-purge-on-i%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
What's the output of
whereis vim
?â Fiximan
11 hours ago
1
apt/apt-get/dpkg
tools refer to packages, but programs can be installed from source, via snap, via flatpak... and other methods that apt/dpkg tools won't know about. The command provided by Fiximan should hopefully provide a clue as to where it is, and what method was used to install 'vim' (or vims - ie. you can have multiple versions of a program loaded using different methods)â guiverc
11 hours ago
@Fiximan The output of
whereis vim
was giving me/usr/share/man/man1/vim.1
location too. So I manually removed it and ransudo apt-get install vim
. Now all's good. Can you add your reply as answer and I'll accept it.â nick-s
10 hours ago
1
/usr/share/man/man1/vim.1
is only where theman
ual entry is saved. Not the executable programme.â Fiximan
10 hours ago