Since last 4 days, I am trying to install amdgpu pro drivers on my ubuntu system and I am getting error.
- I have downloaded drivers from here for Rx580. 
- I am following installation instructions from here. 
- First-time installation, I am getting dkms command not found. 
- executing below command will show me to install dkms - dkms status 
- Installing dkms using below command - sudo apt-get install dkms 
- Then try to install using below command, and getting error below is the screenshot for the same. - ./amdgpu-pro-install -y 
- I have also tried on kernel 4.4 & 4.8 & 4.16 (getting above error on all kernels)
Below is my system configuration



 
    