Skip to content

Commit 0e36347

Browse files
authored
Remove RPM installation (#475)
1 parent 6f7c9c1 commit 0e36347

File tree

2 files changed

+34
-66
lines changed

2 files changed

+34
-66
lines changed

infrastructure/running-a-validator/onboarding-and-offboarding/set-up-validator.md

Lines changed: 18 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -135,44 +135,28 @@ Signature verification cryptographically ensures the downloaded binaries are aut
135135

136136
### Install with Package Managers
137137

138-
Users running Debian-based distributions like Ubuntu, or RPM-based distributions such as Fedora or CentOS can install the binaries via package managers.
139-
140-
??? interface "Debian-based (Debian, Ubuntu)"
141-
142-
Run the following commands as the root user to add the necessary repository and install the binaries:
143-
144-
```ssh
145-
# Import the [email protected] GPG key
146-
gpg --recv-keys --keyserver hkps://keys.mailvelope.com 9D4B2B6EB8F97156D19669A9FF0812D491B96798
147-
gpg --export 9D4B2B6EB8F97156D19669A9FF0812D491B96798 > /usr/share/keyrings/parity.gpg
148-
# Add the Parity repository and update the package index
149-
echo 'deb [signed-by=/usr/share/keyrings/parity.gpg] https://releases.parity.io/deb release main' > /etc/apt/sources.list.d/parity.list
150-
apt update
151-
# Install the `parity-keyring` package - This will ensure the GPG key
152-
# used by APT remains up-to-date
153-
apt install parity-keyring
154-
# Install polkadot
155-
apt install polkadot
156-
```
157-
158-
After installation, ensure the binaries are properly installed by [verifying the installation](#verify-installation).
138+
Users running Debian-based distributions like Ubuntu can install the binaries using the [APT](https://wiki.debian.org/Apt){target=\_blank} package manager.
159139

160-
??? interface "RPM-based (Fedora, CentOS)""
140+
Execute the following commands as root to add the official repository and install the binaries:
161141

162-
Run the following commands as the root user to install the binaries on an RPM-based system:
142+
```bash
143+
# Import the [email protected] GPG key
144+
gpg --recv-keys --keyserver hkps://keys.mailvelope.com 9D4B2B6EB8F97156D19669A9FF0812D491B96798
145+
gpg --export 9D4B2B6EB8F97156D19669A9FF0812D491B96798 > /usr/share/keyrings/parity.gpg
163146

164-
```bash
165-
# Install dnf-plugins-core (This might already be installed)
166-
dnf install dnf-plugins-core
167-
# Add the repository and activate it
168-
dnf config-manager --add-repo https://releases.parity.io/rpm/polkadot.repo
169-
dnf config-manager --set-enabled polkadot
170-
# Install polkadot (You may have to confirm the import of the GPG key, which
171-
# should have the following fingerprint: 9D4B2B6EB8F97156D19669A9FF0812D491B96798)
172-
dnf install polkadot
173-
```
147+
# Add the Parity repository and update the package index
148+
echo 'deb [signed-by=/usr/share/keyrings/parity.gpg] https://releases.parity.io/deb release main' > /etc/apt/sources.list.d/parity.list
149+
apt update
150+
151+
# Install the `parity-keyring` package - This will ensure the GPG key
152+
# used by APT remains up-to-date
153+
apt install parity-keyring
154+
155+
# Install polkadot
156+
apt install polkadot
157+
```
174158

175-
After installation, ensure the binaries are properly installed by [verifying the installation](#verify-installation).
159+
Once installation completes, verify the binaries are correctly installed by following the steps in the [verify installation](#verify-installation) section.
176160

177161
### Install with Ansible
178162

llms.txt

Lines changed: 16 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -12928,44 +12928,28 @@ Signature verification cryptographically ensures the downloaded binaries are aut
1292812928

1292912929
### Install with Package Managers
1293012930

12931-
Users running Debian-based distributions like Ubuntu, or RPM-based distributions such as Fedora or CentOS can install the binaries via package managers.
12931+
Users running Debian-based distributions like Ubuntu can install the binaries using the [APT](https://wiki.debian.org/Apt){target=\_blank} package manager.
1293212932

12933-
??? interface "Debian-based (Debian, Ubuntu)"
12933+
Execute the following commands as root to add the official repository and install the binaries:
1293412934

12935-
Run the following commands as the root user to add the necessary repository and install the binaries:
12936-
12937-
```ssh
12938-
# Import the [email protected] GPG key
12939-
gpg --recv-keys --keyserver hkps://keys.mailvelope.com 9D4B2B6EB8F97156D19669A9FF0812D491B96798
12940-
gpg --export 9D4B2B6EB8F97156D19669A9FF0812D491B96798 > /usr/share/keyrings/parity.gpg
12941-
# Add the Parity repository and update the package index
12942-
echo 'deb [signed-by=/usr/share/keyrings/parity.gpg] https://releases.parity.io/deb release main' > /etc/apt/sources.list.d/parity.list
12943-
apt update
12944-
# Install the `parity-keyring` package - This will ensure the GPG key
12945-
# used by APT remains up-to-date
12946-
apt install parity-keyring
12947-
# Install polkadot
12948-
apt install polkadot
12949-
```
12950-
12951-
After installation, ensure the binaries are properly installed by [verifying the installation](#verify-installation).
12935+
```bash
12936+
# Import the [email protected] GPG key
12937+
gpg --recv-keys --keyserver hkps://keys.mailvelope.com 9D4B2B6EB8F97156D19669A9FF0812D491B96798
12938+
gpg --export 9D4B2B6EB8F97156D19669A9FF0812D491B96798 > /usr/share/keyrings/parity.gpg
1295212939

12953-
??? interface "RPM-based (Fedora, CentOS)""
12940+
# Add the Parity repository and update the package index
12941+
echo 'deb [signed-by=/usr/share/keyrings/parity.gpg] https://releases.parity.io/deb release main' > /etc/apt/sources.list.d/parity.list
12942+
apt update
1295412943

12955-
Run the following commands as the root user to install the binaries on an RPM-based system:
12944+
# Install the `parity-keyring` package - This will ensure the GPG key
12945+
# used by APT remains up-to-date
12946+
apt install parity-keyring
1295612947

12957-
```bash
12958-
# Install dnf-plugins-core (This might already be installed)
12959-
dnf install dnf-plugins-core
12960-
# Add the repository and activate it
12961-
dnf config-manager --add-repo https://releases.parity.io/rpm/polkadot.repo
12962-
dnf config-manager --set-enabled polkadot
12963-
# Install polkadot (You may have to confirm the import of the GPG key, which
12964-
# should have the following fingerprint: 9D4B2B6EB8F97156D19669A9FF0812D491B96798)
12965-
dnf install polkadot
12966-
```
12948+
# Install polkadot
12949+
apt install polkadot
12950+
```
1296712951

12968-
After installation, ensure the binaries are properly installed by [verifying the installation](#verify-installation).
12952+
Once installation completes, verify the binaries are correctly installed by following the steps in the [verify installation](#verify-installation) section.
1296912953

1297012954
### Install with Ansible
1297112955

0 commit comments

Comments
 (0)