How To Install bison-runtime on Rocky Linux 8

In this tutorial we learn how to install bison-runtime on Rocky Linux 8. bison-runtime is Runtime support files used by Bison-generated parsers

Introduction

In this tutorial we learn how to install bison-runtime on Rocky Linux 8.

What is bison-runtime

The bison-runtime package contains files used at runtime by parsers that Bison generates. Packages whose binaries contain parsers generated by Bison should depend on bison-runtime to ensure that these files are available. See the Internationalization in the Bison manual section for more information.

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

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

sudo dnf -y install bison-runtime

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

sudo yum -y install bison-runtime

How To Uninstall bison-runtime on Rocky Linux 8

To uninstall only the bison-runtime package we can use the following command:

sudo dnf remove bison-runtime

bison-runtime Package Contents on Rocky Linux 8

/usr/share/doc/bison-runtime
/usr/share/doc/bison-runtime/COPYING
/usr/share/locale/ast/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/da/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/de/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/el/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/eo/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/es/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/et/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/fi/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/fr/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/ga/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/gl/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/hr/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/hu/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/ia/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/id/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/it/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/ja/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/ky/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/lt/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/lv/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/ms/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/nb/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/nl/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/pl/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/pt/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/pt_BR/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/ro/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/ru/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/sl/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/sq/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/sr/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/sv/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/th/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/tr/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/uk/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/vi/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/zh_CN/LC_MESSAGES/bison-runtime.mo
/usr/share/locale/zh_TW/LC_MESSAGES/bison-runtime.mo

References

Summary

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