How To Install breathe-doc on Ubuntu 22.04
Introduction
In this tutorial we learn how to install breathe-doc
on Ubuntu 22.04.
What is breathe-doc
breathe-doc is:
Breathe provides a bridge between the Sphinx and doxygen documentation systems. It enables Sphinx to generate autodoc for languages other than Python with the help of doxygen. It also allows one to embed reStructuredText in doxygen markup.
This package contains the documentation.
There are three methods to install breathe-doc
on Ubuntu 22.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 breathe-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 breathe-doc
using apt-get
by running the following command:
sudo apt-get -y install breathe-doc
Install breathe-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install breathe-doc
using apt
by running the following command:
sudo apt -y install breathe-doc
Install breathe-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 breathe-doc
using aptitude
by running the following command:
sudo aptitude -y install breathe-doc
How To Uninstall breathe-doc on Ubuntu 22.04
To uninstall only the breathe-doc
package we can use the following command:
sudo apt-get remove breathe-doc
Uninstall breathe-doc And Its Dependencies
To uninstall breathe-doc
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove breathe-doc
Remove breathe-doc Configurations and Data
To remove breathe-doc
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge breathe-doc
Remove breathe-doc configuration, data, and all of its dependencies
We can use the following command to remove breathe-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge breathe-doc
References
Summary
In this tutorial we learn how to install breathe-doc
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.