How to Install and Uninstall mksh Package on Kali Linux

Last updated: May 12,2024

1. Install "mksh" package

Please follow the step by step instructions below to install mksh on Kali Linux

$ sudo apt update $ sudo apt install mksh

2. Uninstall "mksh" package

Please follow the guidance below to uninstall mksh on Kali Linux:

$ sudo apt remove mksh $ sudo apt autoclean && sudo apt autoremove

3. Information about the mksh package on Kali Linux

Package: mksh
Version: 59c-34
Installed-Size: 1579
Maintainer: Thorsten Glaser
Architecture: amd64
Depends: libc6 (>= 2.34)
Recommends: ed
Size: 585916
SHA256: d95ed2fd47daa7231b858d44de57f16721773bd0400d063e3cbce48436b8de08
SHA1: 73a69b92ac61a22f1caefe496f0b063c29b06399
MD5sum: da8b0de0f4d51bbff9081ac9e21e6da6
Description: 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,
musl, 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. Note the exact feature set may differ
depending on which C library was used to compile it.
.
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 extglobs, 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:
Multi-Arch: foreign
Homepage: http://mirbsd.de/mksh
Built-Using: dietlibc (= 0.34~cvs20160606-14)
Static-Built-Using: klibc (= 2.0.13-2), musl (= 1.2.4-2)
Tag: admin::boot, admin::install, admin::login, devel::interpreter,
devel::lang:c, devel::lang:posix-shell, devel::library,
implemented-in::c, interface::commandline, interface::shell,
made-of::man, role::devel-lib, role::documentation, role::program,
scope::application, suite::bsd, use::TODO, use::login, web::cgi,
works-with-format::html, works-with-format::plaintext,
works-with::people, works-with::software:running,
works-with::software:source, works-with::text, works-with::unicode
Section: shells
Priority: optional
Filename: pool/main/m/mksh/mksh_59c-34_amd64.deb