How to uninstall Bitcoin Core and remove data












3















I recently installed Bitcoin Core on my Ubuntu 16.04 system. It's taking up too much disk space. How do I completely uninstall the software and remove data to free up my hard drive space?










share|improve this question

























  • Did you install debs from a PPA or maybe compile from source ? Could you provide the output of : dpkg -l | grep bitcoin ?

    – albert j
    Jan 22 '17 at 20:58
















3















I recently installed Bitcoin Core on my Ubuntu 16.04 system. It's taking up too much disk space. How do I completely uninstall the software and remove data to free up my hard drive space?










share|improve this question

























  • Did you install debs from a PPA or maybe compile from source ? Could you provide the output of : dpkg -l | grep bitcoin ?

    – albert j
    Jan 22 '17 at 20:58














3












3








3








I recently installed Bitcoin Core on my Ubuntu 16.04 system. It's taking up too much disk space. How do I completely uninstall the software and remove data to free up my hard drive space?










share|improve this question
















I recently installed Bitcoin Core on my Ubuntu 16.04 system. It's taking up too much disk space. How do I completely uninstall the software and remove data to free up my hard drive space?







uninstall bitcoin






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 22 '17 at 21:09









earthmeLon

6,4241851




6,4241851










asked Jan 22 '17 at 20:53









ckubuntuckubuntu

1613




1613













  • Did you install debs from a PPA or maybe compile from source ? Could you provide the output of : dpkg -l | grep bitcoin ?

    – albert j
    Jan 22 '17 at 20:58



















  • Did you install debs from a PPA or maybe compile from source ? Could you provide the output of : dpkg -l | grep bitcoin ?

    – albert j
    Jan 22 '17 at 20:58

















Did you install debs from a PPA or maybe compile from source ? Could you provide the output of : dpkg -l | grep bitcoin ?

– albert j
Jan 22 '17 at 20:58





Did you install debs from a PPA or maybe compile from source ? Could you provide the output of : dpkg -l | grep bitcoin ?

– albert j
Jan 22 '17 at 20:58










2 Answers
2






active

oldest

votes


















3














Remove bitcoin:




  1. sudo apt-get remove bitcoind


Alternatively, you could just disable bitcoind from starting at startup:




  1. sudo systemctl disable bitcoind


Remove extra files:



If you remove your .bitcoin directory, you are removing your wallets/addresses and access to any BTC in those wallets, as well as the blockchain history.



When you run bitcoind, it typically creates a .bitcoin directory in the home directory of the running user. Depending on your setup, this could be a user named bitcoin, or be your user.




  1. rm -rf /path/to/.bitcoind/


If you're not sure where this path is, you could run the following commands to help find it:




  1. sudo updatedb

  2. sudo locate .bitcoind


More specifically, the blocks take up a lot of space and are found in .bitcoind/blocks/.






