Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: generalized RPM install instructions #92

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions _posts/2000-01-05-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,17 +142,27 @@ sudo apt update && sudo apt install codium
---

<a tabindex="-1" aria-hidden="true" id="rpm" href="#rpm"></a>
### Install on Fedora / RHEL / CentOS / RockyLinux / OpenSUSE (rpm package):
### Install on Fedora / Enterprise Linux / OpenSUSE (rpm package):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the list and keep it simple as ### Install on Fedora / RHEL / RockyLinux / OpenSUSE (rpm package):


These include
- RHEL
- CentOS Stream
- AlmaLinux, RockyLinux, Oracle Linux
- HeliumOS, Ultramarine, Nobara, etc.
- Fedora
- Fedora Atomic Desktops, CoreOS, IOT, 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahat's the benefit compared to rpmkeys --import?

```

Add the repository:

- **Fedora/RHEL/CentOS/Rocky Linux**:
- **Fedora / Enterprise Linux etc.**:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just remove CentOS

```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
```
Expand All @@ -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 etc.**:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just remove CentOS

```
sudo dnf install codium
```
On systems using `rpm-ostree`:
```
rpm-ostree install codium
```
- **OpenSUSE/SUSE**:
```
sudo zypper in codium
Expand Down