How To Install pcllib on CentOS 7

In this tutorial we learn how to install pcllib on CentOS 7. pcllib is Portable Coroutine Library (PCL)

Introduction

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

What is pcllib

The Portable Co-routine Library (PCL) implements the low level functionality for co-routines in C. Co-routines are a very simple cooperative multitasking environment where the switch from one task to another is done explicitly by a function call. Co-routines are a lot faster and require much less OS resources than processes or threads.

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

Install pcllib on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install pcllib

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

sudo dnf -y install pcllib

How To Uninstall pcllib on CentOS 7

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

sudo dnf remove pcllib

References

Summary

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