Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Detailed installation steps of nvidia graphics card driver after installing ubuntu12.04

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "the detailed installation steps of nvidia graphics card driver after installing ubuntu12.04". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn the detailed installation steps of the nvidia graphics card driver after installing ubuntu12.04.

First of all, state the general situation of this machine:

The code is as follows:

Robinson@robinson-homepc:~/Downloads$ uname-a

Linux robinson-homepc 3.11.0-15-generic # 23~precise1-Ubuntu SMP Tue Dec 10 16:43:53 UTC 2013 i686 i686 i386 GNU/Linux

Graphics card is just out of the Nvidia GTX650 this year, set show do not know, it should be its own driver.

1. Download driver: after the http://www.nvidia.com/page/drivers.html is downloaded, it is usually placed in the download folder, just like me.

two。 Uninstall the existing driver sudo apt-get remove-- purge nvidia*

3. Then click Ctrl + Alt + F1 to the first console. Enter the user password (if num lock is on, press twice), and then enter the command to turn off X.

(you may be a little unfamiliar with switching consoles, but here I offer another solution, which is to use SSH, whether you are a Window or any other system, to connect to the local computer with SSH. That's what I do. )

The code is as follows:

Robinson@robinson-homepc:~/Downloads$ sudo stop gdm

(note here that the general Ubuntu defaults to lightgdm, which I installed as gdm)

4. Then run the installation file

The code is as follows:

Robinson@robinson-homepc:~/Downloads$ sudo. / NVIDIA-Linux-x86-331.20.run

Tip: you can first enter sudo sh in the terminal of the graphical interface, then drag the run file into, enter, and cannot be installed, but this code will be recorded and can be found in the direction in the non-graphical interface.

5. After entering the installation interface, first accept the agreement, select "accept", there may be a prompt that the old driver has been installed (depending on whether you have installed it manually), whether to delete it, select yes, generally prompt for missing modules, ask whether to download from the Internet, select "no", prompt that you need to compile the module yourself, select "ok", then compile and install it, and finally prompt whether you need to modify xorg.conf and whether to allow it. Select yes, complete the installation, and select ok.

(one thing to say here is that you need DKMS, because this is needed to compile the kernel. When I upgraded the kernel, I installed all the packages, so I brought it with me. If there is a problem with the compilation, it may be that you did not install DKMS. When I installed it, I did ask that we need DKMS to compile your kernel module. )

6. Start to see the effect.

The code is as follows:

Robinson@robinson-homepc:~/Downloads$ sudo start gdm

At this point, I believe you have a deeper understanding of the "detailed installation steps of the nvidia graphics card driver after installing ubuntu12.04". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report