How To Install act on CentOS 7

In this tutorial we learn how to install act on CentOS 7. act is Automatic Component Toolkit

Introduction

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

What is act

The Automatic Component Toolkit (ACT) is a code generator that takes an instance of an Interface Description Language file and generates a thin C89-API, implementation stubs and language bindings of your desired software component.

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

Install act on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install act

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

sudo dnf -y install act

How To Uninstall act on CentOS 7

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

sudo dnf remove act

References

Summary

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