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

Last updated: May 18,2024

1. Install "python3-m2r" package

This guide covers the steps necessary to install python3-m2r on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-m2r

2. Uninstall "python3-m2r" package

Please follow the instructions below to uninstall python3-m2r on Ubuntu 21.10 (Impish Indri):

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

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

Package: python3-m2r
Architecture: all
Version: 0.2.1-5
Priority: optional
Section: universe/python
Source: python-m2r
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Jonas Smedegaard
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 51
Depends: python3-mistune, python3-docutils, python3:any
Suggests: python-m2r-doc
Enhances: python3-sphinx
Filename: pool/universe/p/python-m2r/python3-m2r_0.2.1-5_all.deb
Size: 11728
MD5sum: 93354548536756d2af2d26ead38856ff
SHA1: 39d03b8b572b5386f9728982d294e4a3ac3724d5
SHA256: 6dfbf00efb9c07c6b9fe9f8c18079ddeecd400f495c7866b25ea98d11039e44b
SHA512: 387e7617f6911c3b1cfcf4c547c6c51600b9d5daae78bf67b4f6f8be8579d8171e7b2e73fc0164b8cb759bebcb685d4954cd9c69d86a4f31054bfcd4592991fb
Homepage: https://github.com/miyakogi/m2r
Description-en: Markdown and reStructuredText in a single file - Python3 library
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 m2r module
for Python 3.
Description-md5: 59ff0902dcffd6e8de57dc32e7f0c63d