-
download and apt install installer , keep your installer's version be higher than rocm's version you need to install
sudo apt-get update
wget https://repo.radeon.com/amdgpu-install/5.4.2/ubuntu/focal/amdgpu-install_5.4.50402-1_all.deb #ubuntu20.04
sudo apt-get install ./amdgpu-install_5.4.50402-1_all.deb
sudo apt-get update
wget https://repo.radeon.com/amdgpu-install/5.4.2/ubuntu/jammy/amdgpu-install_5.4.50402-1_all.deb #ubuntu22.04
sudo apt-get install ./amdgpu-install_5.4.50402-1_all.deb
- gpg added after installer installed
#deb [arch=amd64] https://repo.radeon.com/rocm/apt/5.4 focal main
#deb [arch=amd64] https://repo.radeon.com/rocm/apt/5.3 focal main
#deb [arch=amd64] https://repo.radeon.com/rocm/apt/5.0 ubuntu main
deb [arch=amd64] https://repo.radeon.com/rocm/apt/4.5.2 ubuntu main
sudo apt install
amdgpu-install --usecase=rocm --rocmrelease=4.5.2 #only add --rocmrelease=4.5.2(or 5.3.0) for multi-version installing, install-version match source-version
- attention: single-version-install conflicts to multi-version-install