Page 1 of 3

Easy install guide for nvidia

Posted: 12. Nov 2010, 16:04
by grumpy.biatch
This in my opinion is the easiest way to install nvidia -

Code: Select all

# slapt-get -i kernel-source

Code: Select all

# wget http://uk.download.nvidia.com/XFree86/Linux-x86/260.19.21/NVIDIA-Linux-x86-260.19.21.run
check the latest nvidia driver and change its title

Code: Select all

# chmod a+x NVIDIA*.run

Code: Select all

# ./!$
its a . (dot)

Re: Easy install guide for nvidia

Posted: 22. Nov 2010, 07:43
by zAchAry
Can you, or anyone else, test an easier way to do it? For instance, combining slapt-get and slapt-src (click here to see an example).
These are the packages that available at SBo via the slapt-src command: SlackBuilds.org - Search Results for "nvidia"

I'm not using nvidia, therefor I won't write such post.

Re: Easy install guide for nvidia

Posted: 22. Nov 2010, 08:35
by JRD
zAchAry wrote:Can you, or anyone else, test an easier way to do it?
There is not.

Even with slapt-src, you'll need kernel-source. So you won't save a command.
But, if you want, you can do it a bit shorter:

Code: Select all

$ export VER=260.19.21; gksu /usr/sbin/slapt-get -i kernel-source && wget http://uk.download.nvidia.com/XFree86/Linux-x86/$VER/NVIDIA-Linux-x86-$VER.run && gksu sh NVIDIA-Linux-x86-$VER.run; unset VER

Re: Easy install guide for nvidia

Posted: 22. Nov 2010, 13:09
by thenktor
@JRD: This won't work. AFAIK you have to install the driver in init 3. ;)

Re: Easy install guide for nvidia

Posted: 22. Nov 2010, 14:31
by gapan
zAchAry wrote:Can you, or anyone else, test an easier way to do it?
Easier than running 4 simple commands? Copy-paste them in a script and run one command (the script).

Re: Easy install guide for nvidia

Posted: 22. Nov 2010, 20:57
by JRD
thenktor wrote:@JRD: This won't work. AFAIK you have to install the driver in init 3. ;)
Oh yes you're partly right. Without option you can't. But you can add a simple option to force it to run even if X is running (after all it's just compiling and installing a driver. It's not related at all to a running X session) : --no-x-check

Re: Easy install guide for nvidia

Posted: 23. Nov 2010, 02:50
by grumpy.biatch
zAchAry wrote:Can you, or anyone else, test an easier way to do it? For instance, combining slapt-get and slapt-src (click here to see an example).
These are the packages that available at SBo via the slapt-src command: SlackBuilds.org - Search Results for "nvidia"

I'm not using nvidia, therefor I won't write such post.
You can get old build off slackbuild.org repo. Nvidia releases a lot of bug fix and enhancement every now and then. If you wish to install latest and greatest, you need to follow what I posted initially. In my opinion it wont get any easier otherwise.

Re: Easy install guide for nvidia

Posted: 23. Nov 2010, 12:00
by laprjns
grumpy.biatch wrote:In my opinion it wont get any easier otherwise.
Actually it does get easier to upgrade the driver after you installed it using your method. To install the latest driver, just run the installer of your current driver with the "--update" option.

Code: Select all

./NVIDIA-Linux-x86-260.19.21.run --upgrade
This downloads the latest (not beta) version and installs it.

Re: Easy install guide for nvidia

Posted: 26. Dec 2010, 11:26
by ikke
grumpy.biatch wrote:This in my opinion is the easiest way to install nvidia -

Code: Select all

# slapt-get -i kernel-source

Code: Select all

# wget http://uk.download.nvidia.com/XFree86/Linux-x86/260.19.21/NVIDIA-Linux-x86-260.19.21.run
check the latest nvidia driver and change its title
Could you please also provide the url of the latest nvidia driver for x86_64. Or explain how I could find it.

Thank you.

Re: Easy install guide for nvidia

Posted: 26. Dec 2010, 11:49
by pwatk
1. Go to nvidia.com and select your OS, architecture and graphics card from the drop-down menus.
2. Save the installer to somewhere quickly accessible (/tmp is a good idea).
3. Open a terminal, login as root (su -) and swich to runlevel 3 (init 3).
4. At the prompt login as root again and execute the Nvidia installer (sh /tmp/NVIDIA-Linux-<arch>-<version>.run)
5. When the installation is complete switch back to runlevel 4 (init 4)

There isn't anything simpler, creating packages of this is far more work than it's worth undertaking.