uxterm command not found

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

Introduction

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

uxterm: command not found

or when using sudo you get the following error message

sudo: uxterm: command not found

Solutions to uxterm: command not found

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

In Ubuntu uxterm is provided by xterm package.

xterm is:

xterm is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals for programs that cannot use the window system directly. This version implements ISO/ANSI colors and most of the control sequences used by DEC VT220 terminals.

This package provides four commands: xterm, which is the traditional terminal emulator; uxterm, which is a wrapper around xterm that is intelligent about locale settings (especially those which use the UTF-8 character encoding), but which requires the luit program from the luit package; koi8rxterm, a wrapper similar to uxterm for locales that use the KOI8-R character set; and lxterm, a simple wrapper that chooses which of the previous commands to execute based on the user’s locale settings.

A complete list of control sequences supported by the X terminal emulator is provided in /usr/share/doc/xterm.

The xterm program uses bitmap images provided by the xbitmaps package.

Those interested in using koi8rxterm will likely want to install the xfonts-cyrillic package as well.

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

sudo apt-get -y install xterm

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

You can also use apt command to install xterm.

sudo apt -y install xterm

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

sudo aptitude install xterm

Summary

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