Prerequisites

  1. Operating System: Ubuntu 20.04 or later is recommended.
  2. Hardware Requirements (minimum):
  3. Software:

Step 1: Install Dependencies

  1. Update the system:

    sudo apt update && sudo apt upgrade -y
    
    
  2. Install required tools:

    sudo apt install -y git curl wget build-essential
    
    
  3. Install Docker and Docker Compose:

  4. Install Go (if building from source):

    wget <https://go.dev/dl/go1.21.1.linux-amd64.tar.gz>
    sudo tar -C /usr/local -xzf go1.21.1.linux-amd64.tar.gz
    echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bashrc
    source ~/.bashrc
    
    

Step 2: Clone the Mycel Repository

  1. Clone the repository:

    git clone <https://github.com/mycelproject/mycel-node.git>
    cd mycel-node
    
    
  2. Check out the latest release:

    git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
    
    

Step 3: Build the Node (Optional)

If you prefer to build the binary instead of using a precompiled version:

  1. Compile the node:

    make build
    
    

    The binary will be available in the build/ directory.

  2. Move the binary to a directory in your PATH:

    sudo mv build/mycel-node /usr/local/bin/mycel