How to Install and Uninstall m2r Package on Ubuntu 21.10 (Impish Indri)

Last updated: October 06,2024

1. Install "m2r" package

Here is a brief guide to show you how to install m2r on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install m2r

2. Uninstall "m2r" package

Please follow the guidance below to uninstall m2r on Ubuntu 21.10 (Impish Indri):

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

3. Information about the m2r package on Ubuntu 21.10 (Impish Indri)

Package: m2r
Architecture: all
Version: 0.2.1-5
Priority: optional
Section: universe/text
Source: python-m2r
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Jonas Smedegaard
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14
Depends: python3-m2r (= 0.2.1-5), python3:any
Suggests: python-m2r-doc
Enhances: python3-sphinx
Filename: pool/universe/p/python-m2r/m2r_0.2.1-5_all.deb
Size: 3584
MD5sum: 68d8b786572262f79b62d2fe20367dae
SHA1: 6ac9186a6bf30e2a363fd4e86cf53472bc650f27
SHA256: d5fbe9f7fa38935b90cd30f14b09224cac23525869b6f77261100e82ada275cf
SHA512: 568d274cd9f556607281d8220e9c74d0401210ee65ef592394cb2f41bff7c638dd8805281d2f5b71534e333a2eff6844483343af424e3fd2c44c7f02e0510469
Homepage: https://github.com/miyakogi/m2r
Description-en: 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: d2d7ecf2d21c184d973322f2eafd5028