How to Install and Uninstall m2r Package on Kali Linux

Last updated: May 21,2024

1. Install "m2r" package

This tutorial shows how to install m2r on Kali Linux

$ sudo apt update $ sudo apt install m2r

2. Uninstall "m2r" package

This tutorial shows how to uninstall m2r on Kali Linux:

$ sudo apt remove m2r $ sudo apt autoclean && sudo apt autoremove

3. Information about the m2r package on Kali Linux

Package: m2r
Source: python-m2r
Version: 0.3.1-0.1
Installed-Size: 16
Maintainer: Jonas Smedegaard
Architecture: all
Depends: python3-m2r (= 0.3.1-0.1), python3:any
Suggests: python-m2r-doc
Enhances: python3-sphinx
Size: 5756
SHA256: 6bcbdaf07677254fee744d2b954ddff91763adf158673853df3756a3c40799d3
SHA1: cd616ce42aabc7e2bc95f6ab83c7c0e0523843bd
MD5sum: 491691b05d404541a42b0fdc881116a1
Description: Markdown and reStructuredText in a single file - CLI tool
M2R converts a markdown file including reStructuredText (rst) markups
to a valid rst format.
.
Use case is writing sphinx document in markdown,
since it's widely used now and easy to write code blocks and lists.
However, converters using pandoc or recommonmark
do not support many rst markups and sphinx extensions.
For example, rst's reference link like ``see `ref`_``
(this is very convenient in long document
in which same link appears multiple times)
will be converted to a code block in HTML
like `see ref_`,
which is not expected.
.
This package provides the command-line tool m2r.
Description-md5:
Homepage: https://github.com/miyakogi/m2r
Section: text
Priority: optional
Filename: pool/main/p/python-m2r/m2r_0.3.1-0.1_all.deb