How To Install libselinux-ruby on Fedora 36
Introduction
In this tutorial we learn how to install libselinux-ruby
on Fedora 36.
What is libselinux-ruby
The libselinux-ruby package contains the ruby bindings for developing SELinux applications.
We can use yum
or dnf
to install libselinux-ruby
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libselinux-ruby.
Install libselinux-ruby 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 libselinux-ruby
using dnf
by running the following command:
sudo dnf -y install libselinux-ruby
Install libselinux-ruby 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 libselinux-ruby
using yum
by running the following command:
sudo yum -y install libselinux-ruby
How To Uninstall libselinux-ruby on Fedora 36
To uninstall only the libselinux-ruby
package we can use the following command:
sudo dnf remove libselinux-ruby
libselinux-ruby Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/df
/usr/lib/.build-id/df/8f61b693609f96c6cc51a3d2f4ada204b8810b
/usr/lib64/ruby/vendor_ruby/selinux.so
References
Summary
In this tutorial we learn how to install libselinux-ruby
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).