Saturday 5 May 2012

Script to install Nvidia driver in Debian Squeeze with one click

 
http://www.unixmen.com/script-to-install-nividia-driver-in-debian-squeeze-with-one-click/?option=com_docman&task=doc_download&gid=32&Itemid=24 
 
#!/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

No comments:

Post a Comment

Samplersaurus demo 2

  #vst #synthesizer #drum another quick demo of the drum synth I'm working ...