I am trying to install AMD drivers for my RX 480 8GB GPU and I'm following this article from AMD to install it.
When I get to the point of running this command
./amdgpu-pro-install -y
It throws an error saying: Unsupported DEB-based OS: /etc/os-release ID 'elementary'
I looked it up on the internet and I found one article about it. It was this one. In the answer, it says to find "ubuntu" string inside the code of the amdgpu-pro-install
and replace it with debian
. But I can't find the ubuntu
string inside of that file, maybe the code changed since the question was asked.
What I see in that file is
function os_release() {
if [[ -r /etc/os-release ]]; then
. /etc/os-release
case "$ID" in
ubuntu|linuxmint|debian)
:
;;
*)
echo "Unsupported DEB-based OS: `
`/etc/os-release ID '$ID'" | stderr
exit 1
;;
esac
else
echo "Unsupported OS" | stderr
exit 1
fi
}
There is ubuntu
in the case
but I don't think that's it.
What can I do?