How To Install trickle on Fedora 34

trickle is Portable lightweight userspace bandwidth shaper

Introduction

In this tutorial we learn how to install trickle on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install trickle.

Install trickle on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install trickle

Install trickle on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install trickle

How To Uninstall trickle on Fedora 34

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

sudo dnf remove trickle

trickle Package Contents on Fedora 34

/etc/trickled.conf
/usr/bin/trickle
/usr/bin/tricklectl
/usr/bin/trickled
/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/352125fc7d88c74c76b61fd7f3b48a7d6d85b2
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/ea1de5bbce4719bcea75a67bca0eda63f4c450
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/e43db6b37616a542700202f89e3f6d98901044
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/0480c78ed5eb95ce2462e89748993ac4ec8d2b
/usr/lib64/trickle
/usr/lib64/trickle/trickle-overload.so
/usr/share/doc/trickle
/usr/share/doc/trickle/LICENSE
/usr/share/doc/trickle/README
/usr/share/doc/trickle/TODO
/usr/share/man/man1/trickle.1.gz
/usr/share/man/man5/trickled.conf.5.gz
/usr/share/man/man8/trickled.8.gz

References

Summary

In this tutorial we learn how to install trickle on Fedora 34 using yum and dnf.