how to install driver of nvidia video card in linux
to my best friend HAO
First of all, you'd better setup "sudo", in this way, you can run command as root like this "sudo yum install kmod-nvidia".
solution 1:
You can install nvidia following these steps:
1. download install file at http://us.download.nvidia.com/XFree86/Linux-x86/173.14.05/NVIDIA-Linux-x86-173.14.05-pkg1.run.
here is description of this driver http://www.nvidia.com/object/linux_display_ia32_173.14.05.html
my suggestion is that store it in you home folder
2. edit system initial file named "inittab" to login to system with text mode
sudo vi /etc/inittab
go to last line, you can see something like this "id:5:initdefault". Change "5" to "3". (in vi, press i into insert mode, :wq can save and quit)
3. restart, you will login to text mode
4. install driver as root
sudo sh NVIDIA-Linux-x86-173.14.05-pkg1.run
this will open a interface to lead you to finish installation
5. edit inittab file again
go to last line, change "3" to "5". This will allow you login to X11.
save and restart you computer.
soluation 2: it's very easy
I remember I had installed livna package before you left china.
You can run rpm -q livna-release-9 to comfirm whether it was installed.
if it wasn't installed, you must run following two line first, otherwise, you should run last line
sudo rpm -ivh http://rpm.livna.org/livna-release-9.rpms
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna
sudo yum install kmod-nvidia
restart you computer
The end
If you have any question, contact me.
订阅:
博文评论 (Atom)
1 评论:
Good call, Nice explanation.
发表评论