🌐
Radeon
repo.radeon.com › rocm › apt
Index of /rocm/apt/
For information on available ROCm releases, please refer to the ROCm Release Notes
/rocm/
For information on available ROCm releases, please refer to the ROCm Release Notes · For information on available Radeon Software for Linux releases, please refer to Linux® Drivers for AMD Radeon™ and Radeon PRO™ Graphics. ../ apt/ 28-May-2026 16:35 - archive/ 17-Jun-2020 20:29 - azurelinux3/ ...
/amdgpu-install/
For information on available ROCm releases, please refer to the ROCm Release Notes
/rocm/apt/debian/
For information on available ROCm releases, please refer to the ROCm Release Notes
🌐
Debian
apt.rocm.debian.net
Debian ROCm Team - APT Archive
This is the APT archive of the Debian ROCm Team. In the repository /debian, you will find packages that are either
Discussions

How to install AMD ROCm for OpenCL support - Hardware - discuss.pixls.us
To install ROCm with OpenCL and Image Support, you have do the following five steps: Add the ROCm (>= 3.1) repository to your package manager. You can find the repositories for Debian/Ubuntu, Fedora/RHEL or openSUSE/SLE here. For example to add a zypper repository on openSUSE create the following ... More on discuss.pixls.us
🌐 discuss.pixls.us
6
March 5, 2020
Ubuntu 24.04: install rocm without amdgpu-dkms?
You don’t need to use amdgpu-install for ROCm. All the necessary ROCm libraries are available directly from the default repositories. Install synaptic, then search for rocm and install the packages that are libraries. Most will be on version 5.7.1, but a few are older versions and I think one is a newer version. Don’t forget to install rocminfo and radeontop. Also you’ll still need to perform: sudo usermod -a -G render,video $LOGNAME Then reboot for everything to work. More on reddit.com
🌐 r/ROCm
10
7
May 1, 2024
Question: how to make apt install rocm work on 26.04?
I can answer my own question. It appears everything is installed and set up already. The snaps simply don't support AMD. After learning that, i built a fresh llama.cpp and that is pretty much all i need: # build llama.cpp with hardware accelleration on Strix Halo and # Ubuntu 26.04 LTS (server installation), this worked at 08.Mar.2026 # install dependencies apt install git rocm-smi rocminfo nvtop hipcc build-essential cmake hipcc hipblas libssl-dev libhipblas-dev libhipblaslt-dev # get llama.cpp git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp # build llama.cpp HIPCXX="$(hipconfig -l)/clang" HIP_PATH="$(hipconfig -R)" cmake -S . -B build -DGGML_HIP=ON -DGPU_TARGETS=gfx1151 -DCMAKE_BUILD_TYPE=Release cmake --build build --config Release -j 16 # run llama.cpp /root/llama.cpp/build/bin/llama-cli -hf unsloth/Qwen3.5-9B-GGUF:Q4_K_M # start a webserver and point your browser to http://192.168.1.4:11337/ /root/llama.cpp/build/bin/llama-server --host 192.168.1.4 --port 11337 --hf-repo unsloth/Qwen3.5-9B-GGUF:Q4_K_M --flash-attn on --cache-type-k q8_0 --cache-type-v q8_0 You can use nvtop to watch it burn watts, but sadly, images are not allowed here, so i can't share. More on reddit.com
🌐 r/Ubuntu
6
3
March 8, 2026
Install ROCm Fedora 38
Installed ROCm from this repo: https://copr.fedorainfracloud.org/coprs/cosmicfusion/ROCm-GFX8P/ At least pytorch-rocm is working. More on reddit.com
🌐 r/Fedora
10
9
May 26, 2023
🌐
Docker Hub
hub.docker.com › r › rocm › dev-ubuntu-20.04
rocm/dev-ubuntu-20.04 - Docker Image
It's meant to serve as a base ROCm image for downstream images to derive from with the dockerfile FROM statement. The contents of this image is built with: FROM ubuntu:20.04 LABEL maintainer=[email protected]⁠ · RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl libnuma-dev gnupg && curl -sL http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key⁠ | apt-key add - && printf "deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/⁠ xenial main" | tee /etc/apt/sources.list.d/rocm.list && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends sudo libelf1 rocm-dev build-essential && apt-get clean && rm -rf /var/lib/apt/lists/*
🌐
AMD ROCm
rocm.docs.amd.com › projects › install-on-linux › en › latest › install › install-methods › package-manager › package-manager-ubuntu.html
Ubuntu native installation — ROCm installation (Linux)
sudo tee /etc/apt/sources.list.d/rocm.list << EOF deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/7.2.4 noble main deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/graphics/7.2.4/ubuntu noble main EOF sudo tee /etc/apt/preferences.d/rocm-pin-600 << EOF Package: * Pin: release o=repo.radeon.com Pin-Priority: 600 EOF sudo apt update Ubuntu 22.04
🌐
Docker Hub
hub.docker.com › r › rocm › dev-ubuntu-18.04
rocm/dev-ubuntu-18.04 - Docker Image
FROM ubuntu:18.04 LABEL [email protected] # Register the ROCM package repository, and install rocm-dev package RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl libnuma-dev gnupg \ && curl -sL http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | apt-key add - \ && printf "deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main" | tee /etc/apt/sources.list.d/rocm.list \ && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ sudo \ libelf1 \ rocm-dev \ build-essential && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* Copy ·
🌐
AMD ROCm
rocm.docs.amd.com › en › docs-5.0.2 › deploy › linux › os-native › install.html
Installation (Linux) — ROCm 5.0.2 Documentation Home
The current rocm.gpg.key is not available in a standard key ring distribution but has the following SHA1 sum hash: 73f5d8100de6048aa38a8b84cd9a87f05177d208 rocm.gpg.key · 2. Add the AMDGPU Repository and Install the Kernel-mode Driver ... If you have a version of the kernel-mode driver installed, you may skip this section. ... # amdgpu repository for bionic echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/21.50.2/ubuntu bionic main' \ | sudo tee /etc/apt/sources.list.d/amdgpu.list sudo apt update Ubuntu 20.04
🌐
AMD ROCm
rocm.docs.amd.com › projects › install-on-linux › en › latest › install › quick-start.html
Quick start installation guide — ROCm installation (Linux)
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm sudo rpm -ivh epel-release-latest-9.noarch.rpm sudo dnf install dnf-plugin-config-manager sudo crb enable sudo dnf install python3-setuptools python3-wheel sudo usermod -a -G render,video $LOGNAME # Add the current user to the render and video groups sudo dnf install rocm ... To apply all settings, reboot your system. ... Quick Start enables GPU access for the current user only. To grant GPU access to all users, see Configuring permissions for GPU access. After completing the installation, review the Post-installation instructions. If you have issues with your installation, see Troubleshooting. ... To apply all settings, reboot your system. ... sudo apt purge amdgpu-install sudo apt autoremove # Clear the cache and clean the system sudo rm -rf /var/cache/apt/* sudo apt clean all sudo apt update 22.04
🌐
Pixls.us
discuss.pixls.us › hardware
How to install AMD ROCm for OpenCL support - Hardware - discuss.pixls.us
March 5, 2020 - To install ROCm with OpenCL and Image Support, you have do the following five steps: Add the ROCm (>= 3.1) repository to your package manager. You can find the repositories for Debian/Ubuntu, Fedora/RHEL or openSUSE/SLE here.
Find elsewhere
Top answer
1 of 2
6

