0

I get this error:

X terminal for some input / output, please make sure "xterm" command can be found in your PATH environment

When I

echo $TERM

I get xterm. But xterm cannot be found on my Linux system when I search for, so I can't put path to my C shell.

1
  • 1
    It depends on the system: Debian-based (sudo apt-get install xterm), Redhat (sudo dnf install xterm), Arch (sudo pacman -Sy xterm), Mageia and OpenSUSE differ as well. – Thomas Dickey Apr 12 '20 at 1:32
1

xterm is just the behavior of your terminal. This has to do with what, say, the clear program sends to your screen when you run it. If you actually want to run the xterm program, you'll have to install it.

Debian:

sudo apt-get install xterm

Red Hat (thanks Thomas Dickey for the comment):

sudo dnf install xterm

and Arch Linux (another from the comment):

sudo pacman -Sy xterm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.