How To Install bison-runtime on AlmaLinux 8

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

Introduction

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

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

sudo dnf remove bison-runtime

References

Summary

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