How To Install htmldoc on Fedora 34
Introduction
In this tutorial we learn how to install htmldoc
on Fedora 34.
What is htmldoc
HTMLDOC converts HTML source files into indexed HTML, PostScript, or Portable Document Format (PDF) files that can be viewed online or printed. With no options a HTML document is produced on stdout. The second form of HTMLDOC reads HTML source from stdin, which allows you to use HTMLDOC as a filter. The third form of HTMLDOC launches a graphical interface that allows you to change options and generate documents interactively.
We can use yum
or dnf
to install htmldoc
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install htmldoc.
Install htmldoc on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install htmldoc
using dnf
by running the following command:
sudo dnf -y install htmldoc
Install htmldoc on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install htmldoc
using yum
by running the following command:
sudo yum -y install htmldoc
How To Uninstall htmldoc on Fedora 34
To uninstall only the htmldoc
package we can use the following command:
sudo dnf remove htmldoc
htmldoc Package Contents on Fedora 34
/usr/bin/htmldoc
/usr/lib/.build-id
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/05c4df5e09085f18316eb57e808f4b430bc653
/usr/share/applications/htmldoc.desktop
/usr/share/doc/htmldoc
/usr/share/doc/htmldoc/README.md
/usr/share/doc/htmldoc/help.html
/usr/share/doc/htmldoc/htmldoc.html
/usr/share/doc/htmldoc/htmldoc.pdf
/usr/share/htmldoc
/usr/share/htmldoc/data
/usr/share/htmldoc/data/cp-1250
/usr/share/htmldoc/data/cp-1251
/usr/share/htmldoc/data/cp-1252
/usr/share/htmldoc/data/cp-1253
/usr/share/htmldoc/data/cp-1254
/usr/share/htmldoc/data/cp-1255
/usr/share/htmldoc/data/cp-1256
/usr/share/htmldoc/data/cp-1257
/usr/share/htmldoc/data/cp-1258
/usr/share/htmldoc/data/cp-874
/usr/share/htmldoc/data/iso-8859-1
/usr/share/htmldoc/data/iso-8859-14
/usr/share/htmldoc/data/iso-8859-15
/usr/share/htmldoc/data/iso-8859-2
/usr/share/htmldoc/data/iso-8859-3
/usr/share/htmldoc/data/iso-8859-4
/usr/share/htmldoc/data/iso-8859-5
/usr/share/htmldoc/data/iso-8859-6
/usr/share/htmldoc/data/iso-8859-7
/usr/share/htmldoc/data/iso-8859-8
/usr/share/htmldoc/data/iso-8859-9
/usr/share/htmldoc/data/koi8-r
/usr/share/htmldoc/data/prolog.ps
/usr/share/htmldoc/data/psglyphs
/usr/share/htmldoc/fonts
/usr/share/htmldoc/fonts/Courier-Bold.afm
/usr/share/htmldoc/fonts/Courier-Bold.pfa
/usr/share/htmldoc/fonts/Courier-BoldOblique.afm
/usr/share/htmldoc/fonts/Courier-BoldOblique.pfa
/usr/share/htmldoc/fonts/Courier-Oblique.afm
/usr/share/htmldoc/fonts/Courier-Oblique.pfa
/usr/share/htmldoc/fonts/Courier.afm
/usr/share/htmldoc/fonts/Courier.pfa
/usr/share/htmldoc/fonts/Dingbats.afm
/usr/share/htmldoc/fonts/Dingbats.pfa
/usr/share/htmldoc/fonts/Helvetica-Bold.afm
/usr/share/htmldoc/fonts/Helvetica-Bold.pfa
/usr/share/htmldoc/fonts/Helvetica-BoldOblique.afm
/usr/share/htmldoc/fonts/Helvetica-BoldOblique.pfa
/usr/share/htmldoc/fonts/Helvetica-Oblique.afm
/usr/share/htmldoc/fonts/Helvetica-Oblique.pfa
/usr/share/htmldoc/fonts/Helvetica.afm
/usr/share/htmldoc/fonts/Helvetica.pfa
/usr/share/htmldoc/fonts/Monospace-Bold.afm
/usr/share/htmldoc/fonts/Monospace-Bold.pfa
/usr/share/htmldoc/fonts/Monospace-BoldOblique.afm
/usr/share/htmldoc/fonts/Monospace-BoldOblique.pfa
/usr/share/htmldoc/fonts/Monospace-Oblique.afm
/usr/share/htmldoc/fonts/Monospace-Oblique.pfa
/usr/share/htmldoc/fonts/Monospace.afm
/usr/share/htmldoc/fonts/Monospace.pfa
/usr/share/htmldoc/fonts/Sans-Bold.afm
/usr/share/htmldoc/fonts/Sans-Bold.pfa
/usr/share/htmldoc/fonts/Sans-BoldOblique.afm
/usr/share/htmldoc/fonts/Sans-BoldOblique.pfa
/usr/share/htmldoc/fonts/Sans-Oblique.afm
/usr/share/htmldoc/fonts/Sans-Oblique.pfa
/usr/share/htmldoc/fonts/Sans.afm
/usr/share/htmldoc/fonts/Sans.pfa
/usr/share/htmldoc/fonts/Serif-Bold.afm
/usr/share/htmldoc/fonts/Serif-Bold.pfa
/usr/share/htmldoc/fonts/Serif-BoldOblique.afm
/usr/share/htmldoc/fonts/Serif-BoldOblique.pfa
/usr/share/htmldoc/fonts/Serif-Oblique.afm
/usr/share/htmldoc/fonts/Serif-Oblique.pfa
/usr/share/htmldoc/fonts/Serif-Roman.afm
/usr/share/htmldoc/fonts/Serif-Roman.pfa
/usr/share/htmldoc/fonts/Symbol.afm
/usr/share/htmldoc/fonts/Symbol.pfa
/usr/share/htmldoc/fonts/Times-Bold.afm
/usr/share/htmldoc/fonts/Times-Bold.pfa
/usr/share/htmldoc/fonts/Times-BoldItalic.afm
/usr/share/htmldoc/fonts/Times-BoldItalic.pfa
/usr/share/htmldoc/fonts/Times-Italic.afm
/usr/share/htmldoc/fonts/Times-Italic.pfa
/usr/share/htmldoc/fonts/Times-Roman.afm
/usr/share/htmldoc/fonts/Times-Roman.pfa
/usr/share/icons/hicolor/128x128/apps/htmldoc.png
/usr/share/icons/hicolor/32x32/apps/htmldoc.png
/usr/share/licenses/htmldoc
/usr/share/licenses/htmldoc/COPYING
/usr/share/man/man1/htmldoc.1.gz
/usr/share/mime/packages/htmldoc.xml
References
Summary
In this tutorial we learn how to install htmldoc
on Fedora 34 using yum and dnf.