Since last 4 days, I am trying to install amdgpu pro drivers on my ubuntu system and I am getting error.

  1. I have downloaded drivers from here for Rx580.

  2. I am following installation instructions from here.

  3. First-time installation, I am getting dkms command not found.

enter image description here

  1. executing below command will show me to install dkms

    dkms status

  2. Installing dkms using below command

    sudo apt-get install dkms

  3. Then try to install using below command, and getting error below is the screenshot for the same.

    ./amdgpu-pro-install -y

enter image description here

  1. I have also tried on kernel 4.4 & 4.8 & 4.16 (getting above error on all kernels)

Below is my system configuration

enter image description here Motherboard


As someone pointed out in the forums (https://community.amd.com/thread/228245) the script is broken.

Provided that you have the right kernel and header version, you need to install the missing packages manually, run:

apt install amdgpu-dkms libdrm-amdgpu-amdgpu1 libdrm-amdgpu1 libdrm2-amdgpu  
  • 2
    Just to add. This solution doesn't work on kernel 4.18.0-15. – echo_salik Feb 24 at 14:47
  • Luckily the more recent release packages have been fixed – Michele Feb 25 at 17:07

protected by Community Feb 25 at 17:29

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.