https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/in dex.html
Has a link for linux and commands. dnf whatprovides */nvcc didn't find anything, so looks like it has to be downloaded from other site. On 26 Jun 2022 at 23:03, Paul Smith wrote: From: Paul Smith <[email protected]> Date sent: Sun, 26 Jun 2022 23:03:34 +0100 Subject: Re: Installing cuda on Fedora 36 To: Community support for Fedora users <[email protected]> Send reply to: Community support for Fedora users <[email protected]> > On Sun, Jun 26, 2022 at 10:10 PM Patrick O'Callaghan > <[email protected]> wrote: > > > > > > > Could someone please direct me in the process of installing cuda? > > > > > > > > Simplest way is probably via rpmfusion: > > > > > > > > https://rpmfusion.org/Howto/CUDA?highlight=%28%5CbCategoryHowto%5Cb%29 > > > > > > Thanks, Tom. I have followed all steps, but then I get the following > > > error: > > > > > > --------------------------------------- > > > # dnf -y install cuda > > > Last metadata expiration check: 0:04:09 ago on Sun 26 Jun 2022 > > > 09:34:42 PM WEST. > > > No match for argument: cuda > > > Error: Unable to find a match: cuda > > > # > > > > $ dnf search cuda > > Last metadata expiration check: 0:00:18 ago on Sun 26 Jun 2022 22:06:30 BST. > > =========================================================================== > > Name & Summary Matched: cuda > > =========================================================================== > > xorg-x11-drv-nvidia-340xx-cuda.x86_64 : CUDA libraries for > > xorg-x11-drv-nvidia-340xx > > xorg-x11-drv-nvidia-390xx-cuda.x86_64 : CUDA driver for > > xorg-x11-drv-nvidia-390xx > > xorg-x11-drv-nvidia-390xx-cuda-libs.i686 : CUDA libraries for > > xorg-x11-drv-nvidia-390xx > > xorg-x11-drv-nvidia-390xx-cuda-libs.x86_64 : CUDA libraries for > > xorg-x11-drv-nvidia-390xx > > xorg-x11-drv-nvidia-470xx-cuda.x86_64 : CUDA driver for > > xorg-x11-drv-nvidia-470xx > > xorg-x11-drv-nvidia-470xx-cuda-libs.i686 : CUDA libraries for > > xorg-x11-drv-nvidia-470xx > > xorg-x11-drv-nvidia-470xx-cuda-libs.x86_64 : CUDA libraries for > > xorg-x11-drv-nvidia-470xx > > xorg-x11-drv-nvidia-cuda.x86_64 : CUDA driver for xorg-x11-drv-nvidia > > xorg-x11-drv-nvidia-cuda-libs.x86_64 : CUDA libraries for > > xorg-x11-drv-nvidia > > xorg-x11-drv-nvidia-cuda-libs.i686 : CUDA libraries for xorg-x11-drv-nvidia > > > > I'm guessing you need "dnf install xorg-x11-drv-nvidia-cuda" > > Thanks, Patrick. I have meanwhile done > > "dnf install xorg-x11-drv-nvidia-cuda" > > However, when I try to compile a .cu program, I get the following error: > > $ nvcc x.cu -o x > bash: nvcc: command not found > $ > > I did search for nvcc, but: > > # dnf search nvcc > Last metadata expiration check: 1:18:55 ago on Sun 26 Jun 2022 09:34:42 PM > WEST. > No matches found. > # > > Any ideas? > > Paul > _______________________________________________ > users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/[email protected] > Do not reply to spam on the list, report it: > https://pagure.io/fedora-infrastructure +------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:[email protected] mailto:[email protected] Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+ _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