Yes, I believe you can. Doing the following, I a least successfully installed ROCm 5.1.1 on the Ubuntu-based Pop!_OS 22.04. I am now able to run PyTorch computations on my GPU, an AMD RX 6800 XT.

I essentially followed this comment, with a bit of extras. See also that comment for reasons for some steps.

Some places below, you must replace 5.1.1 with the version you want.

amdgpu-install

We going to use a terminal. So open one. Create a directory to work in:

mkdir ~/ROCm && cd ~/ROCm

Update, then download the .deb file for amdgpu-install, and install it (link gotten from AMD):

sudo apt update
wget https://repo.radeon.com/amdgpu-install/22.20.1/ubuntu/focal/amdgpu-install_22.20.50201-1_all.deb
sudo apt-get install ./amdgpu-install_22.20.50201-1_all.deb

We now have to edit amdgpu-install:

sudo gedit /usr/bin/amdgpu-install 
  1. Pop!_OS is not listed as supported by amdgpu-install, so we add it: Search for ubuntu, and add |pop to the list (| reads "or").

  2. Search for linux-modules-extra and replace the entire function debian_build_package_list() with, on one line,

     function debian_build_package_list() { echo 'empty function'; }
    
  3. Save and quit

Python 3.8

Packages in the next steps require that we have also the older Python 3.8 installed. So:

sudo add-apt-repository --yes ppa:deadsnakes/ppa
sudo apt-get update
sudo apt install --yes python3.8

ROCm Repositories and Package Editing

Next, we add the desired ROCm repository. The link is relative to the ROCm version to be installed, so look up the base URL here.

echo 'deb [arch=amd64] <Release-1 specific rocm baseurl> ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list
sudo apt update

I used ROCm 5.1.1, so I used specifically

echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/5.1.1 ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list

The download the .deb file for the ROCm package:

apt download rocm-llvm5.1.1

Edit Package 1/2

We need to edit this package before it will install. So we unpack, unpack and edit (by <tab> I mean press Tab to autocomplete):

 ar x rocm-llvm<tab>
 tar xf control.tar.xz
 gedit control

In control, edit the Depends line to

Depends: python3, libc6, libstdc++6|libstdc++8, libstdc++-5-dev|libstdc++-7-dev|libstdc++-10-dev, libgcc-5-dev|libgcc-7-dev|libgcc-10-dev, rocm-core5.1.1

