Skip to content

Commit d3e40ea

Browse files
committed
Make instructions work on 24.04 & fix silent password prompt
1 parent 78f1310 commit d3e40ea

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

content/rocm.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,16 @@ AMD GPUs use [HIP](https://rocm.docs.amd.com/projects/HIP/en/latest/) (Heterogen
2424

2525
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).
2626

27-
## Installation on Pop!\_OS 22.04
27+
## Installation on Pop!\_OS 24.04 and 22.04
2828

2929
First, add AMD's official ROCm repository to the system and set the appropriate apt pin priority using the below commands:
3030

3131
```
32-
wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null
33-
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
32+
wget https://repo.radeon.com/rocm/rocm.gpg.key -qO - | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null
33+
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
3434
echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600
3535
```
3636

37-
Note: this may silently prompt you to input your password.
38-
3937
Next, update the package lists and install the `rocm` package:
4038

4139
```

0 commit comments

Comments
 (0)