How to Install and Uninstall ruby-selinux Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 03,2024

1. Install "ruby-selinux" package

Please follow the guidelines below to install ruby-selinux on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install ruby-selinux

2. Uninstall "ruby-selinux" package

This tutorial shows how to uninstall ruby-selinux on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the ruby-selinux package on Ubuntu 20.04 LTS (Focal Fossa)

Package: ruby-selinux
Architecture: amd64
Version: 3.0-1build2
Multi-Arch: same
Priority: optional
Section: universe/ruby
Source: libselinux
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian SELinux maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 225
Depends: ruby (>= 1:2.7~0), libc6 (>= 2.14), libselinux1 (>= 3.0), libruby2.7 (>= 2.7.0~preview2), ruby (<< 1:2.8~)
Filename: pool/universe/libs/libselinux/ruby-selinux_3.0-1build2_amd64.deb
Size: 40892
MD5sum: 759b885f4ecc464cb8d54f40bf9ff4f7
SHA1: d1e25efcdf4933311078f26418084aa7275f4f10
SHA256: f5e6bb4c846cf8118bb6b0cfa490ae752d34cd72d772818a68ecc322f87e37ab
Homepage: http://userspace.selinuxproject.org/
Description: Ruby bindings to SELinux shared libraries
Description-md5: 71f8f453f4c0fbe591180af8da96cd36