How to Install and Uninstall libschedule-ratelimiter-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 20,2024

1. Install "libschedule-ratelimiter-perl" package

This guide covers the steps necessary to install libschedule-ratelimiter-perl on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libschedule-ratelimiter-perl

2. Uninstall "libschedule-ratelimiter-perl" package

This tutorial shows how to uninstall libschedule-ratelimiter-perl on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove libschedule-ratelimiter-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libschedule-ratelimiter-perl package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libschedule-ratelimiter-perl
Priority: optional
Section: universe/perl
Installed-Size: 68
Maintainer: Ubuntu MOTU Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.01-1
Depends: perl (>= 5.6.0-16)
Filename: pool/universe/libs/libschedule-ratelimiter-perl/libschedule-ratelimiter-perl_0.01-1_all.deb
Size: 10132
MD5sum: d43b1470f2e62e44bc3cf7ddce18ad2a
SHA1: 7bba0274de1cfd3bd4b0c062d256e6b25e41e663
SHA256: 097d9c17891e0ad3cdb323cd295cbd410879ce7e970533b6c4e8e2693ef9b99f
Description-en: Perl library to prevent events from happening too quickly
Schedule::RateLimiter provides a way to voluntarily restrict how many times a
given action may take place within a specified time frame. Such a tool may be
useful if you have written something which periodically polls some public
resource and want to ensure that you do not overburden that resource with too
many requests.
.
Initially, one might think that solving this problem would be as simple as
sleeping for the number of seconds divided by the number of iterations in
between each event. However, that would only be correct if the event took no
time at all.
.
If you know exactly how much time each event is going to take then you could
build an even more complicated one-liner such as this:
.
sleep( (seconds / iterations) - single_event_time )
Description-md5: 8b6c6a0ff5363c57f63a662f58a1b5ce
Homepage: http://search.cpan.org/dist/Schedule-RateLimiter/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu