ksh93 command not found

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

Introduction

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

ksh93: command not found

or when using sudo you get the following error message

sudo: ksh93: command not found

Solutions to ksh93: command not found

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

In Ubuntu ksh93 is provided by ksh93u+m package.

ksh93u+m is:

KornShell is an interactive UNIX command interpreter as well as a POSIX compliant scripting language which is a superset of sh(1), the System V UNIX shell.

The ksh93 version of KornShell has the functionality of other scripting languages such as AWK, Icon, Perl, Rexx, Tcl and is a full-featured, expressive scripting language which complies with POSIX.2 Shell and Utilities (IEEE Std 1003.2-1992).

The KornShell language was designed and developed by David G. Korn at AT&T Bell Laboratories and AT&T Research.

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

sudo apt-get -y install ksh93u+m

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

You can also use apt command to install ksh93u+m.

sudo apt -y install ksh93u+m

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

sudo aptitude install ksh93u+m

Summary

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