repo.casper.network

Changing from focal (20.04) to jammy (22.04)

For nodes than have existing focal repo setup, you can run just the last line in the instructions below.

To add repository

We are creating /etc/apt/keyrings if needed, so we don't have the issue with this key being trusted by all APT requests if stored in /etc/apt/trusted.gpg.d.
sudo mkdir -m 0755 -p /etc/apt/keyrings/
sudo curl https://repo.casper.network/casper-repo-pubkey.gpg --output /etc/apt/keyrings/casper-repo-pubkey.gpg
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/casper-repo-pubkey.gpg] https://repo.casper.network/releases jammy main" | sudo tee /etc/apt/sources.list.d/casper.list

Update and check

The output of running `apt update` will show us that the repo was added correctly.

sudo apt update

We should see:

https://repo.casper.network/releases jammy InRelease

in one of the "Hit" lines and no errors.