How to uninstall visual studio code in Ubuntu 16.04












1















Installed Visual Studio Code (64bit deb package) using the gdebi installer, now I want to uninstall it properly.



I tried the following to no avail -





  • remove installation option in gdebi ----> does not work


  • remove option from Software Center -----> does not work


  • sudo dpkg --purge code ---->
    dpkg: warning: ignoring request to remove code which isn't installed


Looks like I may have a broken package now. How do I get rid of it manually?










share|improve this question





























    1















    Installed Visual Studio Code (64bit deb package) using the gdebi installer, now I want to uninstall it properly.



    I tried the following to no avail -





    • remove installation option in gdebi ----> does not work


    • remove option from Software Center -----> does not work


    • sudo dpkg --purge code ---->
      dpkg: warning: ignoring request to remove code which isn't installed


    Looks like I may have a broken package now. How do I get rid of it manually?










    share|improve this question



























      1












      1








      1








      Installed Visual Studio Code (64bit deb package) using the gdebi installer, now I want to uninstall it properly.



      I tried the following to no avail -





      • remove installation option in gdebi ----> does not work


      • remove option from Software Center -----> does not work


      • sudo dpkg --purge code ---->
        dpkg: warning: ignoring request to remove code which isn't installed


      Looks like I may have a broken package now. How do I get rid of it manually?










      share|improve this question
















      Installed Visual Studio Code (64bit deb package) using the gdebi installer, now I want to uninstall it properly.



      I tried the following to no avail -





      • remove installation option in gdebi ----> does not work


      • remove option from Software Center -----> does not work


      • sudo dpkg --purge code ---->
        dpkg: warning: ignoring request to remove code which isn't installed


      Looks like I may have a broken package now. How do I get rid of it manually?







      software-uninstall gdebi visual-studio-code






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 12 '17 at 3:44







      Saikat

















      asked Aug 11 '17 at 14:07









      SaikatSaikat

      136117




      136117






















          3 Answers
          3






          active

          oldest

          votes


















          2














          In the terminal, sudo dpkg -P code should do it... although the gdebi Uninstall option should have worked for you too. Why do you wish to uninstall it, as it's a good editor, especially for source code.



          Update #1:



          Since Code had been installed using umake, it required sudo umake --remove ide visual-studio-code to uninstall it properly.






          share|improve this answer





















          • 1





            I just want to install the updated version :-) And using that command option is not working. I got output saying - Purging configuration files for code but then when I clicked VSCode launcher it opened successfully.

            – Saikat
            Aug 11 '17 at 14:56













          • You can install the newer version right over the old version... or if you've got a current enough version of Code, you can just go to the Help menu an select Check for Updates.

            – heynnema
            Aug 11 '17 at 15:01













          • Check for Updates takes me to download page. And installing newer version does not uninstall the old one.

            – Saikat
            Aug 11 '17 at 15:25











          • Installing the newer version should overwrite the old version. In your Unity dashboard, if you type code, do you get TWO icons that show up?

            – heynnema
            Aug 11 '17 at 15:30











          • You can try sudo dpkg -P visual-studio-code.

            – heynnema
            Aug 11 '17 at 15:36





















          1














          On my Ubuntu 18.10, I installed vscode as a snap.
          I was able to remove it with:


          sudo snap remove vscode





          share|improve this answer
























          • Welcome to Ask Ubuntu and for your interest in this site. Unfortunately, the original post did not indicate that snap was used to install the package so snap remove isn't going to be useful.

            – CentaurusA
            Jan 30 at 2:43



















          0














          It was all my fault!



          I installed VSCode using umake but wrongly assumed that I had used gdebi. I finally found out from the launcher file that the executable is in Exec=/home/<username>/.local/share/umake/ide/visual-studio-code/bin/code.



          I just had to trigger sudo umake --remove ide visual-studio-code to get rid of it completely!






          share|improve this answer



















          • 1





            Glad you finally got it uninstalled! That command was also in the first web site link that I gave you in chat.

            – heynnema
            Aug 13 '17 at 14:28











          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',
          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%2faskubuntu.com%2fquestions%2f945330%2fhow-to-uninstall-visual-studio-code-in-ubuntu-16-04%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          3 Answers
          3






          active

          oldest

          votes








          3 Answers
          3






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          In the terminal, sudo dpkg -P code should do it... although the gdebi Uninstall option should have worked for you too. Why do you wish to uninstall it, as it's a good editor, especially for source code.



          Update #1:



          Since Code had been installed using umake, it required sudo umake --remove ide visual-studio-code to uninstall it properly.






          share|improve this answer





















          • 1





            I just want to install the updated version :-) And using that command option is not working. I got output saying - Purging configuration files for code but then when I clicked VSCode launcher it opened successfully.

            – Saikat
            Aug 11 '17 at 14:56













          • You can install the newer version right over the old version... or if you've got a current enough version of Code, you can just go to the Help menu an select Check for Updates.

            – heynnema
            Aug 11 '17 at 15:01













          • Check for Updates takes me to download page. And installing newer version does not uninstall the old one.

            – Saikat
            Aug 11 '17 at 15:25











          • Installing the newer version should overwrite the old version. In your Unity dashboard, if you type code, do you get TWO icons that show up?

            – heynnema
            Aug 11 '17 at 15:30











          • You can try sudo dpkg -P visual-studio-code.

            – heynnema
            Aug 11 '17 at 15:36


















          2














          In the terminal, sudo dpkg -P code should do it... although the gdebi Uninstall option should have worked for you too. Why do you wish to uninstall it, as it's a good editor, especially for source code.



          Update #1:



          Since Code had been installed using umake, it required sudo umake --remove ide visual-studio-code to uninstall it properly.






          share|improve this answer





















          • 1





            I just want to install the updated version :-) And using that command option is not working. I got output saying - Purging configuration files for code but then when I clicked VSCode launcher it opened successfully.

            – Saikat
            Aug 11 '17 at 14:56













          • You can install the newer version right over the old version... or if you've got a current enough version of Code, you can just go to the Help menu an select Check for Updates.

            – heynnema
            Aug 11 '17 at 15:01













          • Check for Updates takes me to download page. And installing newer version does not uninstall the old one.

            – Saikat
            Aug 11 '17 at 15:25











          • Installing the newer version should overwrite the old version. In your Unity dashboard, if you type code, do you get TWO icons that show up?

            – heynnema
            Aug 11 '17 at 15:30











          • You can try sudo dpkg -P visual-studio-code.

            – heynnema
            Aug 11 '17 at 15:36
















          2












          2








          2







          In the terminal, sudo dpkg -P code should do it... although the gdebi Uninstall option should have worked for you too. Why do you wish to uninstall it, as it's a good editor, especially for source code.



          Update #1:



          Since Code had been installed using umake, it required sudo umake --remove ide visual-studio-code to uninstall it properly.






          share|improve this answer















          In the terminal, sudo dpkg -P code should do it... although the gdebi Uninstall option should have worked for you too. Why do you wish to uninstall it, as it's a good editor, especially for source code.



          Update #1:



          Since Code had been installed using umake, it required sudo umake --remove ide visual-studio-code to uninstall it properly.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Aug 13 '17 at 14:24

























          answered Aug 11 '17 at 14:41









          heynnemaheynnema

          19.4k22158




          19.4k22158








          • 1





            I just want to install the updated version :-) And using that command option is not working. I got output saying - Purging configuration files for code but then when I clicked VSCode launcher it opened successfully.

            – Saikat
            Aug 11 '17 at 14:56













          • You can install the newer version right over the old version... or if you've got a current enough version of Code, you can just go to the Help menu an select Check for Updates.

            – heynnema
            Aug 11 '17 at 15:01













          • Check for Updates takes me to download page. And installing newer version does not uninstall the old one.

            – Saikat
            Aug 11 '17 at 15:25











          • Installing the newer version should overwrite the old version. In your Unity dashboard, if you type code, do you get TWO icons that show up?

            – heynnema
            Aug 11 '17 at 15:30











          • You can try sudo dpkg -P visual-studio-code.

            – heynnema
            Aug 11 '17 at 15:36
















          • 1





            I just want to install the updated version :-) And using that command option is not working. I got output saying - Purging configuration files for code but then when I clicked VSCode launcher it opened successfully.

            – Saikat
            Aug 11 '17 at 14:56













          • You can install the newer version right over the old version... or if you've got a current enough version of Code, you can just go to the Help menu an select Check for Updates.

            – heynnema
            Aug 11 '17 at 15:01













          • Check for Updates takes me to download page. And installing newer version does not uninstall the old one.

            – Saikat
            Aug 11 '17 at 15:25











          • Installing the newer version should overwrite the old version. In your Unity dashboard, if you type code, do you get TWO icons that show up?

            – heynnema
            Aug 11 '17 at 15:30











          • You can try sudo dpkg -P visual-studio-code.

            – heynnema
            Aug 11 '17 at 15:36










          1




          1





          I just want to install the updated version :-) And using that command option is not working. I got output saying - Purging configuration files for code but then when I clicked VSCode launcher it opened successfully.

          – Saikat
          Aug 11 '17 at 14:56







          I just want to install the updated version :-) And using that command option is not working. I got output saying - Purging configuration files for code but then when I clicked VSCode launcher it opened successfully.

          – Saikat
          Aug 11 '17 at 14:56















          You can install the newer version right over the old version... or if you've got a current enough version of Code, you can just go to the Help menu an select Check for Updates.

          – heynnema
          Aug 11 '17 at 15:01







          You can install the newer version right over the old version... or if you've got a current enough version of Code, you can just go to the Help menu an select Check for Updates.

          – heynnema
          Aug 11 '17 at 15:01















          Check for Updates takes me to download page. And installing newer version does not uninstall the old one.

          – Saikat
          Aug 11 '17 at 15:25





          Check for Updates takes me to download page. And installing newer version does not uninstall the old one.

          – Saikat
          Aug 11 '17 at 15:25













          Installing the newer version should overwrite the old version. In your Unity dashboard, if you type code, do you get TWO icons that show up?

          – heynnema
          Aug 11 '17 at 15:30





          Installing the newer version should overwrite the old version. In your Unity dashboard, if you type code, do you get TWO icons that show up?

          – heynnema
          Aug 11 '17 at 15:30













          You can try sudo dpkg -P visual-studio-code.

          – heynnema
          Aug 11 '17 at 15:36







          You can try sudo dpkg -P visual-studio-code.

          – heynnema
          Aug 11 '17 at 15:36















          1














          On my Ubuntu 18.10, I installed vscode as a snap.
          I was able to remove it with:


          sudo snap remove vscode





          share|improve this answer
























          • Welcome to Ask Ubuntu and for your interest in this site. Unfortunately, the original post did not indicate that snap was used to install the package so snap remove isn't going to be useful.

            – CentaurusA
            Jan 30 at 2:43
















          1














          On my Ubuntu 18.10, I installed vscode as a snap.
          I was able to remove it with:


          sudo snap remove vscode





          share|improve this answer
























          • Welcome to Ask Ubuntu and for your interest in this site. Unfortunately, the original post did not indicate that snap was used to install the package so snap remove isn't going to be useful.

            – CentaurusA
            Jan 30 at 2:43














          1












          1








          1







          On my Ubuntu 18.10, I installed vscode as a snap.
          I was able to remove it with:


          sudo snap remove vscode





          share|improve this answer













          On my Ubuntu 18.10, I installed vscode as a snap.
          I was able to remove it with:


          sudo snap remove vscode






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 29 at 22:34









          anonymousanonymous

          111




          111













          • Welcome to Ask Ubuntu and for your interest in this site. Unfortunately, the original post did not indicate that snap was used to install the package so snap remove isn't going to be useful.

            – CentaurusA
            Jan 30 at 2:43



















          • Welcome to Ask Ubuntu and for your interest in this site. Unfortunately, the original post did not indicate that snap was used to install the package so snap remove isn't going to be useful.

            – CentaurusA
            Jan 30 at 2:43

















          Welcome to Ask Ubuntu and for your interest in this site. Unfortunately, the original post did not indicate that snap was used to install the package so snap remove isn't going to be useful.

          – CentaurusA
          Jan 30 at 2:43





          Welcome to Ask Ubuntu and for your interest in this site. Unfortunately, the original post did not indicate that snap was used to install the package so snap remove isn't going to be useful.

          – CentaurusA
          Jan 30 at 2:43











          0














          It was all my fault!



          I installed VSCode using umake but wrongly assumed that I had used gdebi. I finally found out from the launcher file that the executable is in Exec=/home/<username>/.local/share/umake/ide/visual-studio-code/bin/code.



          I just had to trigger sudo umake --remove ide visual-studio-code to get rid of it completely!






          share|improve this answer



















          • 1





            Glad you finally got it uninstalled! That command was also in the first web site link that I gave you in chat.

            – heynnema
            Aug 13 '17 at 14:28
















          0














          It was all my fault!



          I installed VSCode using umake but wrongly assumed that I had used gdebi. I finally found out from the launcher file that the executable is in Exec=/home/<username>/.local/share/umake/ide/visual-studio-code/bin/code.



          I just had to trigger sudo umake --remove ide visual-studio-code to get rid of it completely!






          share|improve this answer



















          • 1





            Glad you finally got it uninstalled! That command was also in the first web site link that I gave you in chat.

            – heynnema
            Aug 13 '17 at 14:28














          0












          0








          0







          It was all my fault!



          I installed VSCode using umake but wrongly assumed that I had used gdebi. I finally found out from the launcher file that the executable is in Exec=/home/<username>/.local/share/umake/ide/visual-studio-code/bin/code.



          I just had to trigger sudo umake --remove ide visual-studio-code to get rid of it completely!






          share|improve this answer













          It was all my fault!



          I installed VSCode using umake but wrongly assumed that I had used gdebi. I finally found out from the launcher file that the executable is in Exec=/home/<username>/.local/share/umake/ide/visual-studio-code/bin/code.



          I just had to trigger sudo umake --remove ide visual-studio-code to get rid of it completely!







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 12 '17 at 4:07









          SaikatSaikat

          136117




          136117








          • 1





            Glad you finally got it uninstalled! That command was also in the first web site link that I gave you in chat.

            – heynnema
            Aug 13 '17 at 14:28














          • 1





            Glad you finally got it uninstalled! That command was also in the first web site link that I gave you in chat.

            – heynnema
            Aug 13 '17 at 14:28








          1




          1





          Glad you finally got it uninstalled! That command was also in the first web site link that I gave you in chat.

          – heynnema
          Aug 13 '17 at 14:28





          Glad you finally got it uninstalled! That command was also in the first web site link that I gave you in chat.

          – heynnema
          Aug 13 '17 at 14:28


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • 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%2faskubuntu.com%2fquestions%2f945330%2fhow-to-uninstall-visual-studio-code-in-ubuntu-16-04%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

          Mouse cursor on multiple screens with different PPI

          Agildo Ribeiro

          Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”