1. Update the packages
Start by ensuring that the package list on the system is up to date by running the following command from the terminal:
sudo apt updateYou’ll also need wget and curl, if they do not come preinstalled on your distribution:
sudo apt install wget curl2. Download and install the babylonnode CLI
Now download the babylonnode CLI from its GitHub repository.
Copy the link to the script file for your distribution (e.g.
babylonnode-ubuntu-22.04)On the target system, download the binary using
wget. Here’s an example command that downloads version 2.2.3 (but you should always use the latest one) for Ubuntu 22.04:
wget -O babylonnode https://github.com/radixdlt/babylon-nodecli/releases/download/2.2.3/babylonnode-ubuntu-22.04By using the
babylonnodeCLI you agree to the End User License Agreement.
Set the permissions on the script to executable:
chmod +x babylonnodeAnd move it to the /usr/local/bin/ directory, so that it’s accessible without the need to specify a full path:
sudo mv babylonnode /usr/local/binIf you are installing the
babylonnodeCLI for use with an existing systemd node installation, thenbabylonnodeshould instead be moved to yourradixdltdirectory where it will expect to find your existing keystore file.You may also need to set the current user as the owner of the
radixdltdirectory.
Next: Installing the Node