Ways to Uninstall or Install galternatives on Ubuntu 22.04

Updated: September 6, 2022

A GUI to help the system administrator to choose what program should provide a given service. In this guide, I will show you ways to install galternatives Ubuntu 22.04.

Prerequisites to install

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install galternatives on Ubuntu 22.04

Install galternatives Ubuntu 22.04

galternatives 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 galternatives 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 galternatives 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 download new packages from Ubuntu. 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 galternatives Ubuntu by pasting this command into the terminal and executing it.

sudo apt-get -y install galternatives

Install galternatives using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt-get install aptitude

After installing, you can now install galternatives by 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: Install the package on Ubuntu 22.04. After updating the system, you can install galternatives Ubuntu by executing this command in the terminal.

sudo aptitude install galternatives

Uninstall galternatives on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a galternatives.

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

sudo apt remove --auto-remove galternatives

To uninstall galternatives and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge galternatives

Ending

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