This repository provides step-by-step instructions for installing the official Nvidia RTX drivers on Ubuntu systems.
- An Nvidia RTX GPU
- Ubuntu Linux (any recent version)
- Terminal access with sudo privileges
- List Available Nvidia Drivers
Open a terminal and run:
sudo ubuntu-drivers list- Install the Recommended Nvidia Driver
To automatically install the appropriate driver for your system:
sudo ubuntu-drivers install- Verify Driver Installation
After installation is complete, check your Nvidia driver version with:
cat /proc/driver/nvidia/versionAfter installing the Nvidia driver, use the following command to confirm the GPU is active and the driver is functioning:
nvidia-smiThis should display information about your Nvidia GPU, driver version, CUDA version, and GPU activity.
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 575.64.03 Driver Version: 575.64.03 CUDA Version: 12.9 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 5090 Off | 00000000:01:00.0 On | N/A |
| 0% 33C P8 11W / 600W | 424MiB / 32607MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
- If you encounter issues, check hardware compatibility and ensure your system is up to date.
- For more details, consult the official Ubuntu documentation on Nvidia drivers.
This project is provided for educational purposes. For official driver distribution and licensing, see Nvidia's website.