How to Install or Uninstall gxkb Ubuntu 22.04

Updated: October 9, 2022

gxkb is a little indicator applet which allows one to quickly switch between different keyboard layouts in X. A flag corresponding to the country of the active layout is shown in the indicator area. In this tutorial, I will show you how to install gxkb on Ubuntu 22.04.

Software Requirement

  • OS: Ubuntu 22.04 is needed for gxkb to work
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install gxkb on Ubuntu 22.04

Install gxkb Ubuntu 22.04

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

Install gxkb using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get gxkb on your Ubuntu.

Step 1: 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: Install the package on Ubuntu 22.04. After updating, you can install gxkb Ubuntu by pasting this command into the terminal and executing it.

sudo apt install gxkb

Install gxkb using Aptitude

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

sudo apt -y install aptitude

After installing, you can now install gxkb by following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. 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 gxkb Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude install gxkb

Uninstall gxkb 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.

If you installed gxkb using APT or Aptitude, you could uninstall gxkb on Ubuntu by running this command

sudo apt remove --auto-remove gxkb

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

sudo apt autoremove --purge gxkb

Summary

In this tutorial, I showed you ways to install gxkb on Ubuntu 22.04 and ways to uninstall gxkb too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.