How to Install and Uninstall ruby-nio4r Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 06,2024

1. Install "ruby-nio4r" package

Learn how to install ruby-nio4r on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ruby-nio4r

2. Uninstall "ruby-nio4r" package

Please follow the guidelines below to uninstall ruby-nio4r on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the ruby-nio4r package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ruby-nio4r
Priority: optional
Section: universe/ruby
Installed-Size: 100
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: amd64
Version: 1.1.0-1build4
Depends: libc6 (>= 2.17), libruby2.3 (>= 2.3.0~preview2), ruby (>= 1:2.3~0)
Filename: pool/universe/r/ruby-nio4r/ruby-nio4r_1.1.0-1build4_amd64.deb
Size: 34518
MD5sum: 977f0d414d1c55fd048bc44859c1dad9
SHA1: 506976278464802a8d3252b7c006c54d646cb9d5
SHA256: 3abecb1a59cf22ee3e77afdb9eea93acbd8ec36d7386ac8b3d48326521463533
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
Homepage: https://github.com/celluloid/nio4r
Ruby-Versions: ruby2.3
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu