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

How to install Nvidia graphics card driver under linux

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

Share

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

This article mainly explains "how to install Nvidia graphics card driver under linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to install Nvidia graphics card driver under linux.

Source installation

Change the source:

Sudo gedit / etc/apt/sources.list

Add a row

Deb http://nvidia.limitless.lupine.me.uk/ubuntu edgy stable-9631

Sudo apt-get update wget http://nvidia.limitless.lupine.me.uk/ubuntu/root@lupine.me.uk.gpg-O-| sudo apt-key add-

Sudo apt-get install nvidia-glx-d

Sudo apt-get install nvidia-glx

Manual installation:

Go to http://www.nvidia.com/ to download the driver corresponding to the 64-bit version of 32max, and place it in the home folder for easy call.

Delete the original driver (assuming you have installed the nvidia-glx driver in the source, you can skip it if you have manually installed the driver):

Sudo apt-get-purge remove nvidia-glx

Then restore the settings sudo cp / etc/X11/xorg.conf.backup / etc/X11/xorg.conf of X with the backup of the original xorg.conf

Restart, make sure to start the normal installation compilation environment and previous steps:

Install header files and compile environment sudo apt-get install linux-headers-$ (uname-r) build-essential

Edgy has installed the latest gcc. If it is not installed, install gksudo gedit / etc/default/linux-restricted-modules-common by yourself.

Add the word nv in the final double quotation marks, and the word "nv" is added to prevent the start X from failing.

Sudo cp / etc/X11/xorg.conf / etc/X11/xorg.conf.mybackup

If you fail to start X, you can use sudo cp / etc/X11/xorg.conf.mybackup / etc/X11/xorg.conf to restore the X settings, and then start the following key points left on the network. I have installed many machines that are not in use. If not, I can try (but will delete the restricted module, resulting in some other hardware can not be used): [untested]

Sudo apt-get-purge remove nvidia-settings nvidia-kernel-commonsudo rm / etc/init.d/nvidia-*

Start the installation (for those who have manually installed the nv driver, you can choose to uninstall the old driver during installation):

Please take out a piece of paper and a pen and record the following command, because we want to go to the pure terminal to install and log out, press Ctrl+Alt+F1, log in and close gdm sudo / etc/init.d/gdm stop

Then start the installation (assuming the downloaded files are placed in the home root directory) sudo sh NVIDIA-Linux-x86-169.09-pkg1.run

If you download a 64-bit driver sudo sh NVIDIA-Linux-x86_64-1. 0-9629-pkg1.run

After entering the installation interface, first accept the agreement and select "accept". May be prompted to install the old driver (depending on whether you have manually installed), whether to delete, select yes, generally prompt for the lack of modules, ask whether to download from the Internet, select "no", prompt to compile the module yourself, select "ok", and then compile the installation to start, and finally prompt to modify xorg.conf, whether to allow, select yes, complete the installation, select ok. Then go back to the terminal interface and restart gdm sudo / etc/init.d/gdm start

Or simply restart the system. Now you can restart to see if the driver is installed. You can see the driver message in "Application -" system tools-"NVIDIA X server setting: every time you update the kernel, you need to reinstall the nv driver! repeat step 5.

Delete nVidia Flag

If you do not want to display the nVidia flag before starting the interface, you need to manually edit your Xorg configuration file.

Select the Applications application menu at the top of the screen, and then select Accessories Accessories, Terminal Terminal.

Enter the following command: sudo gedit / etc/X11/xorg.conf

Find the line "nvidia" in the Device section, and add Option "NoLogo" after the line

Save the file and exit, restart X

At this point, I believe you have a deeper understanding of "how to install Nvidia graphics card driver under linux". 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