I.e., add |libstdc++-10-dev and |libgcc-10-dev in the appropriate positions.

Then repack:

tar c postinst prerm control | xz -c > control.tar.xz
ar rcs rocm-llvm5.1.1_14.0.0.22114.50101-48_amd64.deb debian-binary control.tar.xz data.tar.xz

Great! Now, we install the possible dependencies we just added, and rocm-core5.1.1:

sudo apt install libstdc++-10-dev libgcc-10-dev rocm-core5.1.1

Now the downloaded package installed for me with

sudo dpkg -i rocm-llvm<tab>

Super.

Edit Package 2/2

Now we download, identically edit, and repack another package, openmp-extras5.1.1:

mkdir openmp && cd openmp
apt download openmp-extras5.1.1
ar x openmp<tab>
tar xf control.tar.xz
gedit control

Edit Depends line, add |libstdc++-10-dev and |libgcc-10-dev as before. Save, close, repack, install a dependency, and then the package with:

tar c control | xz -c > control.tar.xz
ar rcs openmp-extras5.1.1_13.51.0.50101-48_amd64.deb debian-binary control.tar.xz data.tar.xz
sudo apt install rocm-device-libs5.1.1
sudo dpkg -i openmp<tab>

I hope that all went smoothly.

Install ROCm

Install ROCm with the usecases you need. Mine are ROCm and HIP. See amdgpu-install --help for options.

sudo amdgpu-install --rocmrelease=5.1.1 --usecase=rocm,hip --no-dkms

Cool.

Now a final piece of setup: Add your user to the render and video groups:

sudo usermod -a -G render $LOGNAME
sudo usermod -a -G video $LOGNAME

and reboot.

Once rebooted, check that ROCm is loaded with

rocminfo

Hurra!, I hope, and time for cleaning:

rm -rf ~/ROCm

PyTorch Postscript

Note: Be sure that the ROCm version you installed is supported by Pytorch. At time of writing, Stable supports ROCm 5.1.1, Nightly supports 5.2. Check the PyTorch Start Locally page.

I needed ROCm for PyTorch, installed with

pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.1.1

I then got verification that I could use my GPU for computation by running

python3
import torch
torch.cuda.is_available()
torch.cuda.get_device_name(torch.cuda.current_device())
2 of 2
1

Update: as of ROCm 5.3.0, support for Ubuntu 22.04 has been added.

Installation guide: https://docs.amd.com/bundle/ROCm-Installation-Guide-v5.3

🌐
AMD ROCm
rocm.docs.amd.com › projects › install-on-linux › en › latest › install › install-methods › package-manager › package-manager-debian.html
Debian native installation — ROCm installation (Linux)
# Register ROCm packages sudo tee /etc/apt/sources.list.d/rocm.list << EOF deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/7.2.4 jammy main deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/graphics/7.2.4/ubuntu jammy main EOF sudo tee /etc/apt/preferences.d/rocm-pin-600 << EOF Package: * Pin: release o=repo.radeon.com Pin-Priority: 600 EOF sudo apt update
🌐
OMG! Ubuntu
omgubuntu.co.uk › home › news › canonical is bringing amd rocm to ubuntu 26.04 repos
Ubuntu 26.04 Includes AMD ROCm in Official Repository (Like CUDA)
December 10, 2025 - ROCm (and related tools) will be a simple apt install rocm away on Ubuntu 26.04 LTS, and security updates and bug fixes will come through the usual update channels (no additional repos or manual dependency management required).
🌐
GitHub
gist.github.com › Johannisbaer › 1362ba860310c1b86d43cf0d5559fa86
My ROCm install on Ubuntu 22.04 LTS · GitHub
In my case the version of ROCm that is supported by PyTorch is 5.4.2 and the apt repo name is amdgpu-install_5.4.50402-1_all.deb (TensorFlow worked for me with 5.5.1).
🌐
GitHub
github.com › ROCm › ROCm-docker
GitHub - ROCm/ROCm-docker: Dockerfiles for the various software layers defined in the ROCm software platform · GitHub
Containers share the host kernel, so the ROCm KFD component ROCK-Kernel-Driver1 functions outside of docker. An apt-get repository is available to automate the installation of the required kernel and kernel modules.
Starred by 521 users
Forked by 78 users
Languages   Shell 79.3% | Dockerfile 20.7%
🌐
Hon
wiki.hon.one › hpc › rocm
ROCm | HON’s Wiki
Add the ROCm package repo: Install requirements: sudo apt install curl libnuma-dev wget gnupg2 · Add repo key: curl -sSf https://repo.radeon.com/rocm/rocm.gpg.key | sudo gpg --dearmor --output /usr/share/keyrings/rocm.gpg · Add AMDGPU repo: echo 'deb [signed-by=/usr/share/keyrings/rocm.gpg ...