How To Install mksh.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install mksh.x86_64
on Amazon Linux 2.
What is mksh.x86_64
mksh is the MirBSD enhanced version of the Public Domain Korn shell (pdksh), a bourne-compatible shell which is largely similar to the original AT&T Korn shell. It includes bug fixes and feature improvements in order to produce a modern, robust shell good for interactive and especially script use, being a bourne shell replacement, pdksh successor and an alternative to the C shell.
We can use yum
to install mksh.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mksh.x86_64.
Install mksh.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install mksh.x86_64
using yum
by running the following command:
sudo yum -y install mksh.x86_64
How To Uninstall mksh.x86_64 on Amazon Linux 2
To uninstall only the mksh.x86_64
package we can use the following command:
sudo yum remove mksh.x86_64
mksh.x86_64 Package Contents on Amazon Linux 2
/bin/ksh
/bin/lksh
/bin/mksh
/etc/mkshrc
/etc/skel/.mkshrc
/usr/share/doc/mksh-46
/usr/share/doc/mksh-46/dot.mkshrc
/usr/share/man/man1/ksh.1.gz
/usr/share/man/man1/lksh.1.gz
/usr/share/man/man1/mksh.1.gz
References
Summary
In this tutorial we learn how to install mksh.x86_64
on Amazon Linux 2 using yum.