Uninstalling Vim compiled from source












9















I compiled and installed vim according to these instructions
https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source



But After installing I deleted the source directory
So,How do I uninstall vim now ?



I am using Ubuntu 13.04










share|improve this question

























  • Why can't you extract the source again from the download?

    – suspectus
    Jul 23 '13 at 7:44











  • Also see: stackoverflow.com/questions/1439950/…

    – User
    Oct 12 '14 at 8:28
















9















I compiled and installed vim according to these instructions
https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source



But After installing I deleted the source directory
So,How do I uninstall vim now ?



I am using Ubuntu 13.04










share|improve this question

























  • Why can't you extract the source again from the download?

    – suspectus
    Jul 23 '13 at 7:44











  • Also see: stackoverflow.com/questions/1439950/…

    – User
    Oct 12 '14 at 8:28














9












9








9


6






I compiled and installed vim according to these instructions
https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source



But After installing I deleted the source directory
So,How do I uninstall vim now ?



I am using Ubuntu 13.04










share|improve this question
















I compiled and installed vim according to these instructions
https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source



But After installing I deleted the source directory
So,How do I uninstall vim now ?



I am using Ubuntu 13.04







vim






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 23 '13 at 9:40









Ingo Karkat

17.3k22343




17.3k22343










asked Jul 23 '13 at 7:23









ka4tikka4tik

4815




4815













  • Why can't you extract the source again from the download?

    – suspectus
    Jul 23 '13 at 7:44











  • Also see: stackoverflow.com/questions/1439950/…

    – User
    Oct 12 '14 at 8:28



















  • Why can't you extract the source again from the download?

    – suspectus
    Jul 23 '13 at 7:44











  • Also see: stackoverflow.com/questions/1439950/…

    – User
    Oct 12 '14 at 8:28

















Why can't you extract the source again from the download?

– suspectus
Jul 23 '13 at 7:44





Why can't you extract the source again from the download?

– suspectus
Jul 23 '13 at 7:44













Also see: stackoverflow.com/questions/1439950/…

– User
Oct 12 '14 at 8:28





Also see: stackoverflow.com/questions/1439950/…

– User
Oct 12 '14 at 8:28










2 Answers
2






active

oldest

votes


















14














To uninstall vim, you can just download again the sources and run in the source directory :



make VIMRUNTIMEDIR=/usr/share/vim/vim73
sudo make uninstall


replacing /usr/share/vim/vim73 by the one you used for installation.






share|improve this answer


























  • i did just that .But it didn't remove vim .I can still use vim.Here is the output when i run sudo make uninstall paste.ubuntu.com/5903278

    – ka4tik
    Jul 23 '13 at 7:54











  • @ka4tik indeed, you need to set again the VIMRUNTIMEDIR variable. I'll edit my answer.

    – Levans
    Jul 23 '13 at 7:58













  • that did't work either paste.ubuntu.com/5903309

    – ka4tik
    Jul 23 '13 at 8:07











  • @ka4tik and if you run all the same steps as for installation, by replacing make install by make uninstall, and also not using sudo for make VIMRUNTIMEDIR=..., as in the doc you supplied ?

    – Levans
    Jul 23 '13 at 8:17











  • Also works for Ubuntu 14.04. Thanks!

    – marcelocra
    Dec 22 '16 at 1:07



















1














You have to run make distclean before make VIMRUNTIMEDIR=...



cd ~/tmp
hub clone vim/vim
cd vim
make distclean <---
make VIMRUNTIMEDIR=/usr/local/share/vim/vim80
sudo make uninstall





