From e0ad723b8675f8004108a0011b7c730e757b5863 Mon Sep 17 00:00:00 2001 From: boredsquirrel <113100745+boredsquirrel@users.noreply.github.com> Date: Thu, 19 Dec 2024 17:42:37 +0000 Subject: [PATCH 1/2] refactor: generalized RPM install instructions generalized distro names, list them once at the beginning (Fedora and Enterprise Linux have too many derivatives) Also documented the install on Fedora Atomic Desktops etc. --- _posts/2000-01-05-install.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/_posts/2000-01-05-install.md b/_posts/2000-01-05-install.md index 98b4151..be1bb59 100644 --- a/_posts/2000-01-05-install.md +++ b/_posts/2000-01-05-install.md @@ -142,17 +142,27 @@ sudo apt update && sudo apt install codium --- -### Install on Fedora / RHEL / CentOS / RockyLinux / OpenSUSE (rpm package): +### Install on Fedora / Enterprise Linux / OpenSUSE (rpm package): + +These include +- RHEL +- CentOS Stream +- AlmaLinux, RockyLinux, Oracle Linux +- HeliumOS, Ultramarine, Nobara, etc. +- Fedora +- Fedora Atomic Desktops, uBlue (Bazzite, Aurora, Bluefin) +- SUSE, OpenSUSE and variants Add the GPG key of the repository: ```bash -sudo rpmkeys --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg +curl -O https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg +sudo install -o 0 -g 0 -m644 pub.gpg /etc/pki/rpm-gpg/vscodium.gpg ``` Add the repository: -- **Fedora/RHEL/CentOS/Rocky Linux**: +- **Fedora / Enterprise Linux etc.**: ```bash printf "[gitlab.com_paulcarroty_vscodium_repo]\nname=download.vscodium.com\nbaseurl=https://download.vscodium.com/rpms/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg\nmetadata_expire=1h" | sudo tee -a /etc/yum.repos.d/vscodium.repo ``` @@ -166,10 +176,14 @@ Add the repository: Install the software: (if you want vscodium-insiders, then replace `codium` by `codium-insiders`) -- **Fedora/RHEL/CentOS/Rocky Linux**: +- **Fedora/Enterprise Linux/Ultramarine**: ``` sudo dnf install codium ``` + On systems using `rpm-ostree`: + ``` + rpm-ostree install codium + ``` - **OpenSUSE/SUSE**: ``` sudo zypper in codium From 02fee95d616fbf87a44059ebfac90b990e0df04a Mon Sep 17 00:00:00 2001 From: boredsquirrel <113100745+boredsquirrel@users.noreply.github.com> Date: Thu, 19 Dec 2024 17:44:33 +0000 Subject: [PATCH 2/2] fixes --- _posts/2000-01-05-install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/2000-01-05-install.md b/_posts/2000-01-05-install.md index be1bb59..371dddb 100644 --- a/_posts/2000-01-05-install.md +++ b/_posts/2000-01-05-install.md @@ -150,7 +150,7 @@ These include - AlmaLinux, RockyLinux, Oracle Linux - HeliumOS, Ultramarine, Nobara, etc. - Fedora -- Fedora Atomic Desktops, uBlue (Bazzite, Aurora, Bluefin) +- Fedora Atomic Desktops, CoreOS, IOT, uBlue (Bazzite, Aurora, Bluefin) - SUSE, OpenSUSE and variants Add the GPG key of the repository: @@ -176,7 +176,7 @@ Add the repository: Install the software: (if you want vscodium-insiders, then replace `codium` by `codium-insiders`) -- **Fedora/Enterprise Linux/Ultramarine**: +- **Fedora/Enterprise Linux etc.**: ``` sudo dnf install codium ```