Vim still executing after running apt remove and purge
Clash Royale CLAN TAG#URR8PPP
up vote
2
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
2
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
2 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
2 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
1 hour ago
/usr/share/man/man1/vim.1
is only where theman
ual entry is saved. Not the executable programme.
â Fiximan
1 hour ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
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
New contributor
asked 2 hours ago
nick-s
1133
1133
New contributor
New contributor
1
What's the output ofwhereis vim
?
â Fiximan
2 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
2 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
1 hour ago
/usr/share/man/man1/vim.1
is only where theman
ual entry is saved. Not the executable programme.
â Fiximan
1 hour ago
add a comment |Â
1
What's the output ofwhereis vim
?
â Fiximan
2 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
2 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
1 hour ago
/usr/share/man/man1/vim.1
is only where theman
ual entry is saved. Not the executable programme.
â Fiximan
1 hour ago
1
1
What's the output of
whereis vim
?â Fiximan
2 hours ago
What's the output of
whereis vim
?â Fiximan
2 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
2 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
2 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
1 hour 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
1 hour ago
/usr/share/man/man1/vim.1
is only where the man
ual entry is saved. Not the executable programme.â Fiximan
1 hour ago
/usr/share/man/man1/vim.1
is only where the man
ual entry is saved. Not the executable programme.â Fiximan
1 hour ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
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 |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
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
3
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
3
down vote
accepted
up vote
3
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 1 hour ago
dessert
20k55795
20k55795
answered 1 hour ago
Fiximan
78749
78749
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-still-executing-after-running-apt-remove-and-purge%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
2 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
2 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
1 hour ago
/usr/share/man/man1/vim.1
is only where theman
ual entry is saved. Not the executable programme.â Fiximan
1 hour ago