Categories: Ubuntu

How to Install Nvidia Optimus Driver on Ubuntu

Nvidia Optimus is used to effortlessly switch between two GPUs within the same computer system. It is a hybrid GPU switching technology that provides maximum performance by utilizing the minimum system power. It automatically switches to a dedicated graphics card in case of extreme work overload, especially when a more demanding application is run on the system.

Follow this guide if you are a Ubuntu user and want to install Nvidia Optimus Driver on the system.

How to Install/Configure Nvidia Optimus Driver on Ubuntu

To install Nvidia Optimus Driver on Ubuntu, follow the below-written steps:

Step 1: Update/Upgrade Repository

The first step is to upgrade and update the repository as we will install Nvidia Optimus Driver from the official repository:

sudo apt update
sudo apt upgrade

 

Step 2: Install Nvidia Driver

Then use the below-written command to install Nvidia Optimus Driver Ubuntu system.

sudo apt install nvidia-driver-515 nvidia-dkms-515

 

The installation will take some time, as there will be a lot of libraries which will get installed with it.

Step 3: Reboot

Once the installation is completed then reboot the system for a new start with automatically configured Nvidia Drivers:

sudo reboot

 

Step 4: Verifying

Now, to open Nvidia Optimus Driver on Ubuntu, open the Application Menu and you will see a new icon with the name NVIDIA:


Click on the icon to open Nvidia Optimus Driver on Ubuntu.


Note: For configuration, you must have an Nvidia graphics card in your system. After which one can change the configuration depending on his/her choice.

Remove Nvidia Optimus Driver from Ubuntu

To remove Nvidia Optimus Driver from the Ubuntu system, you can use the below-mentioned apt command:

sudo apt remove –purge nvidia-*

 

Conclusion

To install Nvidia Optimus Driver on Ubuntu, update the repository first. Then by using the apt command install the driver. Once the installation of drivers is completed then reboot the system and after a reboot, you can find your Nvidia icon in the Application Menu of your Ubuntu system and you can click on it to open the application on the desktop and configure your driver accordingly.

Ubuntu Server Admin

Recent Posts

Ubuntu MATE 26.10 Release Notes

Lo and behold 👐, Ubuntu MATE 26.10 (Stonking Stingray) is here! 🎊 We are back…

6 days ago

How to Deploy Kiwix Server on Ubuntu VPS

This article provides a guide demonstrating how to deploy Kiwix Server on Ubuntu VPS. What…

6 days ago

How to Host a Discord Bot on Ubuntu VPS

This article provides a guide demonstrating how to host a Discord bot on Ubuntu VPS.…

1 week ago

Myna speech-to-text is now available as a technology preview

A few months ago, we introduced Myna, our project to bring private, local speech-to-text dictation…

1 week ago

What’s new in security for Ubuntu 26.10?

Ubuntu 26.10 “Stonking Stingray” arrives at a time when AI tools are accelerating vulnerability discovery.…

2 weeks ago

Devpack for Rust: Zero to Rust in seconds

One of the best things about Rust is how easy it is to get started.…

2 weeks ago