Title: Bitcoin Knots @ Ubuntu. How to install Post by: Satoshmund on June 18, 2025, 09:04:15 PM Hello everyone!
Today i bought my first computer dedicated to running a node! It did not come with an OS, so I installed Ubuntu 24.04 on it. Based on my studies an conviction, I find Knots to be the right node software for me. Anyway.. To make long story short, I was not able to install Knots. I searched this forum and found this topic: https://bitcointalk.org/index.php?topic=5544143.0 (https://bitcointalk.org/index.php?topic=5544143.0) but it did not work for me.. I ended up installing Core, which was realy easy from the Ubuntu App Center. Hope you guys can guide me towards a solution. Best regards Åsmund Nevermind... I figured it out.. But I have another question: If I uninstall Core, will all the synced data also be deleted? I see that Knots is starting from 0% so I believe that its building its own "library" thus I`d like to remove all data from Core.. Title: Re: Bitcoin Knots @ Ubuntu. How to install Post by: Cricktor on June 18, 2025, 10:19:55 PM Why do you violate rule #32 of forum rules (meanwhile your second post got merged into your first)? See here for better understanding and following them: Unofficial list of (official) Bitcointalk.org rules, guidelines, FAQ (https://bitcointalk.org/index.php?topic=703657.0)
When you installed Bitcoin Core from Ubuntu's App Center, you installed the Snap package version with which I had issues in the past, especially when using Core over Tor. It might be fixed in recent Snap package version, but honestly, I'm not such a big fan of Snap. When you say Quote Nevermind... I figured it out.. how about to actually post what your problem was and how you solved it, because it might be of interest for other users, too. Don't you think so?I don't remember if the Snap Core used some other location for it's datadir. I didn't bother to try Knots, so I don't know if it uses a different datadir than Core or Snap's Core. Title: Re: Bitcoin Knots @ Ubuntu. How to install Post by: BitMaxz on June 18, 2025, 11:03:07 PM Nevermind... I figured it out.. But I have another question: If I uninstall Core, will all the synced data also be deleted? I see that Knots is starting from 0% so I believe that its building its own "library" thus I`d like to remove all data from Core.. I don't know if Bitcoin Knots is using the same directory path as Bitcoin Core, but if it's not, you can point your Bitcoin Knots to the Bitcoin Core blockchain directory. Bitcoin Knots has a guide about how to use datadir to point your Bitcoin Knots; you can check them from this link below - https://github.com/bitcoinknots/bitcoin/blob/5f8256608fc41c7b72a01a54e9a06ba509a61c8f/doc/files.md?plain=1#L33 Title: Re: Bitcoin Knots @ Ubuntu. How to install Post by: nc50lc on June 19, 2025, 05:01:40 AM But I have another question: No it wont, only the related installed data will be deleted.If I uninstall Core, will all the synced data also be deleted? But if you want extra ease-of-mind, you may rename the bitcoin data directory (location (https://en.bitcoin.it/wiki/Data_directory#Linux)) before uninstalling Bitcoin Core, then rename it back after. It's not really needed though. Quote from: Satoshmund I see that Knots is starting from 0% so I believe that its building its own "library" thus I`d like to remove all data from Core.. If both Core and Knots are set to use the default datadir, Knots should continue to the last block that Core already synced.Otherwise, using a different data directory will create separate sync progress. Title: Re: Bitcoin Knots @ Ubuntu. How to install Post by: Satoshmund on June 20, 2025, 05:44:01 PM Why do you violate rule #32 of forum rules (meanwhile your second post got merged into your first)? See here for better understanding and following them: Unofficial list of (official) Bitcointalk.org rules, guidelines, FAQ (https://bitcointalk.org/index.php?topic=703657.0) When you installed Bitcoin Core from Ubuntu's App Center, you installed the Snap package version with which I had issues in the past, especially when using Core over Tor. It might be fixed in recent Snap package version, but honestly, I'm not such a big fan of Snap. When you say Quote Nevermind... I figured it out.. how about to actually post what your problem was and how you solved it, because it might be of interest for other users, too. Don't you think so?I don't remember if the Snap Core used some other location for it's datadir. I didn't bother to try Knots, so I don't know if it uses a different datadir than Core or Snap's Core. I`m sorry! I was pissed off after struggling for hours! Thank you all for your answers! The way I solved it is quite embarrassing and is directly caused by me not using linux for about 20 years.. Solution: sudo add-apt-repository ppa:luke-jr/bitcoinknots sudo apt update sudo apt-get install bitcoin-qt Thats it.. |