xkbcli command not found

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

Introduction

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

xkbcli: command not found

or when using sudo you get the following error message

sudo: xkbcli: command not found

Solutions to xkbcli: command not found

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

In Ubuntu xkbcli is provided by libxkbcommon-tools package.

libxkbcommon-tools is:

xkbcommon is a library to handle keyboard descriptions, including loading them from disk, parsing them and handling their state. It’s mainly meant for client toolkits, window systems, and other system applications; currently that includes Wayland, kmscon, GTK+, Clutter, and more.

This package contains the xkbcli tool to interact with XKB keymaps.

More information about X.Org can be found at: URL:http://www.X.org

This module can be found at https://github.com/xkbcommon/libxkbcommon.git

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

sudo apt-get -y install libxkbcommon-tools

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

You can also use apt command to install libxkbcommon-tools.

sudo apt -y install libxkbcommon-tools

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

sudo aptitude install libxkbcommon-tools

Summary

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