From 5469f59fe31e93f0febab0172b75f9ea167f4a56 Mon Sep 17 00:00:00 2001 From: BenBlueeeee <120208759+BenBlueeeee@users.noreply.github.com> Date: Sat, 6 Dec 2025 10:53:36 +0000 Subject: [PATCH 1/2] Update rocm.md fix issue #3670 --- content/rocm.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/rocm.md b/content/rocm.md index 910e94f8f6..1841fd2fdd 100644 --- a/content/rocm.md +++ b/content/rocm.md @@ -30,10 +30,12 @@ First, add AMD's official ROCm repository to the system and set the appropriate ``` wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null -echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/6.1 jammy main" | sudo tee --append /etc/apt/sources.list.d/rocm.list +echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/latest jammy main" | sudo tee --append /etc/apt/sources.list.d/rocm.list echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600 ``` +Note: this may silently prompt you to input your password. + Next, update the package lists and install the `rocm` package: ``` From 99d29c5960bb61ebd3cfad1dadb863e4f7b0170d Mon Sep 17 00:00:00 2001 From: Jacob Kauffmann Date: Tue, 16 Dec 2025 17:00:15 -0700 Subject: [PATCH 2/2] Make instructions work on 24.04 & fix silent password prompt --- content/rocm.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/content/rocm.md b/content/rocm.md index 1841fd2fdd..47f275d537 100644 --- a/content/rocm.md +++ b/content/rocm.md @@ -24,18 +24,16 @@ AMD GPUs use [HIP](https://rocm.docs.amd.com/projects/HIP/en/latest/) (Heterogen The below instructions correspond with the necessary steps from [AMD's installation documentation for Ubuntu](https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/native-install/ubuntu.html). -## Installation on Pop!\_OS 22.04 +## Installation on Pop!\_OS 24.04 and 22.04 First, add AMD's official ROCm repository to the system and set the appropriate apt pin priority using the below commands: ``` -wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null -echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/latest jammy main" | sudo tee --append /etc/apt/sources.list.d/rocm.list +wget https://repo.radeon.com/rocm/rocm.gpg.key -qO - | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null +echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/latest $(lsb_release -cs 2>/dev/null) main" | sudo tee --append /etc/apt/sources.list.d/rocm.list echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600 ``` -Note: this may silently prompt you to input your password. - Next, update the package lists and install the `rocm` package: ```