On Friday 22 October 2004 16:42, Philippe Dhont (Sea-ro) wrote: > Hello, > > I'm pretty new to driver installations. > I downloaded with apt-get nvidia-kernel-source and now it is in my > /usr/src path. > How do i install it ?
I wrote a short howto last time I installed nvidia onto a few new sarge installations. Maybe you can use some of it: # Make sure you contrib and non-free are included in your lines # in /etc/apt/sources.list. E.g.: # deb http://ftp.dk.debian.org/debian/ testing main contrib non-free deb-src http://ftp.dk.debian.org/debian/ testing main contrib non-free ## If kernel 2.4.x # apt-get install kernel-image-2.4.27-1-686 nvidia-kernel-2.4.27-1-686 ## If kernel 2.6.x # # Update available package list. # sudo apt-get update # Get the packages needed for installation of the nvidia driver. # In this example I assume that you already run the 2.6.7 kernel # (-1-386 revision) and there must choose the 2.6.7 kernel sources. # sudo apt-get install build-essential kernel-package \ kernel-source-2.6.7 nvidia-glx nvidia-glx-dev \ nvidia-kernel-common nvidia-kernel-source # Make yourself owner of everything in /usr/src. Make it a # habbit not compiling as root, since you don't really need to. # chown -R frederik:frederik /usr/src (execute as root) cd /usr/src tar jxvf kernel-source-2.6.7.tar.bz2 tar zxvf nvidia-kernel-source.tar.gz ln -sf kernel-source-2.6.7 linux cd linux cp /boot/config-2.6.7-1-386 .config fakeroot make-kpkg --append-to-version -1-386 modules_clean fakeroot make-kpkg --append-to-version -1-386 modules_image sudo dpkg -i \ ../nvidia-kernel-2.6.7-1-386_1.0.6111-1+10.00.Custom_i386.deb depmod -a # Configure the X server # - deselect the 'GLcore' and 'dri' modules # - make sure 'glx' is being loaded # - use 'nvidia' as driver instead of 'nv' B/R, -- Frederik Dannemare | mailto:[EMAIL PROTECTED] http://qa.debian.org/developer.php?login=Frederik+Dannemare http://frederik.dannemare.net | http://www.linuxworlddomination.dk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]