Install Repository

Instructions on how to install our RPM repository.

Bootstrap

cat << 'EOF' | sudo tee /etc/yum.repos.d/staker.repo
[staker]
name=Mr Staker rpm repository
baseurl=https://rpm.staker.ltd/$basearch/
gpgkey=https://keybase.io/mrstaker/pgp_keys.asc?fingerprint=8E0D38C40089F860005989ACFD6652320303527F
gpgcheck=1
repo_gpgcheck=1
enabled=1
EOF

n.b If Keybase doesn’t work (because it’s rate limited, for example), you can try our backup instructions:

cat << 'EOF' | sudo tee /etc/yum.repos.d/staker.repo
[staker]
name=Mr Staker rpm repository
baseurl=https://rpm.staker.ltd/$basearch/
gpgkey=https://keys.openpgp.org/vks/v1/by-fingerprint/8E0D38C40089F860005989ACFD6652320303527F
gpgcheck=1
repo_gpgcheck=1
enabled=1
EOF

Install repository package

sudo yum -y install staker-repo

The repository package bundles the following:

  • Exported GPG public key used by yum and rpm to verify the repository metadata signature and packages signatures.
  • A configuration file /etc/yum.repos.d/staker.repo which shall be updated in the future to do our key rotation process.

All of the packages published in this repository have a dependency on our staker-repo package as this is how our signing key rotation works.

Maintenance

You must update staker-repo at least once per year to make sure you have up to date release keys.