How To Install generatorrunner on CentOS 7

In this tutorial we learn how to install generatorrunner on CentOS 7. generatorrunner is Plugin-based application to run apiextractor-based generators

Introduction

In this tutorial we learn how to install generatorrunner on CentOS 7.

What is generatorrunner

The Binding Generator is a utility that parses the headers for a given C/C++ library, generates a model and modifies it based on XML files (called type system files) containing complementary semantic information, modifications, renamings, etc, in order to generate binding source code (or documentation) for the target language for which it was written.

We can use yum or dnf to install generatorrunner on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install generatorrunner.

Install generatorrunner on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install generatorrunner using yum by running the following command:

sudo yum -y install generatorrunner

Install generatorrunner on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install generatorrunner

How To Uninstall generatorrunner on CentOS 7

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

sudo dnf remove generatorrunner

References

Summary

In this tutorial we learn how to install generatorrunner on CentOS 7 using yum and dnf.