Vim still executing after running apt remove and purge

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


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










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














up vote
2
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
    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










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












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


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






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 2 hours ago









nick-s

1133




1133




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










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












  • 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 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 manual 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 manual entry is saved. Not the executable programme.
– Fiximan
1 hour ago




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










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.






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-still-executing-after-running-apt-remove-and-purge%23new-answer', 'question_page');

    );

    Post as a guest






























    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.






    share|improve this answer


























      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.






      share|improve this answer
























        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.






        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 1 hour ago









        dessert

        20k55795




        20k55795










        answered 1 hour ago









        Fiximan

        78749




        78749




















            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-still-executing-after-running-apt-remove-and-purge%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