pterm command not found

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

Introduction

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

pterm: command not found

or when using sudo you get the following error message

sudo: pterm: command not found

Solutions to pterm: command not found

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

In Ubuntu pterm is provided by pterm package.

pterm is:

This is an X terminal emulator based on the popular Windows SSH client, PuTTY. It supports xterm escape sequences, plus some Linux console sequences for colour palette configuration and some DECterm sequences for title bar control, and with an appropriate font it supports the UTF-8 encoding of Unicode. It also has some nifty features like rectangular selection and NetHack keypad mode.

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

sudo apt-get -y install pterm

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

You can also use apt command to install pterm.

sudo apt -y install pterm

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

sudo aptitude install pterm

Summary

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