Google Plus

Script to install Nvidia driver in Debian Squeeze with one click

Written by M. Zinoune on . Posted in Linux tutorials

This is a nice script that will allow you to install Nvida driver in Debian Squeeze the easy way

.

.

.

.

.

.

#!/bin/bash
# NVIDIA-Installer-Squeeze
# Enrique Molina
#
# GNU Public License V.3
if [ $USER != root ]; then
echo "¡Is necessary be root!"
exit 0
fi
echo "[Add Repository] [Please Wait]"
sleep 2
echo "deb http://ftp.debian.org/debian/ squeeze main contrib non-free" >> /etc/apt/sources.list
echo "[Update Repository]"
sleep 2
aptitude update
aptitude safe-upgrade
echo "[Installing Nvidia-Kernel-Module]"
sleep 2
VERSION=`uname -r`
aptitude install nvidia-kernel-$VERSION nvidia-glx
aptitude install nvidia-xconfig
nvidia-xconfig
echo "[Installing Nvidia-Settings]"
sleep 2
aptitude install nvidia-settings
echo "[Is necessary reboot to apply the changes]"
echo -n "[Do you want reboot now {y/n}]: " ; read var
case $var in
y)
reboot
;;
n)
exit
esac

Download the script

 Easy Script to install Nvidia in debian Squeeze (563 Bytes 2011-09-13 15:04:17)

First  extract, make it executable and then install it using the following commands

 su chmod +x nvidia-installer-squeeze.sh ./nvidia-installer-squeeze.sh

VIA | kikefree

For questions please refer to our Q/A forum at : http://ask.unixmen.com

  • http://www.bestfinance-blog.com CARMELLAHorn21

    I will recommend not to hold back until you earn enough amount of money to buy goods! You should just take the credit loans or credit loan and feel yourself free

  • travis

    SUCCESS!!! Tried everything and they all b0rked me good. This one worked perfect. It removed a couple of packages but I had no issues re-adding those. Can finally play a couple of games. Thanks much.

  • Vince

    Worked like a charm !! Thanks !

  • http://yo9fah.net/ yo9fah

    Zinovsky, works great good man! :)

  • http://yo9fah.net/ yo9fah

    WARNING: Unable to locate/open X configuration file.

    New X configuration file written to ‘/etc/X11/xorg.conf’

    So, thanks again! Good job!

  • batov

    very good work thaaaaaaaaaaaaaaaaaanks!

  • Detlef Müller

    Fails for me.
    Instead of the legacy-96-xx Driver needed
    for my card, some other is installed.

    kernel log says:

    NVRM: The NVIDIA GeForce4 MX 440 with AGP8X GPU installed in this system is
    NVRM: supported through the NVIDIA 96.43.xx Legacy drivers. Please
    NVRM: visit http://www.nvidia.com/object/unix.html for more
    NVRM: information. The 195.36.31 NVIDIA driver will ignore
    NVRM: this GPU. Continuing probe…
    NVRM: No NVIDIA graphics adapter found!

  • A Vd Sluis

    Thanks for the script, it worked like a charm.

  • ob

    Thank you SO much for this!

  • cornelius

    WOW!! Thank you for your script! You SAVED me!! God bless you!!

    Kind regards,
    Cornelius

  • Pingback: nvidia drivers in Squeeze

  • fthieul

     Thanks for this script. It works very well for me (Debian Wheeze/Sid) after substituing “Squeeze” into “Wheeze”.

    Regards,
    François

  • Pingback: Nvidia 302.17 Has Been Released! Install In Ubuntu12.04, LinuxMint13, Fedora17 - Techpublic

  • Ruslan Nagiev

    Thank you very much!! You EXTREMELY help me! (Debian Squeeze, x86)
    Best regards,Ruslan G. Nagiev

  • fisherman421

    Installed all necessary nvidia Debian packages enabling the easy configuration of a dual monitor setup. Thanks.
     

  • Tiago

    Thanks.. this script was very helpfull..

  • esd

    Muy agradecido

  • g warne

    Thanks, m. zinoune! Your script worked great and saved me a lot of time and headache. I wonder why more tutorials are not written up like this. Great idea!

  • Andreas H.

    Great Job, Thanks!
    That’s what I’m looking for a long time.
    Greetings from Germany,
    Andy

  • jason

    thanks man. I didn’t use chmod though but it worked. Awesome work. I tried installing on my own but i couldn’t shut down xserver.

  • Sunheng TIENG

    Installation finished but my Debian 6.0.6 failed to start.

    There is only a blink cursor appeared while it try to load X System.

  • Sunheng TIENG

    How can I restore my Debian back to previous working state?
    Is there anyways to fix this problems?
    Debian 6.0.6 64 AMD 64 bits.

  • Andrzej

    Thak you. Greetings from Poland.

    Andrzej
    Debian Wheezy 64bit User.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Pat L

|

I tried it and it works with a regular zip file, but if you password-protect the .zip file it does NOT work.

SK

|

Yes we can. What kind of help you need? We are doing outsourcing and technical support for Linux and Open source worldwide. To know more about the details visit here.

ClintB

|

After install as above, run shell script /opt/Citrix/ICAClient/wfica.sh manually and note lib errors still occur. I had the x64 motif loaded but had to manually install the x86 too. Got that from http://rpmfind.net/linux/rpm2html/search.php?query=libXm.so.4 Even after that, I still had to do a “yum install alsa-lib.i686 alsa-lib.x86_64″ to resolve any additional libasound.so.2 errors. Once those two lib issues were resolved, Citix Web Interface launched apps fine by telling browser to open launch.ica using /opt/Citrix/ICAClient/wfica.sh. Good luck Ernesto!

AD

|

I need some Help on Linux,can you guide me ?

Edson Carlos

|

In debian no found. I need link download install in linux debian

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .