galternatives command not found

In this troubleshooting guide we learn how to fix galternatives command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

galternatives: command not found

or when using sudo you get the following error message

sudo: galternatives: command not found

Solutions to galternatives: command not found

How To Fix galternatives: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu galternatives is provided by galternatives package.

galternatives is:

A GUI to help the system administrator to choose what program should provide a given service.

This is a graphical front-end to the update-alternatives program shipped with dpkg.

To fix this problem, we can install more using the command below.

sudo apt-get -y install galternatives

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install galternatives.

sudo apt -y install galternatives

Or if you have aptitude installed you can use the following command.

sudo aptitude install galternatives

Summary

In this tutorial we learn how to fix galternatives command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.