Ubuntu 26.04 won't update to ROCm 7.2. Updating ROCm minor versions can cause new warnings and errors, so Ubuntu's repo won't.

You can install 7.2.3 anyway. I'm using 7.2.2 fine for llama.cpp and whisper.cpp. Just follow the instructions in your link:

  1. Uninstall all ROCm-related packages from Ubuntu
  2. Follow the 24.04 instructions in your link
  3. Try to compile/run your target application, and install ROCm (meta)packages as needed
Answer from Daniel T on askubuntu.com
🌐
AMD ROCm
rocm.docs.amd.com › projects › install-on-linux › en › latest
ROCm installation for Linux — ROCm installation (Linux)
April 17, 2026 - The AMDGPU installer documentation has been removed to encourage the use of the package manager for ROCm installation. While the package manager is the recommended method, you can still install ROCm using the AMDGPU installer by following the legacy process.
ROCm™ Software 7.2.4
Start building for HPC and AI with the performance-first AMD ROCm software stack. Explore how-to guides and reference docs.
Quick start installation guide
The ROCm 7.13.0 technology preview release documentation is available at ROCm Preview documentation.
Prerequisites
Before installing ROCm, complete the following prerequisites. Confirm the system has a supported Linux version. To obtain the Linux distribution information, use the following command: ... Confirm that your Linux distribution matches a supported distribution. Example: Running the preceding command on an Ubuntu ...
System requirements
AMD Radeon PRO V620 only supports Ubuntu 24.04.4 and Ubuntu 22.04.5. AMD ROCm software supports the following Linux distributions.
🌐
Reddit
reddit.com › r/rocm › psa: amd gpu users, you can now sudo apt install rocm in ubuntu 26.04
PSA: AMD GPU users, you can now sudo apt install rocm in Ubuntu 26.04 : r/ROCm
April 24, 2026 - If there are important bug fixes for ROCm 7.1, they can be backported and applied as Stable Release Updates, too. There are actual AMD and Canonical teams maintaining these packages. If there are problems with the Ubuntu packages, please report them on Launchpad.
🌐
Phoronix
phoronix.com › news › Ubuntu-26.04-With-ROCm
Ubuntu 26.04 Allows "sudo apt install rocm" But It's Months Out-Of-Date - Phoronix
April 23, 2026 - Canonical announced last year that in collaboration with AMD they would be bringing the ROCm software libraries into the Ubuntu archive for Ubuntu 26.04 LTS. The plan has been to ship AMD ROCm AI/ML and HPC libraries in the Ubuntu archive so it would be as easy as sudo apt install rocm for getting ...
🌐
AMD ROCm
rocm.docs.amd.com › projects › install-on-linux › en › docs-6.1.2 › how-to › native-install › ubuntu.html
Ubuntu native installation — ROCm installation (Linux)
for ver in 6.1.2 6.1.1; do echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/$ver/ubuntu focal main" \ | sudo tee /etc/apt/sources.list.d/amdgpu.list done sudo apt update
🌐
GitHub
github.com › ROCm › rocm-install-on-linux › releases
Releases · ROCm/rocm-install-on-linux
November 27, 2025 - Add ROCm 7.1.1 support for Debian 12, 13, Ubuntu 22.04, 24.04, SUSE 15.7, RHEL 8.10, 9.4, 9.6, 10.0, Oracle Linux 8.10, 9.6, 10.0 and Rocky 9.6 and their ctests.
Author   ROCm
Find elsewhere
🌐
AMD ROCm
rocm.docs.amd.com › projects › install-on-linux › en › docs-6.4.0 › install › install-methods › amdgpu-installer › amdgpu-installer-ubuntu.html
Ubuntu AMDGPU installer installation — ROCm installation (Linux)
If the driver can enumerate the IGP, the ROCm runtime might crash the system, even if told to omit it via HIP_VISIBLE_DEVICES. ... Ensure that the Installation prerequisites are met before installing. ... sudo apt update wget https://repo.radeon.com/amdgpu-install/6.4/ubuntu/noble/amdgpu-install_6.4.60400-1_all.deb sudo apt install ./amdgpu-install_6.4.60400-1_all.deb sudo apt update Ubuntu 22.04
🌐
Canonical
canonical.com › blog › canonical-amd-rocm-ai-ml-hpc-libraries
Canonical to distribute AMD ROCm AI/ML and HPC libraries in Ubuntu | Canonical
December 9, 2025 - Canonical is pleased to announce an expanded collaboration with AMD to package and maintain AMD ROCm™ software directly in Ubuntu.
🌐
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 - Canonical will package AMD ROCm directly in Ubuntu 26.04 LTS repositories, improving GPU-accelerated AI and HPC library installation for developers.
🌐
Framework Community
community.frame.work › framework laptop 16 › linux
Installing ROCm / HIPLIB on Ubuntu 22.04 - Linux - Framework Community
May 6, 2024 - Hey folks - I’m loving my FrameWork so far, but wanted to get an idea of if anyone has any good tutorials for getting ROCm and HIP installation done on the Framework 16 for Ubuntu 22.04. I’m currently running into issues with the amdgpu-install tool that AMD provides - it’s not installing ...
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
rocmdocs.amd.com › en › latest › Installation_Guide › Installation-Guide.html
Quick start installation guide — ROCm installation (Linux)
Ubuntu · 24.04 · sudo apt install python3-setuptools python3-wheel sudo usermod -a -G render,video $LOGNAME # Add the current user to the render and video groups sudo apt install rocm 22.04 · sudo apt install python3-setuptools python3-wheel sudo usermod -a -G render,video $LOGNAME # Add the current user to the render and video groups sudo apt install rocm Debian ·
🌐
AMD ROCm
rocm.docs.amd.com › projects › install-on-linux › en › docs-7.1.1 › install › quick-start.html
Quick start installation guide — ROCm installation (Linux)
sudo dnf install https://repo.radeon.com/amdgpu-install/7.1.1/el/9.6/amdgpu-install-7.1.1.70101-1.el9.noarch.rpm sudo dnf clean all 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 · Ubuntu ·
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › tutorials
Install guide ROCm, ZLUDA, and Blender 4.0 on Linux Mint 21.3 - Linux Mint Forums
June 24, 2024 - Installation of ROCm The compatible version with the current ZLUDA 3 is ROCm 5.7.0. Here’s how to proceed: Create the directory for APT keys: sudo mkdir --parents --mode=0755 /etc/apt/keyrings Download and add the ROCm GPG key: wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null Add the ROCm and AMDGPU repositories: sudo tee /etc/apt/sources.list.d/amdgpu.list <<'EOF' deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/5.7/ubuntu jammy main EOF sudo tee /etc/apt/sources.list.d/rocm.list <<'EOF'
🌐
Pixls.us
discuss.pixls.us › software › darktable
How to enable OpenCL/OpenCL ROCm for AMD RX 570/580 on Ubuntu 23.04 - darktable - discuss.pixls.us
May 25, 2023 - I am really struggling to install OpenCL I tried the latest MESA driver from sudo add-apt-repository ppa:kisak/kisak-mesa But this driver doesn’t have image support so DT is not able to use it. AMD provides drivers for Ubuntu LTS versions only like 20.04 and 22.04.
🌐
AMD ROCm
rocm.docs.amd.com › projects › radeon-ryzen › en › latest › docs › install › installrad › native_linux › install-radeon.html
Install Radeon software for Linux with ROCm — Use ROCm on Radeon and Ryzen
The ROCm™ Software Stack and other Radeon™ software for Linux components are installed using the amdgpu-install script to assist you in the installation of a coherent set of stack components.