Sample Header Ad - 728x90

How do I use Cuda toolkit nvcc 11.7.1 on Fedora 36?

5 votes
3 answers
7346 views
As of Sept 2022, Nvidia still has not officially supported cuda toolkit on Fedora 36. The particular part missing is support for gcc12, which Fedora 36 defaults to. One solution to use nvcc on fedora is to go to [fedora mirrors](https://admin.fedoraproject.org/mirrormanager/) and download Fedora 35. However, I'd like to know **how to getting nvcc to work on Fedora 36.** [There's an RPM fusion wiki page on cuda](https://rpmfusion.org/Howto/CUDA) , though some of the info is still somewhat difficult to find. The fedora 35 cuda repo [is complete and has all the necessary files](https://developer.download.nvidia.com/compute/cuda/repos/fedora35/x86_64/) , but (as of Sept 2022) the equivalent fedora 36 nvidia cuda repo [exists but seems incomplete](https://developer.download.nvidia.com/compute/cuda/repos/fedora36/x86_64/) , in particular it's missing the rpm files that start with cuda-11....
Asked by xdavidliu (393 rep)
Sep 5, 2022, 09:53 PM
Last activity: Apr 30, 2025, 02:05 AM