GNU/Linux Ubuntu 18.04 Adding AMDGPU Repo Guide
Hi! The Tutorial shows you Step-by-Step How to Add AMDGPU/AMDGPU-PRO Repository in Ubuntu 18.04 GNU/Linux Based OSes.
And AMDGPU for Linux includes the AMD Proprietary/Open-Source OpenGL, OpenCL, and Vulkan Drivers.
Last, this Repo Setup is Valid for All the Ubuntu-based Distros like:
- Linux Mint
- Lubuntu
- Kubuntu
- Xubuntu
- Zorin OS
- Pop_OS!
- Elementary OS
- Kde Neon
- Linux Lite
- Bodhi Linux
- Q4OS
- Trisquel
- LXLE
- feren OS
- Peppermint
- Voyager Ubuntu
- Linux Ultimate Edition
1. Launching Terminal
How to QuickStart with Command Line on Ubuntu:
2. Adding AMDGPU GPG Key
First, Add AMDGPU Repository Signing Key
Make the Target Directory:sudo mkdir --parents --mode=0755 /etc/apt/keyrings
And then Download it:wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | \ gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null
3. Adding AMDGPU Repo
Then to Add AMDGPU Repository for Ubuntu
For Ubuntu 18.04 release do:/necho 'deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/22.20.5/ubuntu bionic main' \ | sudo tee /etc/apt/sources.list.d/amdgpu.list
Most noteworthy: currently NOT RECOMMENDED for Kernels Issues on Ubuntu 20.04! Instead follow instructions about to Download the .deb Repo Installer!4. Refreshing Ubuntu Repo Sources
Next to Refresh Ubuntu Apt Repository Sources
Needed for most Ubuntu derivatives:sudo apt update
In case of “Not found” Issue on Non LTS release try to amend the File manually:sudo nano /etc/apt/sources.list.d/amdgpu.list
And set it to the nearer LTS Release.
Last, Update the Repos again.5. AMDGPU Getting Started
Finally, to Quick Start AMDGPU for Ubuntu