I’m having some trouble getting CUDA’s nvcc working with Fedora 32. I’ve followed the rpmfusion instructions (https://rpmfusion.org/Howto/CUDA), however, when I try to install GCC9 using the kwizart package (https://rpmfusion.org/Howto/CUDA#GCC_version), I get a conflict with the existing version of GCC:
Error: Problem: problem with installed package gcc-10.2.1-1.fc32.x86_64 - package gcc-10.2.1-1.fc32.x86_64 requires cpp = 10.2.1-1.fc32, but none of the providers can be installed - package gcc-10.0.1-0.11.fc32.x86_64 requires cpp = 10.0.1-0.11.fc32, but none of the providers can be installed - cannot install both cpp-9.3.1-3.fc32.x86_64 and cpp-10.2.1-1.fc32.x86_64 - cannot install both cpp-10.2.1-1.fc32.x86_64 and cpp-9.3.1-3.fc32.x86_64 - cannot install both cpp-10.0.1-0.11.fc32.x86_64 and cpp-9.3.1-3.fc32.x86_64 - package cuda-gcc-9.3.1-3.fc32.x86_64 requires cpp = 9.3.1-3.fc32, but none of the providers can be installed - conflicting requests (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
Adding the --allowerasing flag would remove a bunch of packages that depend on GCC (including CUDA!). cuda-gcc would install with the cuda-gcc-10.1 repo without any conflicts, however, that compiler does not work on F32 due to another depedency issue. Any suggestions for getting GCC9 installed along side the system GCC10? Thanks!