How To Install htmldoc on Debian 12
Introduction
In this tutorial we learn how to install htmldoc
on Debian 12.
What is htmldoc
htmldoc is:
HTMLDOC is a program for writing documentation in HTML and producing indexed HTML, PostScript, or PDF output (with tables of contents). It supports most HTML 3.2 and some HTML 4.0 syntax, as well as GIF, JPEG, and PNG images.
There are three methods to install htmldoc
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install htmldoc Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install htmldoc
using apt-get
by running the following command:
sudo apt-get -y install htmldoc
Install htmldoc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install htmldoc
using apt
by running the following command:
sudo apt -y install htmldoc
Install htmldoc Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install htmldoc
using aptitude
by running the following command:
sudo aptitude -y install htmldoc
How To Uninstall htmldoc on Debian 12
To uninstall only the htmldoc
package we can use the following command:
sudo apt-get remove htmldoc
Uninstall htmldoc And Its Dependencies
To uninstall htmldoc
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove htmldoc
Remove htmldoc Configurations and Data
To remove htmldoc
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge htmldoc
Remove htmldoc configuration, data, and all of its dependencies
We can use the following command to remove htmldoc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge htmldoc
Dependencies
htmldoc have the following dependencies:
- htmldoc-common
- libc6
- libfltk-images1.3
- libfltk1.3
- libgnutls30
- libjpeg62-turbo
- libpng16-16
- libstdc++6
- libxpm4
- zlib1g
References
Summary
In this tutorial we learn how to install htmldoc
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.