Driver / library mismatch with nvtop

When typing




in a bash terminal, I get the following error:

Impossible to initialize nvidia nvml : Driver/library version mismatch.

So I am trying to uninstall the current cuda according to nvidia documentation ( The documentation says to run the following command

sudo dnf remove <package_name>

but I don’t know the package name. Is there a way to find it ?
I am running Fedora 28.

sudo dnf remove cuda

may be what you want

This assumes you used a package manager method to install it. If you used a runfile installer, the uninstall/removal process is different, but the documentation you linked covers that as well.