How To Install doxygen on Fedora 34

doxygen is A documentation system for C/C++

Introduction

In this tutorial we learn how to install doxygen on Fedora 34.

What is doxygen

Doxygen can generate an online class browser (in HTML) and/or a reference manual (in LaTeX) from a set of documented source files. The documentation is extracted directly from the sources. Doxygen can also be configured to extract the code structure from undocumented source files.

We can use yum or dnf to install doxygen on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install doxygen.

Install doxygen 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 doxygen using dnf by running the following command:

sudo dnf -y install doxygen

Install doxygen 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 doxygen using yum by running the following command:

sudo yum -y install doxygen

How To Uninstall doxygen on Fedora 34

To uninstall only the doxygen package we can use the following command:

sudo dnf remove doxygen

doxygen Package Contents on Fedora 34

/usr/bin/doxygen
/usr/bin/doxyindexer
/usr/bin/doxysearch.cgi
/usr/lib/.build-id
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/3d19a707f672e9dba7d031b1541403ba53c1a5
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/ad22bf7822c3a226a235c1881274fdda31c504
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/ea13005037afc07fe18d37fd03b9d837138d85
/usr/share/doc/doxygen
/usr/share/doc/doxygen/LANGUAGE.HOWTO
/usr/share/doc/doxygen/README.md
/usr/share/licenses/doxygen
/usr/share/licenses/doxygen/LICENSE
/usr/share/man/man1/doxygen.1.gz
/usr/share/man/man1/doxyindexer.1.gz
/usr/share/man/man1/doxysearch.1.gz
/usr/bin/doxygen
/usr/bin/doxyindexer
/usr/bin/doxysearch.cgi
/usr/lib/.build-id
/usr/lib/.build-id/84
/usr/lib/.build-id/84/ec90868ea218f146ae5ccbb5fd27f2b29ae06e
/usr/lib/.build-id/90
/usr/lib/.build-id/90/11f3e121807415d8409876b9ca883b9ebe4656
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/dbd26ec125a2953aebbd92cdeb208efb9b911e
/usr/share/doc/doxygen
/usr/share/doc/doxygen/LANGUAGE.HOWTO
/usr/share/doc/doxygen/README.md
/usr/share/licenses/doxygen
/usr/share/licenses/doxygen/LICENSE
/usr/share/man/man1/doxygen.1.gz
/usr/share/man/man1/doxyindexer.1.gz
/usr/share/man/man1/doxysearch.1.gz

References

Summary

In this tutorial we learn how to install doxygen on Fedora 34 using yum and dnf.