From 398f761979568458e741c7317c80c6389a460f98 Mon Sep 17 00:00:00 2001 From: Gregory Power <31050507+gregorywaynepower@users.noreply.github.com> Date: Sat, 15 Jun 2024 00:41:19 -0400 Subject: [PATCH 1/4] Update README.md Credit to [SoaresAlisson](https://github.com/r-lib/rig/issues/206#issuecomment-2057856982) Shows users how to add custom RIG_PLATFORM --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 8de657d..fd31936 100644 --- a/README.md +++ b/README.md @@ -198,6 +198,13 @@ If you already added both the key and the repository, then install the `which sudo` apt update `which sudo` apt install r-rig +##### Installing rig on Ubuntu and Debian (DEB package) on Pop!_OS (Ubuntu 22.04 LTS) + +On Pop!_OS you can manually set the RIG_PLATFORM by editing your environment variables. + + `which sudo` echo -e '\n# Customize RIG_PLATFORM for r-rig' >> ~/.profile + `which sudo` echo -e 'export RIG_PLATFORM="ubuntu-22.04"' >> ~/.profile + #### Installing rig on RHEL, Fedora, CentOS, Rocky Linux, Almalinux, etc. (RPM package) On most RPM based distros (except for OpenSUSE and SLES) you can install From 4a53959ac1bcf53abca0d20bdb90cc2fc8ebec32 Mon Sep 17 00:00:00 2001 From: Gregory Power <31050507+gregorywaynepower@users.noreply.github.com> Date: Sat, 15 Jun 2024 00:48:40 -0400 Subject: [PATCH 2/4] additional instructions for Pop!_OS --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fd31936..8054ffc 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,7 @@ tracker](https://github.com/r-lib/rig/issues). - [Linux](#id-linux) - [Supported Linux distributions](#id-supported-linux-distributions) - [Ubuntu and Debian (DEB package)](#id-ubuntu-and-debian-deb-package) + - [Pop!_OS (DEB package)](#id-popos-deb-package) - [RHEL, Fedora, CentOS, Rocky Linux, Almalinux, etc. (RPM package)](#id-rhel-fedora-centos-rocky-linux-almalinux-etc-rpm-package) - [OpenSUSE and SLES (RPM package)](#id-opensuse-and-sles-rpm-package) @@ -198,7 +199,22 @@ If you already added both the key and the repository, then install the `which sudo` apt update `which sudo` apt install r-rig -##### Installing rig on Ubuntu and Debian (DEB package) on Pop!_OS (Ubuntu 22.04 LTS) +#### Installing rig on Pop!_OS (Ubuntu 22.04 LTS) (DEB package) + +On Pop!_OS you can install packages from any Ubuntu or Debian distro, you can use our package repository to +install rig. First you add our key to your config: + + `which sudo` curl -L https://rig.r-pkg.org/deb/rig.gpg -o /etc/apt/trusted.gpg.d/rig.gpg + +Then add the rig repository: + + `which sudo` sh -c 'echo "deb http://rig.r-pkg.org/deb rig main" > /etc/apt/sources.list.d/rig.list' + +If you already added both the key and the repository, then install the +`r-rig` package (`rig` is a different package in Debian and Ubuntu): + + `which sudo` apt update + `which sudo` apt install r-rig On Pop!_OS you can manually set the RIG_PLATFORM by editing your environment variables. From 8bd9886ee17c1e9734a99b22c2413ba74067b2c3 Mon Sep 17 00:00:00 2001 From: Gregory Power <31050507+gregorywaynepower@users.noreply.github.com> Date: Sat, 15 Jun 2024 00:54:24 -0400 Subject: [PATCH 3/4] add source ~/.profile to instructions --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8054ffc..201fa1a 100644 --- a/README.md +++ b/README.md @@ -220,6 +220,7 @@ On Pop!_OS you can manually set the RIG_PLATFORM by editing your environment var `which sudo` echo -e '\n# Customize RIG_PLATFORM for r-rig' >> ~/.profile `which sudo` echo -e 'export RIG_PLATFORM="ubuntu-22.04"' >> ~/.profile + `which sudo` source ~/.profile #### Installing rig on RHEL, Fedora, CentOS, Rocky Linux, Almalinux, etc. (RPM package) From 275580019db1dafcb9dc2898b6f243f156092e8c Mon Sep 17 00:00:00 2001 From: Gregory Power <31050507+gregorywaynepower@users.noreply.github.com> Date: Sat, 15 Jun 2024 01:09:11 -0400 Subject: [PATCH 4/4] add alternate instructions for ZSH shell --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 201fa1a..5a7c263 100644 --- a/README.md +++ b/README.md @@ -216,12 +216,18 @@ If you already added both the key and the repository, then install the `which sudo` apt update `which sudo` apt install r-rig -On Pop!_OS you can manually set the RIG_PLATFORM by editing your environment variables. +On Pop!_OS you can manually set the RIG_PLATFORM by editing your environment variables for Bash. `which sudo` echo -e '\n# Customize RIG_PLATFORM for r-rig' >> ~/.profile `which sudo` echo -e 'export RIG_PLATFORM="ubuntu-22.04"' >> ~/.profile `which sudo` source ~/.profile +For ZSH you can manually set the RIG_PLATFORM by editing your environment variables with the following instructions. + + `which sudo` echo -e '\n# Customize RIG_PLATFORM for r-rig' >> ~/.zprofile + `which sudo` echo -e 'export RIG_PLATFORM="ubuntu-22.04"' >> ~/.zprofile + `which sudo` source ~/.zprofile + #### Installing rig on RHEL, Fedora, CentOS, Rocky Linux, Almalinux, etc. (RPM package) On most RPM based distros (except for OpenSUSE and SLES) you can install