Installing on Ubuntu
Nodes have been verified on Ubuntu 18.04. Other Debian-based distros should work as well (use
apt-get install rather than
Install using the Debian Package
Open a terminal and run the following commands.
sudo apt-get update sudo apt-get install -y gnupg2 curl software-properties-common sudo apt-key adv --fetch-keys https://releases.algorand.com/key.pub sudo add-apt-repository "deb https://releases.algorand.com/deb/ stable main" sudo apt-get update sudo apt-get install -y algorand algod -v
These commands will install and configure
algod as a service and place the algorand binaries in the /usr/bin directory. These binaries will be in the path so you can run
goal commands from anywhere. Additionally, every node has a data directory, in this case, it will be set to
The algod process will start automatically and you can check the node's status by running the following command.
goal node status -d /var/lib/algorand
This install defaults to the Algorand MainNet network. See switching networks if you wish to install DevNet or TestNet and note that the genesis files are stored under
Because algod is running as a service, you should use
systemctl instead of
goal to start, stop, and restart it.
Updating the Node
The Deb package is configured to auto update and should require no manual intervention.
Syncing with the Network
Follow the steps here to get more information on how the node will sync with the network.