share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f623040%2funinstalling-vim-compiled-from-source%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    14














    To uninstall vim, you can just download again the sources and run in the source directory :



    make VIMRUNTIMEDIR=/usr/share/vim/vim73
    sudo make uninstall


    replacing /usr/share/vim/vim73 by the one you used for installation.






    share|improve this answer


























    • i did just that .But it didn't remove vim .I can still use vim.Here is the output when i run sudo make uninstall paste.ubuntu.com/5903278

      – ka4tik
      Jul 23 '13 at 7:54











    • @ka4tik indeed, you need to set again the VIMRUNTIMEDIR variable. I'll edit my answer.

      – Levans
      Jul 23 '13 at 7:58













    • that did't work either paste.ubuntu.com/5903309

      – ka4tik
      Jul 23 '13 at 8:07











    • @ka4tik and if you run all the same steps as for installation, by replacing make install by make uninstall, and also not using sudo for make VIMRUNTIMEDIR=..., as in the doc you supplied ?

      – Levans
      Jul 23 '13 at 8:17











    • Also works for Ubuntu 14.04. Thanks!

      – marcelocra
      Dec 22 '16 at 1:07
















    14














    To uninstall vim, you can just download again the sources and run in the source directory :



    make VIMRUNTIMEDIR=/usr/share/vim/vim73
    sudo make uninstall


    replacing /usr/share/vim/vim73 by the one you used for installation.






    share|improve this answer


























    • i did just that .But it didn't remove vim .I can still use vim.Here is the output when i run sudo make uninstall paste.ubuntu.com/5903278

      – ka4tik
      Jul 23 '13 at 7:54











    • @ka4tik indeed, you need to set again the VIMRUNTIMEDIR variable. I'll edit my answer.

      – Levans
      Jul 23 '13 at 7:58













    • that did't work either paste.ubuntu.com/5903309

      – ka4tik
      Jul 23 '13 at 8:07











    • @ka4tik and if you run all the same steps as for installation, by replacing make install by make uninstall, and also not using sudo for make VIMRUNTIMEDIR=..., as in the doc you supplied ?

      – Levans
      Jul 23 '13 at 8:17











    • Also works for Ubuntu 14.04. Thanks!

      – marcelocra
      Dec 22 '16 at 1:07














    14












    14








    14







    To uninstall vim, you can just download again the sources and run in the source directory :



    make VIMRUNTIMEDIR=/usr/share/vim/vim73
    sudo make uninstall


    replacing /usr/share/vim/vim73 by the one you used for installation.






    share|improve this answer















    To uninstall vim, you can just download again the sources and run in the source directory :



    make VIMRUNTIMEDIR=/usr/share/vim/vim73
    sudo make uninstall


    replacing /usr/share/vim/vim73 by the one you used for installation.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jul 23 '13 at 8:00

























    answered Jul 23 '13 at 7:43









    LevansLevans

    1,8001018




    1,8001018













    • i did just that .But it didn't remove vim .I can still use vim.Here is the output when i run sudo make uninstall paste.ubuntu.com/5903278

      – ka4tik
      Jul 23 '13 at 7:54











    • @ka4tik indeed, you need to set again the VIMRUNTIMEDIR variable. I'll edit my answer.

      – Levans
      Jul 23 '13 at 7:58













    • that did't work either paste.ubuntu.com/5903309

      – ka4tik
      Jul 23 '13 at 8:07











    • @ka4tik and if you run all the same steps as for installation, by replacing make install by make uninstall, and also not using sudo for make VIMRUNTIMEDIR=..., as in the doc you supplied ?

      – Levans
      Jul 23 '13 at 8:17











    • Also works for Ubuntu 14.04. Thanks!

      – marcelocra
      Dec 22 '16 at 1:07



















    • i did just that .But it didn't remove vim .I can still use vim.Here is the output when i run sudo make uninstall paste.ubuntu.com/5903278

      – ka4tik
      Jul 23 '13 at 7:54











    • @ka4tik indeed, you need to set again the VIMRUNTIMEDIR variable. I'll edit my answer.

      – Levans
      Jul 23 '13 at 7:58













    • that did't work either paste.ubuntu.com/5903309

      – ka4tik
      Jul 23 '13 at 8:07











    • @ka4tik and if you run all the same steps as for installation, by replacing make install by make uninstall, and also not using sudo for make VIMRUNTIMEDIR=..., as in the doc you supplied ?

      – Levans
      Jul 23 '13 at 8:17











    • Also works for Ubuntu 14.04. Thanks!

      – marcelocra
      Dec 22 '16 at 1:07

















    i did just that .But it didn't remove vim .I can still use vim.Here is the output when i run sudo make uninstall paste.ubuntu.com/5903278

    – ka4tik
    Jul 23 '13 at 7:54





    i did just that .But it didn't remove vim .I can still use vim.Here is the output when i run sudo make uninstall paste.ubuntu.com/5903278

    – ka4tik
    Jul 23 '13 at 7:54













    @ka4tik indeed, you need to set again the VIMRUNTIMEDIR variable. I'll edit my answer.

    – Levans
    Jul 23 '13 at 7:58







    @ka4tik indeed, you need to set again the VIMRUNTIMEDIR variable. I'll edit my answer.

    – Levans
    Jul 23 '13 at 7:58















    that did't work either paste.ubuntu.com/5903309

    – ka4tik
    Jul 23 '13 at 8:07





    that did't work either paste.ubuntu.com/5903309

    – ka4tik
    Jul 23 '13 at 8:07













    @ka4tik and if you run all the same steps as for installation, by replacing make install by make uninstall, and also not using sudo for make VIMRUNTIMEDIR=..., as in the doc you supplied ?

    – Levans
    Jul 23 '13 at 8:17





    @ka4tik and if you run all the same steps as for installation, by replacing make install by make uninstall, and also not using sudo for make VIMRUNTIMEDIR=..., as in the doc you supplied ?

    – Levans
    Jul 23 '13 at 8:17













    Also works for Ubuntu 14.04. Thanks!

    – marcelocra
    Dec 22 '16 at 1:07





    Also works for Ubuntu 14.04. Thanks!

    – marcelocra
    Dec 22 '16 at 1:07













    1














    You have to run make distclean before make VIMRUNTIMEDIR=...



    cd ~/tmp
    hub clone vim/vim
    cd vim
    make distclean <---
    make VIMRUNTIMEDIR=/usr/local/share/vim/vim80
    sudo make uninstall





    share|improve this answer






























      1














      You have to run make distclean before make VIMRUNTIMEDIR=...



      cd ~/tmp
      hub clone vim/vim
      cd vim
      make distclean <---
      make VIMRUNTIMEDIR=/usr/local/share/vim/vim80
      sudo make uninstall





      share|improve this answer




























        1












        1








        1







        You have to run make distclean before make VIMRUNTIMEDIR=...



        cd ~/tmp
        hub clone vim/vim
        cd vim
        make distclean <---
        make VIMRUNTIMEDIR=/usr/local/share/vim/vim80
        sudo make uninstall





        share|improve this answer















        You have to run make distclean before make VIMRUNTIMEDIR=...



        cd ~/tmp
        hub clone vim/vim
        cd vim
        make distclean <---
        make VIMRUNTIMEDIR=/usr/local/share/vim/vim80
        sudo make uninstall






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 2 at 0:02









        zx485

        867713




        867713










        answered Jan 1 at 22:52









        MougartMougart

        112




        112






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f623040%2funinstalling-vim-compiled-from-source%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

             ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