How to Install and Uninstall libselinux1 Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "libselinux1" package

Please follow the steps below to install libselinux1 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libselinux1

2. Uninstall "libselinux1" package

This guide covers the steps necessary to uninstall libselinux1 on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libselinux1 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libselinux1 package on Ubuntu 21.10 (Impish Indri)

Package: libselinux1
Architecture: amd64
Version: 3.1-3build2
Multi-Arch: same
Priority: required
Section: libs
Source: libselinux
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian SELinux maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 207
Depends: libc6 (>= 2.34), libpcre2-8-0 (>= 10.22)
Filename: pool/main/libs/libselinux/libselinux1_3.1-3build2_amd64.deb
Size: 74412
MD5sum: 1c18050a16de03e49492c266ba0e52bf
SHA1: d861286acba390204ad1efe082ab9a30defb9b1b
SHA256: 69be4dbb1964b5e2e048b3e7c0e4b5e647167f5f29314b1af0b8828b63591613
SHA512: 701819834f233608bdaa45ee0924652b46c6bbb7281d7dfa16ea5fd7bd1e15cf7306a7fab4b7b6b2687d88d15847f6e5b17352e93fefacde55a550ce1b69722e
Homepage: https://selinuxproject.org
Description-en: SELinux runtime shared libraries
This package provides the shared libraries for Security-enhanced
Linux that provides interfaces (e.g. library functions for the
SELinux kernel APIs like getcon(), other support functions like
getseuserbyname()) to SELinux-aware applications. Security-enhanced
Linux is a patch of the Linux kernel and a number of utilities with
enhanced security functionality designed to add mandatory access
controls to Linux. The Security-enhanced Linux kernel contains new
architectural components originally developed to improve the security
of the Flask operating system. These architectural components provide
general support for the enforcement of many kinds of mandatory access
control policies, including those based on the concepts of Type
Enforcement, Role-based Access Control, and Multi-level Security.
.
libselinux1 provides an API for SELinux applications to get and set
process and file security contexts and to obtain security policy
decisions. Required for any applications that use the SELinux
API. libselinux may use the shared libsepol to manipulate the binary
policy if necessary (e.g. to downgrade the policy format to an older
version supported by the kernel) when loading policy.
Description-md5: 90f6e1cb06c527bc3fc11ec6f969c59c
Task: minimal, server-minimal