Ask Your Question

How to really install CUDA 9 on Fedora 27

asked 2018-03-27 04:03:59 -0500

krismath gravatar image

I am trying to install CUDA 9 (9.1) for use on Fedora 27 to do deep learning with GPU. I haven't had much success and most successful attempts were only temporary and did eventually broke.

In case this is important, my laptop hardware specs are:

  • Intel i7-7700HQ
  • NVIDIA GeForce GTX 1050 (Notebook) (CUDA Compute Capability 6.1)
  • 20 GB of RAM

Here are the installation instructions related to CUDA 9.1 and Fedora 27 as I am able to find:

  1. Installation according to the official guide for Linux suggests using their own CUDA repo while also providing an distribution independent runfile.

  2. Installing via negativo17 NVIDIA repo

  3. Installation according to an Astrophysicist Journal which suggests using the official runfile with bumblebee and a few minor tweaks.

  4. Installation according to Steve Grubb suggests using the official repo with a few minor tweaks.
  5. Installation according to RPM Fusion also suggests using the official repo.
  6. Installation according to MDDA says "Just use Negativo’s Repo…"

I have had problems with all of these solutions at some point, including conflicting packages between repos (but maybe it was actually my fault). I am planning to start clean and I am wondering how should CUDA actually be installed given the variety of opinions above.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2018-04-08 11:46:37 -0500

kwizart gravatar image

Please consider using the NVIDIA official "network" repo over the NVIDIA "bundle" RPM with everything in it. You will miss some critical CUDA updates if not done.

This repository is compatible with the whole RPM Fusion repository, so you won't expect package conflicts. Of course, you need to use a compatible compiler if using a more recent fedora than what is supported by the NVIDIA repository. But this can be done as mentioned in 5.

edit flag offensive delete link more

answered 2018-03-28 16:43:46 -0500

hmaarrfk gravatar image

I'm using 2.. Is there a specific program you want me to test on my laptop before telling you it is working?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2018-03-27 04:03:59 -0500

Seen: 1,815 times

Last updated: Mar 28 '18