How to Install and Uninstall ruby-nio4r Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 06,2024

1. Install "ruby-nio4r" package

Please follow the step by step instructions below to install ruby-nio4r on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby-nio4r

2. Uninstall "ruby-nio4r" package

This is a short guide on how to uninstall ruby-nio4r on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove ruby-nio4r $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-nio4r package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby-nio4r
Architecture: amd64
Version: 2.3.1-2
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 130
Depends: ruby (>= 1:2.7~0), libc6 (>= 2.17), libruby2.7 (>= 2.7.0), ruby (<< 1:2.8~)
Filename: pool/universe/r/ruby-nio4r/ruby-nio4r_2.3.1-2_amd64.deb
Size: 40844
MD5sum: eff0fca02a69d040296d21b2a4f828cb
SHA1: f6b5cf1a96644f5eec3586898d4d6d3e6bc3d965
SHA256: e9b284438f0b7f50276c980cad77104706493f898cea2e0e6d93205614a6fc76
SHA512: 5d5f64781fbd792bb108e6436c49cf5fbc22e6e20731681cb5bc6512756a68bfadec4bf978fa585391240f595bd91d52b6a6950163f75c31a8659406ddd2c848
Homepage: https://github.com/socketry/nio4r
Description-en: Ruby library providing a selector API for monitoring IO objects
nio4r (New IO for Ruby) provides an abstract, cross-platform stateful
I/O selector API for Ruby. I/O selectors are the heart of
"reactor"-based event loops, and monitor multiple I/O objects for
various types of readiness, e.g. ready for reading or writing.
.
The most similar API provided by Ruby today is Kernel.select, however
the select API requires you to pass in arrays of all of the I/O
objects you're interested in every time. nio4r provides a more
object-oriented API that lets you register I/O objects with a selector
then handle them when they're selected for various types of events.
.
nio4r is modeled after the Java NIO API, but simplified for
ease-of-use.
.
Its goals are:
.
* Expose high-level interfaces for stateful IO selectors.
* Keep the API small to maximize both portability and performance across
many different OSes and Ruby VMs.
* Provide inherently thread-safe facilities for working with IO objects.
Description-md5: 517e4f005b34b5c4fd9a4d76ac0a0c97
Ruby-Versions: ruby2.7