How to Uninstall or Install brightnessctl Ubuntu 22.04

Updated: September 23, 2022

brightnessctl is a small utility to control the brightness of a screen’s backlight. I will show you how to install brightnessctl on Ubuntu 22.04 in this tutorial.

Prerequisites to install

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install brightnessctl on Ubuntu 22.04

Install brightnessctl Ubuntu 22.04

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

Install brightnessctl using APT

This is a popular method for installing Ubuntu packages since it’s simple to understand, even if you’re new to Linux. Following these instructions to install brightnessctl on your Ubuntu.

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 download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install brightnessctl Ubuntu by executing this command in the terminal.

sudo apt install brightnessctl

Install brightnessctl using Aptitude

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt-get install aptitude

After installing it, you can now install brightnessctl, just following these steps:

Step 1: Obtain new packages from Ubuntu by updating the APT database. Launching the terminal and entering the following Linux command:

sudo apt-get update

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

sudo aptitude install brightnessctl

Uninstall brightnessctl on Ubuntu 22.04

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

This command can be used to uninstall brightnessctl from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove brightnessctl

If you want to uninstall brightnessctl and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge brightnessctl

Ending

In this tutorial, I showed you ways to install brightnessctl on Ubuntu 22.04 and some ways to uninstall brightnessctl too. Please contact me if you require any assistance. I’d be delighted to respond.