TeachMeBitcoin

Supplemental: Step-by-Step Installation Walkthroughs

From TeachMeBitcoin, the free encyclopedia Reading time: 1 min

33. Supplemental: Step-by-Step Installation Walkthroughs

Ubuntu 22.04 / 24.04 LTS Walkthrough

  1. Prepare the System: bash sudo apt update && sudo apt upgrade -y

  2. 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

  3. Clone the Repo: bash git clone https://github.com/bitcoin/bitcoin.git cd bitcoin

  4. Build: bash ./autogen.sh ./configure --without-gui --disable-tests make -j$(nproc)

  5. Install: bash sudo make install

macOS (M-Series) Homebrew Walkthrough

  1. Install Homebrew: bash /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

  2. Install Dependencies: bash brew install automake libtool boost libevent berkeley-db@4 sqlite qt@5

  3. Configure Path: bash export PATH="/opt/homebrew/opt/qt@5/bin:$PATH"

  4. 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

  1. Enable WSL: Open PowerShell as Admin and run wsl --install.

  2. Open Ubuntu: Set your username and password.

  3. Follow the Ubuntu Walkthrough (See above).

  4. 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

☕ Help support TeachMeBitcoin

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:

Ethereum: 0x578417C51783663D8A6A811B3544E1f779D39A85
Bitcoin: bc1q77k9e95rn669kpzyjr8ke9w95zhk7pa5s63qzz
Solana: 4ycT2ayqeMucixj3wS8Ay8Tq9NRDYRPKYbj3UGESyQ4J
Address copied to clipboard!