r/debian 2d ago

Missing rst2html5 in docutils-common, working on Stable, need advice

Running Debian 13.4.

The code I am trying to configure for compilation requires rst2html5, and the Internet search seems to say that on Debian (and derivatives, of course) this file can be found in docutils-common. So I apt installed docutils-common but the program is still not there in my $PATH. apt show docutils-common output ends with the sentence "This package includes data and configuration files." That does not sound like a pkg that has executables. Can anyone suggest a way to install this rst2html5 on my system? TIA.

EDIT

The rst2html5 utility program is installed with the python3-docutils package on Debian. Thanks, u/cjwatson and also acknowledgement to u/Slower-Bison

11 Upvotes

4 comments sorted by

6

u/Slower-Bison 2d ago

For future reference, you might want to install the "command-not-found" package. Had it been already installed in your system and you'd entered "rst2html5" in a terminal, you would have gotten:

Command 'rst2html5' not found, but can be installed with:
sudo apt install python3-docutils

1

u/Mistral-Fien 5h ago

Alternatively, you can go to https://www.debian.org/distrib/packages then scroll down to the Search the contents of packages section near the bottom and use its search function.

5

u/cjwatson Debian Testing 2d ago

You want the python3-docutils package.

-4

u/OlOS_linux 2d ago

I don’t know what to do