How to install cuda 10.0, cudnn 7.4, Tensorflow, PyTorch on Fedora 29
This procedure has been tested on Fedora 29, on a HP laptop with this graphical card: NVIDIA Corporation GP107M GeForce GTX 1050 Mobile (rev a1)
The commands have to be run as the root user. This tutorial assumes the nvidia driver is already working.
Install pip
dnf install python3-pip
Install Cuda 10.0
Download the installer from the Nvidia website and run it. Make sure to install the Perl module Term::ReadLine::Gnu
beforehand because the cuda installer relies on it.