Ways to Uninstall and Install bumblebee on Ubuntu 22.04

Updated: September 2, 2022

Bumblebee is an effort to make NVIDIA Optimus enabled laptops work in GNU/Linux systems. These laptops are built in such a way that the NVIDIA graphics card can be used on demand so that battery life is improved and temperature is kept low. I will show you how to install bumblebee on Ubuntu 22.04 in this tutorial.

Requirements to install

  • OS: bumblebee needs Ubuntu 22.04 to work
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install bumblebee on Ubuntu 22.04

Install bumblebee Ubuntu 22.04

bumblebee is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install bumblebee using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these instructions to get bumblebee on your Ubuntu 22.04.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install bumblebee Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt-get install bumblebee

Install bumblebee using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt -y install aptitude

Then, you can now install bumblebee, just following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install bumblebee Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude -y install bumblebee

Uninstall bumblebee on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

You can uninstall bumblebee Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove bumblebee

You can also execute this command if you want to uninstall bumblebee and remove its data and dependencies:

sudo apt autoremove --purge bumblebee

Conclusion

In this guide, I showed you ways to install bumblebee on Ubuntu 22.04 and some ways to uninstall bumblebee too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.