ubuntu install nvidia
时间: 2023-10-07 19:04:12 浏览: 40
To install Nvidia drivers on Ubuntu, you can follow these steps:
1. Open the Terminal by pressing Ctrl+Alt+T.
2. Add the Nvidia PPA (Personal Package Archive) repository by running the following command:
```
sudo add-apt-repository ppa:graphics-drivers/ppa
```
3. Update the package list by running:
```
sudo apt update
```
4. Install the recommended Nvidia driver by running the following command:
```
sudo apt install nvidia-driver-<version>
```
Replace `<version>` with the version number of the driver you want to install (e.g., `nvidia-driver-460`).
5. Reboot your system for the changes to take effect:
```
sudo reboot
```
After rebooting, the Nvidia driver should be installed on your Ubuntu system. You can verify this by opening the Nvidia X Server Settings application or by running the `nvidia-smi` command in the Terminal.