sudo amdgpu-uninstall sudo apt purge amdgpu-install sudo apt autoremove First one is for the actual uninstall and the second just makes sure their are no dependencies left. I'm like 80% sure this is the correct way ,lol. Answer from Thatguyfromdeadpool on reddit.com
🌐
GitHub
github.com › ROCm › ROCm › issues › 1908
How to uninstall newer versions like rocm-5.4.3 and packages? · Issue #1908 · ROCm/ROCm
February 15, 2023 - I have installed the rocm-5.3.3 and I don't want any more the rocm-5.4.3, because is not compatible with my GPU RX 480 graphic driver. How can I uninstall the rocm-5.4.3 version? With sudo amdg...
Author   ROCm
🌐
Reddit
reddit.com › r/rocm › help uninstalling old rocm 7 nightly version on ubuntu?
r/ROCm on Reddit: Help uninstalling old ROCM 7 nightly version on Ubuntu?
November 6, 2025 -

I installed the nightly version of ROCM that was released about a month ago, and while the speed boost was impressive, its definitely less stable.

I see there's a new official version of ROCM 7 out and I'd like to test it to see if it's more stable and maybe even offers a bit more speed.

How do I uninstall the old nightly version of ROCM on Ubuntu so I can install the new version?

Discussions

Removing old ROCm version without breaking anything?
We always deinstall the ROCm packages, delete all the files associated with it, and then reinstall. That proved to be the only way for having a functional installation. Otherwise there would be different parts installed in different versions. There is a lot happening with ROCm, but the whole installation and packaging is still a mess. Our admin, who I have to bother regularly because of it, declared ROCm not to be ready for production systems. More on reddit.com
🌐 r/ROCm
9
3
December 7, 2020
Safely uninstalling ROCM?
You can safely remove the proprietary AMD drivers and just use the Mesa drivers. Unless you are using the proprietary drivers for something specific? More on reddit.com
🌐 r/Ubuntu
9
1
May 6, 2025
Uninstalling ROCm - Issues & Assistance - CachyOS Forum
Installing the ROCm package from the repository seems to make a persistent system change. This change breaks the readlink() system call for applications like Steam/Proton, and it is not reverted upon a standard package removal with pacman -Rns. 3207 readlink(“/usr”, 0x7ffd4c553bb0, 1023) ... More on discuss.cachyos.org
🌐 discuss.cachyos.org
0
August 3, 2025
Trying to uninstall 'rocm-*' libraries
Hi, I recently installed some rocm packages trying to get blender to work with HIP (I couldn’t). Now I’m trying to uninstall some of the libraries but I’m having some issues. After uninstalling rocm-hip and rocm-runtime some rocm related libraries are still on the system: ⋊> ~ dnf list ... More on discussion.fedoraproject.org
🌐 discussion.fedoraproject.org
1
0
December 27, 2023
🌐
Fedora Discussion
discussion.fedoraproject.org › ask fedora
Trying to uninstall 'rocm-*' libraries - Fedora Discussion
December 27, 2023 - Hi, I recently installed some rocm packages trying to get blender to work with HIP (I couldn’t). Now I’m trying to uninstall some of the libraries but I’m having some issues. After uninstalling rocm-hip and rocm-runtime some rocm related libraries are still on the system: ⋊> ~ dnf list --installed | grep rocm 15:10:38 rocm-clinfo.x86_64 5.7.1-1.fc39 @updates ...
🌐
Ask Ubuntu
askubuntu.com › questions › 1352084 › how-to-uninstall-rocm-previous-version-and-reinstall-rocm-4-2-version
20.04 - How to uninstall ROCM previous version and reinstall ROCM 4.2 version - Ask Ubuntu
July 15, 2021 - 3: Check your package version using apt list rocm-opencl. If you need to uninstall ROCm, see rocmdocs.amd.com/en/latest/Installation_Guide/…
🌐
AMD ROCm
rocm.docs.amd.com › en › docs-5.5.1 › deploy › linux › os-native › uninstall.html
Uninstallation with package manager (Linux) — ROCm 5.5.1 Documentation Home
# Uninstall single-version ROCm packages sudo yum remove rocm-core # Uninstall multiversion ROCm packages sudo yum remove rocm-core<release version>
🌐
AMD ROCm
rocm.docs.amd.com › en › latest › deploy › linux › os-native › uninstall.html
Uninstallation with package manager (Linux) — ROCm 5.7.1 Documentation Home
# Uninstall all single-version ROCm packages sudo zypper remove rocm-core # Uninstall all multiversion ROCm packages sudo zypper remove rocm-core<release version>
🌐
AMD ROCm
rocm.docs.amd.com › en › docs-5.6.0 › deploy › linux › os-native › uninstall.html
Uninstallation with package manager (Linux) — ROCm 5.6.0 Documentation Home
# Uninstall all single-version ROCm packages sudo zypper remove rocm-core # Uninstall all multiversion ROCm packages sudo zypper remove rocm-core<release version>
Find elsewhere
🌐
AMD GPUOpen
gpuopen.com › learn › amd-lab-notes › amd-lab-notes-rocm-installation-readme
AMD ROCm™ installation - AMD GPUOpen
For example, the current /opt/rocm may now be /opt/rocm-5.4.0 or /opt/rocm-5.3.2 depending on the installed ROCm versions. To remove all old versions use: Terminal window · sudo amdgpu-uninstall --rocmrelease=all ·
🌐
Reddit
reddit.com › r/ubuntu › safely uninstalling rocm?
r/Ubuntu on Reddit: Safely uninstalling ROCM?
May 6, 2025 -

