How To Install rubygem-sys-uname on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-sys-uname
on Fedora 36.
What is rubygem-sys-uname
The sys-uname library provides an interface for gathering information about your current platform. The library is named after the Unix ‘uname’ command but also works on MS Windows. Available information includes OS name, OS version, system name and so on. Additional information is available for certain platforms.
We can use yum
or dnf
to install rubygem-sys-uname
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-sys-uname.
Install rubygem-sys-uname 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-sys-uname
using dnf
by running the following command:
sudo dnf -y install rubygem-sys-uname
Install rubygem-sys-uname 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-sys-uname
using yum
by running the following command:
sudo yum -y install rubygem-sys-uname
How To Uninstall rubygem-sys-uname on Fedora 36
To uninstall only the rubygem-sys-uname
package we can use the following command:
sudo dnf remove rubygem-sys-uname
rubygem-sys-uname Package Contents on Fedora 36
/usr/share/gems/gems/sys-uname-1.2.2
/usr/share/gems/gems/sys-uname-1.2.2/CHANGES.md
/usr/share/gems/gems/sys-uname-1.2.2/LICENSE
/usr/share/gems/gems/sys-uname-1.2.2/MANIFEST.md
/usr/share/gems/gems/sys-uname-1.2.2/lib
/usr/share/gems/gems/sys-uname-1.2.2/lib/sys
/usr/share/gems/gems/sys-uname-1.2.2/lib/sys-uname.rb
/usr/share/gems/gems/sys-uname-1.2.2/lib/sys/platform.rb
/usr/share/gems/gems/sys-uname-1.2.2/lib/sys/uname.rb
/usr/share/gems/gems/sys-uname-1.2.2/lib/sys/unix
/usr/share/gems/gems/sys-uname-1.2.2/lib/sys/unix/uname.rb
/usr/share/gems/gems/sys-uname-1.2.2/lib/sys/windows
/usr/share/gems/gems/sys-uname-1.2.2/lib/sys/windows/uname.rb
/usr/share/gems/specifications/sys-uname-1.2.2.gemspec
References
Summary
In this tutorial we learn how to install rubygem-sys-uname
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).