How To Install help2man on Rocky Linux 8

In this tutorial we learn how to install help2man on Rocky Linux 8. help2man is Create simple man pages from –help output

Introduction

In this tutorial we learn how to install help2man on Rocky Linux 8.

What is help2man

help2man is a script to create simple man pages from the –help and –version output of programs. Since most GNU documentation is now in info format, this provides a way to generate a placeholder man page pointing to that resource while still providing some useful information.

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

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

sudo dnf -y install help2man

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

sudo yum -y install help2man

How To Uninstall help2man on Rocky Linux 8

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

sudo dnf remove help2man

help2man Package Contents on Rocky Linux 8

/usr/bin/help2man
/usr/share/doc/help2man
/usr/share/doc/help2man/NEWS
/usr/share/doc/help2man/README
/usr/share/doc/help2man/THANKS
/usr/share/info/help2man-de.info.gz
/usr/share/info/help2man-es.info.gz
/usr/share/info/help2man-fr.info.gz
/usr/share/info/help2man-pl.info.gz
/usr/share/info/help2man-pt_BR.info.gz
/usr/share/info/help2man-uk.info.gz
/usr/share/info/help2man-zh_CN.info.gz
/usr/share/info/help2man.info.gz
/usr/share/licenses/help2man
/usr/share/licenses/help2man/COPYING
/usr/share/locale/da/LC_MESSAGES/help2man.mo
/usr/share/locale/de/LC_MESSAGES/help2man.mo
/usr/share/locale/el/LC_MESSAGES/help2man.mo
/usr/share/locale/eo/LC_MESSAGES/help2man.mo
/usr/share/locale/es/LC_MESSAGES/help2man.mo
/usr/share/locale/fi/LC_MESSAGES/help2man.mo
/usr/share/locale/fr/LC_MESSAGES/help2man.mo
/usr/share/locale/hr/LC_MESSAGES/help2man.mo
/usr/share/locale/hu/LC_MESSAGES/help2man.mo
/usr/share/locale/it/LC_MESSAGES/help2man.mo
/usr/share/locale/ja/LC_MESSAGES/help2man.mo
/usr/share/locale/nb/LC_MESSAGES/help2man.mo
/usr/share/locale/pl/LC_MESSAGES/help2man.mo
/usr/share/locale/pt_BR/LC_MESSAGES/help2man.mo
/usr/share/locale/ru/LC_MESSAGES/help2man.mo
/usr/share/locale/sr/LC_MESSAGES/help2man.mo
/usr/share/locale/sv/LC_MESSAGES/help2man.mo
/usr/share/locale/uk/LC_MESSAGES/help2man.mo
/usr/share/locale/vi/LC_MESSAGES/help2man.mo
/usr/share/locale/zh_CN/LC_MESSAGES/help2man.mo
/usr/share/man/da/man1/help2man.1.gz
/usr/share/man/de/man1/help2man.1.gz
/usr/share/man/el/man1/help2man.1.gz
/usr/share/man/eo/man1/help2man.1.gz
/usr/share/man/es/man1/help2man.1.gz
/usr/share/man/fi/man1/help2man.1.gz
/usr/share/man/fr/man1/help2man.1.gz
/usr/share/man/hr/man1/help2man.1.gz
/usr/share/man/hu/man1/help2man.1.gz
/usr/share/man/it/man1/help2man.1.gz
/usr/share/man/ja/man1/help2man.1.gz
/usr/share/man/man1/help2man.1.gz
/usr/share/man/nb/man1/help2man.1.gz
/usr/share/man/pl/man1/help2man.1.gz
/usr/share/man/pt_BR/man1/help2man.1.gz
/usr/share/man/ru/man1/help2man.1.gz
/usr/share/man/sr/man1/help2man.1.gz
/usr/share/man/sv/man1/help2man.1.gz
/usr/share/man/uk/man1/help2man.1.gz
/usr/share/man/vi/man1/help2man.1.gz
/usr/share/man/zh_CN/man1/help2man.1.gz

References

Summary

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