How To Install trickle on CentOS 7

In this tutorial we learn how to install trickle on CentOS 7. trickle is Portable lightweight userspace bandwidth shaper

Introduction

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

What is trickle

trickle is a portable lightweight userspace bandwidth shaper. It can run in collaborative mode or in stand alone mode. trickle works by taking advantage of the unix loader preloading. Essentially it provides, to the application, a new version of the functionality that is required to send and receive data through sockets. It then limits traffic based on delaying the sending and receiving of data over a socket. trickle runs entirely in userspace and does not require root privileges.

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

Install trickle on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install trickle

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

sudo dnf -y install trickle

How To Uninstall trickle on CentOS 7

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

sudo dnf remove trickle

References

Summary

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