Linux and AMD RX card: No AMD OPENCL or NVIDIA CUDA GPUs found, exit

The problem

This solution is only for AMD cards, the next error ocurrs even when you have the proper drivers installed and you try to execute claymore:

No AMD OPENCL or NVIDIA CUDA GPUs found, exit

The solution

The --compute has been deprecated, instead install drivers with:

 amdgpu-pro-install --opencl=legacy,pal --headless