How To Install gtk-doc on Rocky Linux 8

In this tutorial we learn how to install gtk-doc on Rocky Linux 8. gtk-doc is API documentation generation tool for GTK+ and GNOME

Introduction

In this tutorial we learn how to install gtk-doc on Rocky Linux 8.

What is gtk-doc

gtk-doc is a tool for generating API reference documentation. It is used for generating the documentation for GTK+, GLib and GNOME.

We can use yum or dnf to install gtk-doc on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gtk-doc.

Install gtk-doc on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gtk-doc using dnf by running the following command:

sudo dnf -y install gtk-doc

Install gtk-doc on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gtk-doc using yum by running the following command:

sudo yum -y install gtk-doc

How To Uninstall gtk-doc on Rocky Linux 8

To uninstall only the gtk-doc package we can use the following command:

sudo dnf remove gtk-doc

gtk-doc Package Contents on Rocky Linux 8

/usr/bin/gtkdoc-check
/usr/bin/gtkdoc-depscan
/usr/bin/gtkdoc-fixxref
/usr/bin/gtkdoc-mkdb
/usr/bin/gtkdoc-mkhtml
/usr/bin/gtkdoc-mkhtml2
/usr/bin/gtkdoc-mkman
/usr/bin/gtkdoc-mkpdf
/usr/bin/gtkdoc-rebase
/usr/bin/gtkdoc-scan
/usr/bin/gtkdoc-scangobj
/usr/bin/gtkdocize
/usr/lib64/cmake
/usr/lib64/cmake/GtkDoc
/usr/lib64/cmake/GtkDoc/GtkDocConfig.cmake
/usr/lib64/cmake/GtkDoc/GtkDocConfigVersion.cmake
/usr/lib64/cmake/GtkDoc/GtkDocScanGObjWrapper.cmake
/usr/share/aclocal
/usr/share/aclocal/gtk-doc.m4
/usr/share/doc/gtk-doc
/usr/share/doc/gtk-doc/AUTHORS
/usr/share/doc/gtk-doc/README
/usr/share/doc/gtk-doc/README.docs
/usr/share/doc/gtk-doc/authors.txt
/usr/share/doc/gtk-doc/examples
/usr/share/doc/gtk-doc/examples/Makefile.am
/usr/share/doc/gtk-doc/examples/README
/usr/share/doc/gtk-doc/gnome.txt
/usr/share/doc/gtk-doc/sections-file.txt
/usr/share/doc/gtk-doc/setting-up.txt
/usr/share/doc/gtk-doc/style-guide.txt
/usr/share/gtk-doc
/usr/share/gtk-doc/data
/usr/share/gtk-doc/data/devhelp2.xsd
/usr/share/gtk-doc/data/devhelp2.xsl
/usr/share/gtk-doc/data/gtk-doc.flat.make
/usr/share/gtk-doc/data/gtk-doc.make
/usr/share/gtk-doc/data/gtk-doc.xsl
/usr/share/gtk-doc/data/home.png
/usr/share/gtk-doc/data/left-insensitive.png
/usr/share/gtk-doc/data/left.png
/usr/share/gtk-doc/data/right-insensitive.png
/usr/share/gtk-doc/data/right.png
/usr/share/gtk-doc/data/style.css
/usr/share/gtk-doc/data/up-insensitive.png
/usr/share/gtk-doc/data/up.png
/usr/share/gtk-doc/data/version-greater-or-equal.xsl
/usr/share/gtk-doc/python
/usr/share/gtk-doc/python/gtkdoc
/usr/share/gtk-doc/python/gtkdoc/__init__.py
/usr/share/gtk-doc/python/gtkdoc/check.py
/usr/share/gtk-doc/python/gtkdoc/common.py
/usr/share/gtk-doc/python/gtkdoc/config.py
/usr/share/gtk-doc/python/gtkdoc/fixxref.py
/usr/share/gtk-doc/python/gtkdoc/md_to_db.py
/usr/share/gtk-doc/python/gtkdoc/mkdb.py
/usr/share/gtk-doc/python/gtkdoc/mkhtml.py
/usr/share/gtk-doc/python/gtkdoc/mkhtml2.py
/usr/share/gtk-doc/python/gtkdoc/mkman.py
/usr/share/gtk-doc/python/gtkdoc/mkpdf.py
/usr/share/gtk-doc/python/gtkdoc/rebase.py
/usr/share/gtk-doc/python/gtkdoc/scan.py
/usr/share/gtk-doc/python/gtkdoc/scangobj.py
/usr/share/help/C/gtk-doc-manual
/usr/share/help/C/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/C/gtk-doc-manual/index.docbook
/usr/share/help/bn_IN/gtk-doc-manual
/usr/share/help/bn_IN/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/bn_IN/gtk-doc-manual/index.docbook
/usr/share/help/cs/gtk-doc-manual
/usr/share/help/cs/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/cs/gtk-doc-manual/index.docbook
/usr/share/help/de/gtk-doc-manual
/usr/share/help/de/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/de/gtk-doc-manual/index.docbook
/usr/share/help/el/gtk-doc-manual
/usr/share/help/el/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/el/gtk-doc-manual/index.docbook
/usr/share/help/en_GB/gtk-doc-manual
/usr/share/help/en_GB/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/en_GB/gtk-doc-manual/index.docbook
/usr/share/help/es/gtk-doc-manual
/usr/share/help/es/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/es/gtk-doc-manual/index.docbook
/usr/share/help/fr/gtk-doc-manual
/usr/share/help/fr/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/fr/gtk-doc-manual/index.docbook
/usr/share/help/gl/gtk-doc-manual
/usr/share/help/gl/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/gl/gtk-doc-manual/index.docbook
/usr/share/help/gu/gtk-doc-manual
/usr/share/help/gu/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/gu/gtk-doc-manual/index.docbook
/usr/share/help/pt_BR/gtk-doc-manual
/usr/share/help/pt_BR/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/pt_BR/gtk-doc-manual/index.docbook
/usr/share/help/sl/gtk-doc-manual
/usr/share/help/sl/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/sl/gtk-doc-manual/index.docbook
/usr/share/help/sv/gtk-doc-manual
/usr/share/help/sv/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/sv/gtk-doc-manual/index.docbook
/usr/share/help/ta/gtk-doc-manual
/usr/share/help/ta/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/ta/gtk-doc-manual/index.docbook
/usr/share/help/te/gtk-doc-manual
/usr/share/help/te/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/te/gtk-doc-manual/index.docbook
/usr/share/help/zh_CN/gtk-doc-manual
/usr/share/help/zh_CN/gtk-doc-manual/fdl-appendix.xml
/usr/share/help/zh_CN/gtk-doc-manual/index.docbook
/usr/share/licenses/gtk-doc
/usr/share/licenses/gtk-doc/COPYING
/usr/share/licenses/gtk-doc/COPYING-DOCS
/usr/share/pkgconfig/gtk-doc.pc

References

Summary

In this tutorial we learn how to install gtk-doc on Rocky Linux 8 using yum and dnf.