Vim is still present and executable even after running apt remove and purge on its package

The name of the pictureThe name of the pictureThe name of the pictureClash 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


enter image description here



The package manager shows it doesn't exist. But when I type in vim and hit enter, it opens vim.
enter image description here



When I type in :echo $VIMRUNTIME, it outputs /usr/share/vim but this folder doesn't exist.
enter image description here



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.










share|improve this question









New contributor




nick-s is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 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 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




    /usr/share/man/man1/vim.1 is only where the manual entry is saved. Not the executable programme.
    – Fiximan
    10 hours ago














up vote
4
down vote

favorite












I ran the following commands to remove vim.



sudo apt-get remove vim
sudo apt-get purge vim


enter image description here



The package manager shows it doesn't exist. But when I type in vim and hit enter, it opens vim.
enter image description here



When I type in :echo $VIMRUNTIME, it outputs /usr/share/vim but this folder doesn't exist.
enter image description here



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.










share|improve this question









New contributor




nick-s is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 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 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




    /usr/share/man/man1/vim.1 is only where the manual entry is saved. Not the executable programme.
    – Fiximan
    10 hours ago












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


enter image description here



The package manager shows it doesn't exist. But when I type in vim and hit enter, it opens vim.
enter image description here



When I type in :echo $VIMRUNTIME, it outputs /usr/share/vim but this folder doesn't exist.
enter image description here



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.










share|improve this question









New contributor




nick-s is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I ran the following commands to remove vim.



sudo apt-get remove vim
sudo apt-get purge vim


enter image description here



The package manager shows it doesn't exist. But when I type in vim and hit enter, it opens vim.
enter image description here



When I type in :echo $VIMRUNTIME, it outputs /usr/share/vim but this folder doesn't exist.
enter image description here



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






share|improve this question









New contributor




nick-s is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




nick-s is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 8 mins ago









Freiheit

1093




1093






New contributor




nick-s is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 11 hours ago









nick-s

1234




1234




New contributor




nick-s is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





nick-s is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






nick-s is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 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 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




    /usr/share/man/man1/vim.1 is only where the manual entry is saved. Not the executable programme.
    – Fiximan
    10 hours ago












  • 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 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




    /usr/share/man/man1/vim.1 is only where the manual 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 manual entry is saved. Not the executable programme.
– Fiximan
10 hours ago




/usr/share/man/man1/vim.1 is only where the manual entry is saved. Not the executable programme.
– Fiximan
10 hours ago










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.






share|improve this answer





























    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.






    share|improve this answer




















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "89"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: true,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );






      nick-s is a new contributor. Be nice, and check out our Code of Conduct.









       

      draft saved


      draft discarded


















      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






























      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.






      share|improve this answer


























        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.






        share|improve this answer
























          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.






          share|improve this answer














          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.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 10 hours ago









          dessert

          20k55795




          20k55795










          answered 10 hours ago









          Fiximan

          81749




          81749






















              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.






              share|improve this answer
























                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.






                share|improve this answer






















                  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.






                  share|improve this answer












                  You uninstalled vim not vim. vim-tiny, vim-nox, vim-gtk, and vim-athena all provide vim compiled with different options.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 5 hours ago









                  hildred

                  493512




                  493512




















                      nick-s is a new contributor. Be nice, and check out our Code of Conduct.









                       

                      draft saved


                      draft discarded


















                      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.













                       


                      draft saved


                      draft discarded














                      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













































































                      Comments

                      Popular posts from this blog

                      Long meetings (6-7 hours a day): Being “babysat” by supervisor

                      Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

                      Confectionery