Supplemental: Step-by-Step Installation Walkthroughs
Supplemental: Step-by-Step Installation Walkthroughs
Ubuntu 22.04 / 24.04 LTS Walkthrough
-
Prepare the System:
bash sudo apt update && sudo apt upgrade -y -
Install Dependencies:
bash sudo apt install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 libevent-dev libboost-dev libdb5.3++-dev libsqlite3-dev -y -
Clone the Repo:
bash git clone https://github.com/bitcoin/bitcoin.git cd bitcoin -
Build:
bash ./autogen.sh ./configure --without-gui --disable-tests make -j$(nproc) -
Install:
bash sudo make install
macOS (M-Series) Homebrew Walkthrough
-
Install Homebrew:
bash /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -
Install Dependencies:
bash brew install automake libtool boost libevent berkeley-db@4 sqlite qt@5 -
Configure Path:
bash export PATH="/opt/homebrew/opt/qt@5/bin:$PATH" -
Build:
bash ./autogen.sh ./configure LDFLAGS="-L/opt/homebrew/opt/qt@5/lib" CPPFLAGS="-I/opt/homebrew/opt/qt@5/include" make -j$(sysctl -n hw.ncpu)
Windows WSL2 (Ubuntu) Walkthrough
-
Enable WSL: Open PowerShell as Admin and run
wsl --install. -
Open Ubuntu: Set your username and password.
-
Follow the Ubuntu Walkthrough (See above).
-
Note on Storage: Access your Windows C: drive at
/mnt/c/. It is recommended to create a symlink:bash ln -s /mnt/c/Users/YourName/Desktop/BitcoinData ~/.bitcoin
TeachMeBitcoin is an ad-free, open-source educational repository curated by a passionate team of Bitcoin researchers and educators for public benefit. If you found our articles helpful, please consider supporting our hosting and ongoing content updates with a clean donation: