How to Install and Uninstall libevent-distributor-perl Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: December 23,2024

1. Install "libevent-distributor-perl" package

Please follow the instructions below to install libevent-distributor-perl on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libevent-distributor-perl

2. Uninstall "libevent-distributor-perl" package

Please follow the guidelines below to uninstall libevent-distributor-perl on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libevent-distributor-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libevent-distributor-perl package on Ubuntu 21.04 (Hirsute Hippo)

Package: libevent-distributor-perl
Architecture: all
Version: 0.05-2
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 47
Depends: perl, libfuture-perl (>= 0.15), libsyntax-keyword-try-perl
Filename: pool/universe/libe/libevent-distributor-perl/libevent-distributor-perl_0.05-2_all.deb
Size: 20836
MD5sum: b891de92b14806853a918f79293cca4a
SHA1: cfae936caf29af79bb08b33a93f04f3149b5b7fb
SHA256: f85049d6b67d5681dc0fa0c45bfd0e9635ecde88b35f58db83e24a5f47cfe713
SHA512: f2934fc248418c9b3b20f22e697cf9359489434723deb987849d60c7e9cc18ee64b8decf7877201754e95172cb9a5e28429f092176490cf055bfa44b26b430ce
Homepage: https://metacpan.org/release/Event-Distributor
Description-en: simple in-process pub/sub mechanism
Instances of this class provide a simple publish/subscribe mechanism within a
single process, for either synchronous or Future-based asynchronous use.
.
A given instance has a set of named events. Subscribers are CODE references
attached to a named event. Publishers can declare the existence of a named
event, and then later invoke it by passing in arguments, which are
distributed to all of the subscribers of that named event.
.
It is specifically not an error to request to subscribe an event that has not
yet been declared, in order to allow multiple modules of code to be loaded
and subscribe events the others publish, without introducing loading order
dependencies. An event only needs to be declared by the time it is fired.
.
Natively all of the events provided by the distributor are fully-asynchronous
in nature. Each subscriber is expected to return a Future instance which will
indicate its completion; the results of these are merged into a single future
returned by the fire method itself. However, to support synchronous or
semi-synchronous programs using it, both the observe and invoke methods also
have a synchronous variant. Note however, that this module does not provide
any kind of asynchronous detachment of synchronous functions; using the
/subscribe_sync method to subscribe a long-running blocking function will
cause the fire_* methods to block until that method returns. To achieve a
truely-asynchronous experience the attached code will need to use some kind
of asynchronous event system.
.
This description was automagically extracted from the module by dh-make-perl.
Description-md5: b79c2b91ffcb71ca3316bc4035b6dd66