I have a pretty small main drive on my laptop, and after installing new AMD-drivers the rocm-folder is taking up a whopping 30GB of space. Since I only got 100GB on the root partition this is an issue. Can I safely uninstall ROCM, as I read that it's only needed as a CUDA-eqivalent for programming, or are there actual graphics drivers involved? Thanks

🌐
GitHub
github.com › ROCm › ROCm › blob › docs › 5.4.3 › docs › deploy › linux › os-native › uninstall.md
ROCm/docs/deploy/linux/os-native/uninstall.md at docs/5.4.3 · ROCm/ROCm
# Uninstall single-version ROCm packages sudo apt autoremove <package-name> # Uninstall multiversion ROCm packages sudo apt autoremove <package-name with release version>
Author   ROCm
🌐
GitHub
github.com › ROCm › rocm-installer-runfile
GitHub - ROCm/rocm-installer-runfile · GitHub
1 month ago - # Uninstall ROCm from the default location (/opt/rocm-x.y.z) bash rocm-installer.run uninstall-rocm # Uninstall ROCm from a specific version path bash rocm-installer.run target="/home/amd/myrocm/rocm-7.x.x" uninstall-rocm # Selective uninstall ...
Forked by 2 users
Languages   Shell 72.8% | C 24.5% | CMake 1.5% | Python 1.2%
🌐
AMD ROCm
rocm.docs.amd.com › en › docs-5.6.1 › deploy › windows › gui › uninstall.html
Uninstallation Using the Graphical Interface — ROCm 5.6.1 Documentation Home
Navigate to “Apps > Installed apps”, click the “…” on the far right next to the component to uninstall, and click “Uninstall”.
🌐
AMD ROCm
rocm.docs.amd.com › en › docs-5.7.1 › deploy › linux › installer › uninstall.html
Installer Script Uninstallation (Linux) — ROCm 5.7.1 Documentation Home
This is not the latest version of ROCm documentation. See ROCm documentation for the latest version. ... To uninstall all ROCm packages and the kernel-mode driver the following commands can be used.
🌐
CachyOS Forum
discuss.cachyos.org › issues & assistance
Uninstalling ROCm - Issues & Assistance - CachyOS Forum
August 3, 2025 - Installing the ROCm package from the repository seems to make a persistent system change. This change breaks the readlink() system call for applications like Steam/Proton, and it is not reverted upon a standard package removal with pacman -Rns. 3207 readlink(“/usr”, 0x7ffd4c553bb0, 1023) ...
🌐
Ggando
ggando.com › blog › rocm1
Upgrading ROCm from 5.7.1 to 6.4.3
September 17, 2025 - I recommend running both sudo apt autoremove &LTpackage-name> and sudo apt autoremove &LTpackage-name with release version> to make sure you uninstall old packages completely: sudo apt autoremove rocm-hip-sdk5.7.1 sudo apt autoremove rocm-core5.7.1 sudo apt autoremove rocm-hip-sdk sudo apt ...
🌐
AMD ROCm
rocm.docs.amd.com › en › docs-5.3.3 › deploy › linux › os-native › uninstall.html
Uninstallation with package manager (Linux) — ROCm 5.3.3 Documentation Home
# Uninstall all single-version ROCm packages sudo zypper remove rocm-core # Uninstall all multiversion ROCm packages sudo zypper remove rocm-core<release version>
🌐
Fedora Discussion
discussion.fedoraproject.org › ask fedora
Trying to uninstall 'rocm-*' libraries - #2 by barryascott - Fedora Discussion
December 27, 2023 - Hi, I recently installed some rocm packages trying to get blender to work with HIP (I couldn’t). Now I’m trying to uninstall some of the libraries but I’m having some issues. After uninstalling rocm-hip and rocm-runtime some rocm related libraries are still on the system: ⋊> ~ dnf list --installed…