- Basic Linux tutorials for beginner
- Linux basic concepts, installation and troubleshooting
- Linux administration
- Linux commands
- Linux network tutorials
- Linux security tutorials
- Linux software configuration
- Linux desktop tutorials for beginner
- Collection of Linux tips
- Windows basic tutorials
- Introduction to windows
- Windows pre-installation
- Windows Installation
- Windows xp desktop
- Log on for the first time
- Windows XP control panel
- Managing Folders in Windows XP
- Outlook Express Setup
- How to import address book in Outlook Express
- Import Ms Exchange inbox file(.pst) into Ms Outlook 2003
- Import Outlook Express email messages into Ms Outlook 2003
- How to mount and unmount usb drive (thumb drive) in Windows
- House keeping - Keep your Windows clean and tidy
- Windows basic tutorials
How to install nvidia driver in Slackware Linux
Submitted by jinlusuh on Thu, 03/05/2009 - 07:17
This is a guide on how to install nvidia driver in Slackware Linux. The video card is a GeForce 8 Series, and the Slackware Linux is a 32-bit version. There are two ways where you can find nvidia driver for Slackware Linux. You can download the driver directly from nvidia website or you can build nvidia driver with the helps of slackbuilds.org. We are going to learn both ways in this tutorial.
Download nvidia driver from nvidia official website
You can find the nvidia driver for Linux in nvidia official website download page. You can even manually find your driver by selecting product type, product series, operating system type and language from dropdown list and let nvidia find the driver for you. Below is the link for the page and an example screenshot of the nvidia search driver download page.
Here is the driver search screenshot example:
When you finish, click Search button. Nvidia will find the driver for you.
Download nvidia driver source and scripts from slackbuilds.org
You can find nvidia driver and kernel driver for Slackware Linux from slackbuilds.org website. In the slackbuilds.org website, type nvidia driver in the search box and download the nvidia driver and kernel driver from the result page. See the example from the screenshots below:
Hit search button to find nvidia driver and slackbuild scripts. Here is the result example:
Click on nvidia driver to download nvidia driver and slackbuild scripts.
Now you can download both the nvidia driver source and slackbuild scripts to build Slackware package. After finish downloading nvidia driver, you can download the kernel driver. Refer to the download nvidia driver screenshots above.
Install nvidia driver in Slackware Linux
Before begin the nvidia driver installation, you must make a copy of the original /etc/X11/xorg.conf as a backup. Use the copy command example below:
If you choose to install the nvidia driver that you download from nvidia website, you must close kde or x-window and install the driver from Linux command line terminal.
Copy the driver to the directory that you placed all third party software such as /usr/local/src. This is not necessary, just a good habit. To install the driver, run the nvidia driver with the sh command like in the example below.
Now, you just need to answer all the questions to configure nvidia driver and the nvidia installation program will do the driver and kernel installation for you.
Build nvidia driver package with slackbuild
These are the steps to build nvidia driver and kernel driver with the slackbuild scripts from slackbuilds.org. Copy or move the slackbuild scripts to the proper place to build slackware package.
Copy the nvidia source into the extracted slackbuild driver package. Run the slackbuild installer scripts to create nvidia driver package. See the example below:
When the slackbuild scripts finished, you can get the nvidia driver package from /tmp directory. You can install the driver package with installpkg command like in the example below:
Repeat the same steps for the kernel driver. After you installed both invidia driver and kernel driver, open /etc/X11/xorg.conf file and change the "Graphics device section" driver to nvidia.
Error and troubleshooting
If there is an error and nvidia driver cannot be installed, you should get the error name or error code. Write down that error. Before you start searching the Internet for the solution, you should check the nvidia driver installation log. The nvidia-installer log file is /var/log/nvidia-installer.log. Open the log file and carefully scan for the error. What I mean 'scan' is, you don't have to read everything, just go through the log looking for the error. When you found the error, check all the details. Normally, there will be suggestion to fix the error. Try that first. If you think the suggestion is out of your league, then try google for that error.
Nvidia driver installation failed often related to the Linux kernel source. If you got an error says there is no kernel source or Kernel configuration is invalid, that means some files are missing. You can try repairing the kernel source or re-install it from the Slackware installer.
That's all. Good luck!