How to Install and Uninstall selinux Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 19,2024

1. Install "selinux" package

Please follow the steps below to install selinux on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install selinux

2. Uninstall "selinux" package

Please follow the guidelines below to uninstall selinux on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the selinux package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: selinux
Architecture: all
Version: 1:0.11
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Hardened Developers
Original-Maintainer: J. Tang
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 82
Provides: linux-security
Pre-Depends: grub-pc
Depends: policycoreutils, debconf (>= 0.5) | debconf-2.0, initramfs-tools, selinux-utils, login (>= 4.0.18.2-1ubuntu1)
Recommends: selinux-policy-ubuntu | selinux-policy
Conflicts: apparmor, linux-security
Filename: pool/universe/s/selinux/selinux_0.11_all.deb
Size: 11212
MD5sum: 86c278a07996801369db800a067377e9
SHA1: 0447359311d3fd64f988e2115ad70981cb63c679
SHA256: e3c163633ffff1802da9b69e5ca79795bae7a987e3a927018ca3da2e2b1ab3b4
Description: Security-Enhanced Linux runtime support
Description-md5: fe5bb6690ddceda5037130d07fbeeb10

5. The same packages on other Linux Distributions