xgterm command not found

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

Introduction

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

xgterm: command not found

or when using sudo you get the following error message

sudo: xgterm: command not found

Solutions to xgterm: command not found

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

In Ubuntu xgterm is provided by xgterm package.

xgterm is:

XGterm provides a Tek 4012 compatible graphics terminal emulation for IRAF, plus a datastream driven widget server capability using the Object Manager to provide full access to the underlying toolkit and widget set. The Gterm graphics window operates almost identically to the xterm Tek window, however there are extensions for implementing full-screen cursors, imaging, area fills, colors, graphics erasure, a “status line” and so on.

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

sudo apt-get -y install xgterm

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

You can also use apt command to install xgterm.

sudo apt -y install xgterm

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

sudo aptitude install xgterm

Summary

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