Skip to content

Commit d4a5a5e

Browse files
committed
add DNF/YUM/Zypper installation Guide
1 parent d28f1b3 commit d4a5a5e

File tree

1 file changed

+42
-6
lines changed

1 file changed

+42
-6
lines changed

INSTALLATION.md

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,52 @@ asset_filters=["stackit-cli_", "_linux_amd64.tar.gz"]
130130
eget stackitcloud/stackit-cli
131131
```
132132

133-
#### RPM package via dnf, yum and zypper
133+
#### RHEL/Fedora/Rocky/Alma/openSUSE/... (`DNF/YUM/Zypper`)
134134

135-
The STACKIT CLI is available as [RPM Package](https://github.com/stackitcloud/stackit-cli/releases) and can be installed via dnf, yum and zypper package manager.
135+
The STACKIT CLI can be installed through the [`DNF/YUM`](https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/package-management/DNF/) / [`Zypper`](https://de.opensuse.org/Zypper) package managers.
136136

137-
Just download the rpm package from the [release page](https://github.com/stackitcloud/stackit-cli/releases) and run the install command like the following:
137+
Note: Requires rpm version 4.15 or newer to support Ed25519 signatures.
138+
139+
##### Installing DNF/YUM
140+
141+
1. Add the repository:
142+
143+
```shell
144+
sudo tee /etc/yum.repos.d/stackit.repo > /dev/null << 'EOF'
145+
[stackit]
146+
name=STACKIT CLI
147+
baseurl=https://distribution-test.object.storage.eu01.onstackit.cloud/rpm/cli/$basearch
148+
enabled=1
149+
gpgcheck=1
150+
gpgkey=https://distribution-test.object.storage.eu01.onstackit.cloud/keys/key.gpg
151+
EOF
152+
```
153+
154+
2. Install the CLI:
155+
156+
```shell
157+
sudo dnf install -y stackit
158+
```
159+
160+
##### Installing Zypper
161+
162+
1. Add the repository:
163+
164+
```shell
165+
sudo tee /etc/zypp/repos.d/stackit.repo > /dev/null << 'EOF'
166+
[stackit]
167+
name=STACKIT CLI
168+
baseurl=https://distribution-test.object.storage.eu01.onstackit.cloud/rpm/cli/$basearch
169+
enabled=1
170+
gpgcheck=1
171+
gpgkey=https://distribution-test.object.storage.eu01.onstackit.cloud/keys/key.gpg
172+
EOF
173+
```
174+
175+
2. Install the CLI:
138176

139177
```shell
140-
dnf install stackitcli.rpm
141-
yum install stackitcli.rpm
142-
zypper install stackitcli.rpm
178+
sudo zypper install -y stackit
143179
```
144180

145181
#### Any distribution

0 commit comments

Comments
 (0)