How to Install and Uninstall mksh Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: November 07,2024
1. Install "mksh" package
Learn how to install mksh on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
mksh
Copied
2. Uninstall "mksh" package
This guide covers the steps necessary to uninstall mksh on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
mksh
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the mksh package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: mksh
Priority: optional
Section: universe/shells
Installed-Size: 1046
Maintainer: Ubuntu Developers
Original-Maintainer: Thorsten Glaser
Architecture: amd64
Version: 52c-2
Depends: libc6 (>= 2.15)
Recommends: ed
Filename: pool/universe/m/mksh/mksh_52c-2_amd64.deb
Size: 427750
MD5sum: 2b7744ee459dc88e5dd4deb33e47882d
SHA1: 594471f1db02a5a489b3d336a2105113b9b6d03d
SHA256: 22a4c3f5e8658a4c37416c838a7b8ee5f52657a50c639f5f17cf23eaabc887d8
Description-en: MirBSD Korn Shell
mksh is the successor of the Public Domain Korn shell (pdksh),
a Bourne/POSIX compatible shell which is largely similar to the
original AT&T Korn Shell (ksh88/ksh93).
It includes bug fixes and feature improvements, in order to produce a
modern, robust shell good for interactive and especially script use.
mksh has UTF-8 support (in string operations and the Emacs editing
mode). The code has been cleaned up and simplified, bugs fixed,
standards compliance added, and several enhancements (for extended
compatibility to other modern shells, as well as a couple of its
own) are available.
This shell is Debian Policy 10.4 compliant and works as /bin/sh on
Debian systems (use the /bin/lksh executable) and is a good rescue
and initrd shell (consider the /bin/mksh-static executable).
.
The mksh binary is a complete, full-featured shell. It provides a
“consistent across all platforms” guarantee, using 32-bit integers
for arithmetics, possibly deviating from POSIX.
.
The mksh-static binary is a version of mksh, linked against klibc or
dietlibc (if they exist for that Debian architecture and are usable)
and optimised for small code size, for example for use on initrd or
initramfs images, installation or rescue systems. Except for omitting
some features to be smaller, it is similar to the mksh binary otherwise.
.
The lksh binary is a script shell based on mksh intended to run old
ksh88 and pdksh scripts, but not for interactive use. When used as
/bin/sh it follows POSIX most closely, including use of the host’s
“long” C data type for arithmetics. It also contains kludges so it
can run as /bin/sh on Debian beyond what Policy dictates, to work
around bugs in maintainer scripts and LSB init scripts shipped by
many packages, such as including a rudimentary printf(1) builtin,
permitting a shell function to be named stop overriding the default
alias, more loose interpretation of shell extglibs, etc.
.
A sample ~/.mkshrc is included in /usr/share/doc/mksh/examples and
provided as /etc/mkshrc conffile, which is sourced by another file
/etc/skel/.mkshrc users are recommended to copy into their home.
Description-md5: 5267ee91c51412979f795b1061f495c2
Built-Using: dietlibc (= 0.33~cvs20120325-6), gcc-5 (= 5.3.1-14ubuntu2), klibc (= 2.0.4-8ubuntu1), linux (= 4.4.0-18.34)
Multi-Arch: foreign
Homepage: http://mirbsd.de/mksh
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: optional
Section: universe/shells
Installed-Size: 1046
Maintainer: Ubuntu Developers
Original-Maintainer: Thorsten Glaser
Architecture: amd64
Version: 52c-2
Depends: libc6 (>= 2.15)
Recommends: ed
Filename: pool/universe/m/mksh/mksh_52c-2_amd64.deb
Size: 427750
MD5sum: 2b7744ee459dc88e5dd4deb33e47882d
SHA1: 594471f1db02a5a489b3d336a2105113b9b6d03d
SHA256: 22a4c3f5e8658a4c37416c838a7b8ee5f52657a50c639f5f17cf23eaabc887d8
Description-en: MirBSD Korn Shell
mksh is the successor of the Public Domain Korn shell (pdksh),
a Bourne/POSIX compatible shell which is largely similar to the
original AT&T Korn Shell (ksh88/ksh93).
It includes bug fixes and feature improvements, in order to produce a
modern, robust shell good for interactive and especially script use.
mksh has UTF-8 support (in string operations and the Emacs editing
mode). The code has been cleaned up and simplified, bugs fixed,
standards compliance added, and several enhancements (for extended
compatibility to other modern shells, as well as a couple of its
own) are available.
This shell is Debian Policy 10.4 compliant and works as /bin/sh on
Debian systems (use the /bin/lksh executable) and is a good rescue
and initrd shell (consider the /bin/mksh-static executable).
.
The mksh binary is a complete, full-featured shell. It provides a
“consistent across all platforms” guarantee, using 32-bit integers
for arithmetics, possibly deviating from POSIX.
.
The mksh-static binary is a version of mksh, linked against klibc or
dietlibc (if they exist for that Debian architecture and are usable)
and optimised for small code size, for example for use on initrd or
initramfs images, installation or rescue systems. Except for omitting
some features to be smaller, it is similar to the mksh binary otherwise.
.
The lksh binary is a script shell based on mksh intended to run old
ksh88 and pdksh scripts, but not for interactive use. When used as
/bin/sh it follows POSIX most closely, including use of the host’s
“long” C data type for arithmetics. It also contains kludges so it
can run as /bin/sh on Debian beyond what Policy dictates, to work
around bugs in maintainer scripts and LSB init scripts shipped by
many packages, such as including a rudimentary printf(1) builtin,
permitting a shell function to be named stop overriding the default
alias, more loose interpretation of shell extglibs, etc.
.
A sample ~/.mkshrc is included in /usr/share/doc/mksh/examples and
provided as /etc/mkshrc conffile, which is sourced by another file
/etc/skel/.mkshrc users are recommended to copy into their home.
Description-md5: 5267ee91c51412979f795b1061f495c2
Built-Using: dietlibc (= 0.33~cvs20120325-6), gcc-5 (= 5.3.1-14ubuntu2), klibc (= 2.0.4-8ubuntu1), linux (= 4.4.0-18.34)
Multi-Arch: foreign
Homepage: http://mirbsd.de/mksh
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu