Skip to content

Commit eb3ed33

Browse files
author
Kalle Fagerberg
committed
Added RPM & DEB package docs
1 parent cffb518 commit eb3ed33

1 file changed

Lines changed: 74 additions & 10 deletions

File tree

src/content/docs/setup/install.mdx

Lines changed: 74 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,80 @@ brew install kubecolor
4545

4646
:::
4747

48+
## DEB
49+
50+
[![debian version from custom repo](https://img.shields.io/github/v/release/kubecolor/kubecolor?label=deb%20package&color=4cc61f)](https://github.com/kubecolor/kubecolor/releases/latest)
51+
52+
Applies to: Debian, Ubuntu, Pop!_OS, Linux Mint, Elementary OS
53+
54+
Do not use the `kubecolor` package from debian-unstable or Ubuntu's
55+
repositories as it is very outdated. Instead, use our custom repo.
56+
57+
<Tabs>
58+
<TabItem label="Graphical install">
59+
Our `.deb` files are self-bootstrapping, meaning you just have to
60+
install it and it will set up the repository for you so that you
61+
will get any future updates in your package manager.
62+
63+
1. Download the `deb` file for your architecture [from the latest release](https://github.com/kubecolor/kubecolor/releases/latest)
64+
(found down at the "Assets")
65+
66+
2. Install it using your package manager by opening the downloaded `deb` file
67+
68+
3. Done 🎉
69+
</TabItem>
70+
<TabItem label="Scripted install">
71+
```bash
72+
sudo apt-get update
73+
sudo apt-get install apt-transport-https wget --yes
74+
wget -O /tmp/kubecolor.deb https://kubecolor.github.io/packages/deb/pool/main/k/kubecolor/kubecolor_$(wget -q -O- https://kubecolor.github.io/packages/deb/version)_$(dpkg --print-architecture).deb
75+
sudo dpkg -i /tmp/kubecolor.deb
76+
sudo apt update
77+
```
78+
</TabItem>
79+
</Tabs>
80+
81+
## RPM
82+
83+
[![rpm version from custom repo](https://img.shields.io/github/v/release/kubecolor/kubecolor?label=rpm%20package&color=4cc61f)](https://github.com/kubecolor/kubecolor/releases/latest)
84+
85+
Applies to: Fedora, CentOS, RHEL, openSUSE, AlmaLinux, Rocky Linux
86+
87+
<Tabs>
88+
<TabItem label="dnf5">
89+
DNF5 is found in Fedora 41 and later. Run `dnf --version` to see which version you have.
90+
91+
```bash
92+
sudo dnf install dnf5-plugins
93+
sudo dnf config-manager addrepo --from-repofile https://kubecolor.github.io/packages/rpm/kubecolor.repo
94+
sudo dnf install kubecolor
95+
```
96+
97+
OpenPGP key fingerprint: `5BC8E65EEE2DB9CBCD44A91762ACB02733C915F1`
98+
</TabItem>
99+
<TabItem label="dnf4">
100+
DNF5 is found in Fedora 40 and earlier. Run `dnf --version` to see which version you have.
101+
102+
```bash
103+
sudo dnf install 'dnf-command(config-manager)'
104+
sudo dnf config-manager --add-repo https://kubecolor.github.io/packages/rpm/kubecolor.repo
105+
sudo dnf install kubecolor
106+
```
107+
108+
GPG key fingerprint: `5BC8 E65E EE2D B9CB CD44 A917 62AC B027 33C9 15F1`
109+
</TabItem>
110+
<TabItem label="zypper">
111+
Zypper is found in openSUSE
112+
113+
```bash
114+
sudo zypper addrepo https://kubecolor.github.io/packages/rpm/kubecolor.repo
115+
sudo zypper install kubecolor
116+
```
117+
118+
Key fingerprint: `5BC8 E65E EE2D B9CB CD44 A917 62AC B027 33C9 15F1`
119+
</TabItem>
120+
</Tabs>
121+
48122
## Scoop
49123

50124
![Scoop Version](https://img.shields.io/scoop/v/kubecolor?label=Scoop%2FMain&color=4cc61f)
@@ -163,16 +237,6 @@ chmod 644 ~/.kube/config
163237

164238
:::
165239

166-
## Debian/Ubuntu
167-
168-
[![Debian version](https://repology.org/badge/version-for-repo/debian_unstable/kubecolor.svg)](https://repology.org/project/kubecolor/versions)
169-
170-
The Debian package (and its dervivatives like Ubuntu, elementary OS,
171-
Linux Mint, Pop!_OS, Zorin OS, etc) is very outdated and as such is
172-
highly discouraged.
173-
174-
Please use a different mode for installing kubecolor.
175-
176240
## Missing a repository?
177241

178242
We only add new repositories and ways to install kubecolor on demand.

0 commit comments

Comments
 (0)