Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-06-2018, 05:24 AM   #1
LQ Newbie
Registered: Feb 2016
Location: Sweden
Distribution: Slackware
Posts: 17

Rep: Reputation: Disabled
Cuda 10?

The cudatoolkit in slackbuilds is very old. I need Cuda 10 to be able to play around with python and tensorflow.

Anyone out there managed to install _any_ Cuda version above version 8 and have any directions for me?
Old 12-06-2018, 07:56 AM   #2
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 531

Rep: Reputation: 249Reputation: 249Reputation: 249

First you'll need to get the appropriate version of the nvidia driver which will work with CUDA 10. Check out the release notes to get info on this:

Then, there are two ways to proceed. You can either tweak the SlackBuilds script to install the CUDA 10 and be on the safe side as it will all be packaged, so it will be easy to remove if somethings goes wrong.

Or, you can install it manually by running the CUDA "runfile" script.

When you are sure your nvidia module has been loaded at boot, you download and run the script from (the runfile from Fedora usually works) and run it as root:
# bash cuda_10..._linux-run
The script is interactive and it will ask you about configuration parameters and where to install what. You just have to plan the install paths well so that you keep track of where everything is.

One possible glitch with running such a new CUDA version is with gcc. In the past, I once encountered a problem in Slackware 14.1 when my native Slackware gcc was a version behind the CUDA gcc. I don't remember which versions exactly, but sometimes these things happen because the CUDA compiler is not built from source when you install. If you encounter this problem you might need to upgrade Slackware's gcc.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Start a QT+CUDA+C/C++ Project? eddiep Linux - Software 4 02-18-2010 03:10 PM
Ubuntu Nvidia / CUDA driver installation gourox Linux - Hardware 1 08-14-2009 01:36 AM
LXer: Security distribution BackTrack 4 with CUDA support LXer Syndicated Linux News 0 06-22-2009 02:00 PM
CUDA on Jaunty, Installation successful, but cannot run? beaute Ubuntu 0 06-01-2009 05:42 AM
Anyone tried nvidia CUDA toolkit sniff Programming 0 02-28-2007 06:40 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration