Bitcoin Forum
June 23, 2025, 06:59:47 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Knots @ Ubuntu. How to install  (Read 73 times)
Satoshmund (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 2


View Profile
June 18, 2025, 09:04:15 PM
Last edit: June 18, 2025, 10:12:07 PM by Mr. Big
 #1

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 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..
Cricktor
Legendary
*
Offline Offline

Activity: 1162
Merit: 2533



View Profile
June 18, 2025, 10:19:55 PM
 #2

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

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.

BitMaxz
Legendary
*
Offline Offline

Activity: 3654
Merit: 3357


Don't get greedy...


View Profile WWW
June 18, 2025, 11:03:07 PM
 #3

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

.
 betpanda.io 
 
ANONYMOUS & INSTANT
.......ONLINE CASINO.......
▄███████████████████████▄
█████████████████████████
█████████████████████████
████████▀▀▀▀▀▀███████████
████▀▀▀█░▀▀░░░░░░▄███████
████░▄▄█▄▄▀█▄░░░█▄░▄█████
████▀██▀░▄█▀░░░█▀░░██████
██████░░▄▀░░░░▐░░░▐█▄████
██████▄▄█░▀▀░░░█▄▄▄██████
█████████████████████████
█████████████████████████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀░░░▀██████████
█████████░░░░░░░█████████
███████░░░░░░░░░███████
████████░░░░░░░░░████████
█████████▄░░░░░▄█████████
███████▀▀▀█▄▄▄█▀▀▀███████
██████░░░░▄░▄░▄░░░░██████
██████░░░░█▀█▀█░░░░██████
██████░░░░░░░░░░░░░██████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀▀▀▀▀▀█████████
███████▀▀░░░░░░░░░███████
██████░░░░░░░░░░░░▀█████
██████░░░░░░░░░░░░░░▀████
██████▄░░░░░░▄▄░░░░░░████
████▀▀▀▀▀░░░█░░█░░░░░████
████░▀░▀░░░░░▀▀░░░░░█████
████░▀░▀▄░░░░░░▄▄▄▄██████
█████░▀░█████████████████
█████████████████████████
▀███████████████████████▀
.
SLOT GAMES
....SPORTS....
LIVE CASINO
▄░░▄█▄░░▄
▀█▀░▄▀▄░▀█▀
▄▄▄▄▄▄▄▄▄▄▄   
█████████████
█░░░░░░░░░░░█
█████████████

▄▀▄██▀▄▄▄▄▄███▄▀▄
▄▀▄█████▄██▄▀▄
▄▀▄▐▐▌▐▐▌▄▀▄
▄▀▄█▀██▀█▄▀▄
▄▀▄█████▀▄████▄▀▄
▀▄▀▄▀█████▀▄▀▄▀
▀▀▀▄█▀█▄▀▄▀▀

Regional Sponsor of the
Argentina National Team
nc50lc
Legendary
*
Offline Offline

Activity: 2814
Merit: 7326


Self-proclaimed Genius


View Profile
June 19, 2025, 05:01:40 AM
Merited by ABCbits (1)
 #4

But I have another question:
If I uninstall Core, will all the synced data also be deleted?
No it wont, only the related installed data will be deleted.

But if you want extra ease-of-mind, you may rename the bitcoin data directory (location) 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.

Satoshmund (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 2


View Profile
June 20, 2025, 05:44:01 PM
Merited by BitGoba (2)
 #5

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

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..
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!