Bitcoin Core is open-source software that connects to the Bitcoin peer-to-peer network to download and fully validate blocks and transactions. It also includes a wallet and graphical user interface. It ensures every block and transaction it accepts is valid. This wallet is a full node that validates and relays transactions on the Bitcoin network. This means no trust in a third party is required when verifying payments. Here we learn how to install BitCoin core on Ubuntu 22.04 LTS Jammy JellyFish.
Steps to install BitCoin core on Ubuntu 22.04
The easiest way to install Bitcoin core on Ubuntu is using the SNAP package manager because it is not available through the APT. Also, the given steps can be used for other similar Linus distros such as Linux Mint, Elementary OS, and more…
1. Update Ubuntu 22.04
Perform the system update command to ensure all the packages on the system are up to date. Although this step is not necessary here because we are about to use SNAP. Yet, just to make sure everything is running at its latest available state.
sudo apt update && sudo apt upgrade
2. Install BitCoin Core on Ubuntu 22.04
Next, use the snap command to install the BitCoin core on Ubuntu 22.04, because the default APT repository is not supplying the packages needed for this tool.
sudo snap install bitcoin-core
3. How do I run the Bitcoin Core in Ubuntu?
Once the installation is completed using the previous step’s command, go to All Applications or simply press the Win key on your keyboard and search for Bitcoin Core. As its icon appears, click to run the same.
4. Download Bitcoin blockchain data
The Bitcoin core will have a record of each transaction, hence the software will download all the transaction data, since Bitcoin launched, on your system. You can limit the blockchain storage, however, still, the software once has to download all the records to process them which later will be deleted to save your disk space.
5. How to add a Bitcoin wallet to Linux?
To create a wallet, click on the “Create Wallet” option given under the File Menu of Bitcoin Core.
After that give some name to your wallet and click on the Create button.
#Alternate method to install BitCoin Core
6. Install through GUI Ubuntu Software
Those who don’t want to install Bitcoin core using the terminal can use the graphical software center of Ubuntu 22.04. Click on the Ubuntu Software icon and search then search for Bitcoin core. Open it from the results and click on the Install button.
7. How to update
To get future updates of BitCoin Core we can run the snap refresh command given below that will update all the Snap’s installed applications.
sudo snap refresh
8. Uninstall Bitcoin core from Ubuntu 22.04
Well, if you think this blockchain application is not what you want, then always free to remove the Bitcoin core from Ubuntu 22.04. Here is the command for that.
sudo snap remove bitcoin-core
Where is the Bitcoin Core data directory in Ubuntu?
Here we have used Snap to install Bitcoin Core, here its data directory is under the Home directory of our Ubuntu Linux to see it; you can either use the GUI or the terminal.
- Open FileManager
- Select the Home directory from the left side
- Open the Snap directory and then Bitcoin core
- After that click on the three horizontal lines or burger icons to show the hidden files.
- Now, open the Common folder, and the .bitcoin directory to find the data inside it.
Those who want to access the default data directory for Bitcoin core created by snap using Terminal can use:
to see or list the files, use
Where is the Bitcoin Core wallet stored in Ubuntu?
All the wallet user data is stored under the Bitcoin-core directory created by Snap under the Home user who has installed it.
- Open Ubuntu FileManager and click on the Home directory from the left side panel.
- Under the Home, find the Snap folder and open it.
- Open the Bitcoin-core directory and then common.
- Unhide the hidden folders, and for that click on the top-right side given the burger icon.
- After that open the .bitcoin folder and then Wallet to see the data available inside it.
How to find my Bitcoin Core wallet address?
Open the BitCoin Core application on Linux, macOS, or Windows after that open your Wallet. On your Bitcoin wallet click on the Recieve menu option and under Requested payment history double the request you have made to see the address. The Bitcoin core address with QR will appear. Those who have not issued any address can click on the create a new receiving address button.
⇒ 8 Best Linux distros for .Net Core development
⇒ How to Install Teamviewer using an Ubuntu terminal
⇒ How to Install Monit monitoring on Ubuntu 22.04
⇒ 5 Best htop alternatives to monitor Linux systems