How To Install rubygem-nio4r on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-nio4r
on Fedora 36.
What is rubygem-nio4r
Cross-platform asynchronous I/O primitives for scalable network clients and servers. Inspired by the Java NIO API, but simplified for ease-of-use.
We can use yum
or dnf
to install rubygem-nio4r
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-nio4r.
Install rubygem-nio4r on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install rubygem-nio4r
using dnf
by running the following command:
sudo dnf -y install rubygem-nio4r
Install rubygem-nio4r on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install rubygem-nio4r
using yum
by running the following command:
sudo yum -y install rubygem-nio4r
How To Uninstall rubygem-nio4r on Fedora 36
To uninstall only the rubygem-nio4r
package we can use the following command:
sudo dnf remove rubygem-nio4r
rubygem-nio4r Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/82
/usr/lib/.build-id/82/851e5eae7468c1f984a78d556c3eb2c949bb0d
/usr/lib64/gems/ruby/nio4r-2.5.2
/usr/lib64/gems/ruby/nio4r-2.5.2/gem.build_complete
/usr/lib64/gems/ruby/nio4r-2.5.2/nio4r_ext.so
/usr/share/gems/gems/nio4r-2.5.2
/usr/share/gems/gems/nio4r-2.5.2/README.md
/usr/share/gems/gems/nio4r-2.5.2/lib
/usr/share/gems/gems/nio4r-2.5.2/lib/nio
/usr/share/gems/gems/nio4r-2.5.2/lib/nio.rb
/usr/share/gems/gems/nio4r-2.5.2/lib/nio/bytebuffer.rb
/usr/share/gems/gems/nio4r-2.5.2/lib/nio/monitor.rb
/usr/share/gems/gems/nio4r-2.5.2/lib/nio/selector.rb
/usr/share/gems/gems/nio4r-2.5.2/lib/nio/version.rb
/usr/share/gems/specifications/nio4r-2.5.2.gemspec
References
Summary
In this tutorial we learn how to install rubygem-nio4r
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).