How To Install bison-runtime on CentOS 8

bison-runtime is Runtime support files used by Bison-generated parsers

Introduction

In this tutorial we learn how to install bison-runtime on CentOS 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 CentOS 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 CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove bison-runtime

bison-runtime Package Contents on CentOS 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 CentOS 8 using yum and dnf.