share|improve this answer

































    1














    In my version of Ubuntu (18.1) the files are located in .bitcoin and not in .bitcoind so use these commands:




    1. rm -rf /path/to/.bitcoin/

    2. sudo locate .bitcoin






    share|improve this answer










    New contributor




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




















      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%2f875043%2fhow-to-uninstall-bitcoin-core-and-remove-data%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









      3














      Remove bitcoin:




      1. sudo apt-get remove bitcoind


      Alternatively, you could just disable bitcoind from starting at startup:




      1. sudo systemctl disable bitcoind


      Remove extra files:



      If you remove your .bitcoin directory, you are removing your wallets/addresses and access to any BTC in those wallets, as well as the blockchain history.



      When you run bitcoind, it typically creates a .bitcoin directory in the home directory of the running user. Depending on your setup, this could be a user named bitcoin, or be your user.




      1. rm -rf /path/to/.bitcoind/


      If you're not sure where this path is, you could run the following commands to help find it:




      1. sudo updatedb

      2. sudo locate .bitcoind


      More specifically, the blocks take up a lot of space and are found in .bitcoind/blocks/.






      share|improve this answer






























        3














        Remove bitcoin:




        1. sudo apt-get remove bitcoind


        Alternatively, you could just disable bitcoind from starting at startup:




        1. sudo systemctl disable bitcoind


        Remove extra files:



        If you remove your .bitcoin directory, you are removing your wallets/addresses and access to any BTC in those wallets, as well as the blockchain history.



        When you run bitcoind, it typically creates a .bitcoin directory in the home directory of the running user. Depending on your setup, this could be a user named bitcoin, or be your user.




        1. rm -rf /path/to/.bitcoind/


        If you're not sure where this path is, you could run the following commands to help find it:




        1. sudo updatedb

        2. sudo locate .bitcoind


        More specifically, the blocks take up a lot of space and are found in .bitcoind/blocks/.






        share|improve this answer




























          3












          3








          3







          Remove bitcoin:




          1. sudo apt-get remove bitcoind


          Alternatively, you could just disable bitcoind from starting at startup:




          1. sudo systemctl disable bitcoind


          Remove extra files:



          If you remove your .bitcoin directory, you are removing your wallets/addresses and access to any BTC in those wallets, as well as the blockchain history.



          When you run bitcoind, it typically creates a .bitcoin directory in the home directory of the running user. Depending on your setup, this could be a user named bitcoin, or be your user.




          1. rm -rf /path/to/.bitcoind/


          If you're not sure where this path is, you could run the following commands to help find it:




          1. sudo updatedb

          2. sudo locate .bitcoind


          More specifically, the blocks take up a lot of space and are found in .bitcoind/blocks/.






          share|improve this answer















          Remove bitcoin:




          1. sudo apt-get remove bitcoind


          Alternatively, you could just disable bitcoind from starting at startup:




          1. sudo systemctl disable bitcoind


          Remove extra files:



          If you remove your .bitcoin directory, you are removing your wallets/addresses and access to any BTC in those wallets, as well as the blockchain history.



          When you run bitcoind, it typically creates a .bitcoin directory in the home directory of the running user. Depending on your setup, this could be a user named bitcoin, or be your user.




          1. rm -rf /path/to/.bitcoind/


          If you're not sure where this path is, you could run the following commands to help find it:




          1. sudo updatedb

          2. sudo locate .bitcoind


          More specifically, the blocks take up a lot of space and are found in .bitcoind/blocks/.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 22 '17 at 21:15

























          answered Jan 22 '17 at 21:04









          earthmeLonearthmeLon

          6,4241851




          6,4241851

























              1














              In my version of Ubuntu (18.1) the files are located in .bitcoin and not in .bitcoind so use these commands:




              1. rm -rf /path/to/.bitcoin/

              2. sudo locate .bitcoin






              share|improve this answer










              New contributor




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

























                1














                In my version of Ubuntu (18.1) the files are located in .bitcoin and not in .bitcoind so use these commands:




                1. rm -rf /path/to/.bitcoin/

                2. sudo locate .bitcoin






                share|improve this answer










                New contributor




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























                  1












                  1








                  1







                  In my version of Ubuntu (18.1) the files are located in .bitcoin and not in .bitcoind so use these commands:




                  1. rm -rf /path/to/.bitcoin/

                  2. sudo locate .bitcoin






                  share|improve this answer










                  New contributor




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










                  In my version of Ubuntu (18.1) the files are located in .bitcoin and not in .bitcoind so use these commands:




                  1. rm -rf /path/to/.bitcoin/

                  2. sudo locate .bitcoin







                  share|improve this answer










                  New contributor




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



                  share|improve this answer








                  edited Mar 10 at 18:28









                  zx485

                  1,47131115




                  1,47131115






                  New contributor




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









                  answered Mar 10 at 16:47









                  FredFred

                  111




                  111




                  New contributor




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





                  New contributor





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






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






























                      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%2f875043%2fhow-to-uninstall-bitcoin-core-and-remove-data%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

                      數位音樂下載

                      When can things happen in Etherscan, such as the picture below?

                      格利澤436b