How To Install autogen-doc on Ubuntu 18.04
Introduction
In this tutorial we learn how to install autogen-doc on Ubuntu 18.04.
What is autogen-doc
autogen-doc is:
AutoGen is a tool designed for generating program files that contain repetitive text with varied substitutions. This is especially valuable if there are several blocks of such text that must be kept synchronized.
This package contains the PostScript and HTML documentation.
There are three methods to install autogen-doc on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install autogen-doc Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install autogen-doc using apt-get by running the following command:
sudo apt-get -y install autogen-doc
Install autogen-doc Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install autogen-doc using apt by running the following command:
sudo apt -y install autogen-doc
Install autogen-doc 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 Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install autogen-doc using aptitude by running the following command:
sudo aptitude -y install autogen-doc
How To Uninstall autogen-doc on Ubuntu 18.04
To uninstall only the autogen-doc package we can use the following command:
sudo apt-get remove autogen-doc
Uninstall autogen-doc And Its Dependencies
To uninstall autogen-doc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove autogen-doc
Remove autogen-doc Configurations and Data
To remove autogen-doc configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge autogen-doc
Remove autogen-doc configuration, data, and all of its dependencies
We can use the following command to remove autogen-doc configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge autogen-doc
References
Summary
In this tutorial we learn how to install autogen-doc package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.