Upgrade to 8.1.1 from 8.0.0
Quick update guide from 8.0.0 to 8.1.1
1. backing up current binaries
cd ~/.local/bin/
# let's create a folder with the version number
mkdir -p $(cardano-node version | grep -oP '(?<=cardano-node )[0-9\.]+')
# copying files to the created folder
cp cardano-node $(cardano-node version | grep -oP '(?<=cardano-node )[0-9\.]+')/
cp cardano-cli $(cardano-node version | grep -oP '(?<=cardano-node )[0-9\.]+')/2. Upgrading and updating the system packages
# let's update the system first
sudo bash -c 'sudo apt-get update -y; sudo apt-get upgrade -y'3. Updating the Cardano node requirements
ghcup install ghc 8.10.7
ghcup install cabal 3.8.1.0
ghcup set ghc 8.10.7
ghcup set cabal 3.8.1.0sudo apt install -y libsodium-dev libtool autoconf makeUpdate/ install new libsodium version
4. Downloading configuration files (leaving old topology file in place):
5. Proceeding with Cardano Node binary updates
And now we wait... it could take some while (1h+ ) to compile, depending on your server's CPU

Before the next step - STOP your node so it doesn't lock the carano-node file for overwriting
you should now have similar output:

Now we can start the Cardano node process
and check the log files if everything is starting up as planned:

that's it - you have upgraded your node to the latest cardano-node version, now do the same update on all of your other production servers (or copy generated cardano-cli / cardano-node bin files).
Last updated
Was this helpful?