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

Last updated: November 25,2024

1. Install "restorecond" package

Please follow the guidance below to install restorecond on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install restorecond

2. Uninstall "restorecond" package

Please follow the instructions below to uninstall restorecond on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove restorecond $ sudo apt autoclean && sudo apt autoremove

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

Package: restorecond
Architecture: amd64
Version: 3.1-1
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian SELinux maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 95
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: lsb-base (>= 3.0-6), selinux-utils, libc6 (>= 2.27), libglib2.0-0 (>= 2.30.0), libselinux1 (>= 3.1)
Breaks: policycoreutils (<< 2.4)
Replaces: policycoreutils (<< 2.4)
Filename: pool/universe/r/restorecond/restorecond_3.1-1_amd64.deb
Size: 17972
MD5sum: 3e754ecd26b5b2622d7b825e1997e417
SHA1: da67413a5d0cc28e53a83be62f9e765640ad9df1
SHA256: 233e50da6d454f8c6a070f93929c5c133e5688c8c74b6fa0321c8e702b1fb396
SHA512: b1b353e9c63ca0109468e22b1a1f49d2f0d960107d0140d1ff46f630ed323985b67a9c29b271bdcbab22ee4b0020ce04307bb9adc8b6cc01c0454ef4252b9fdc
Homepage: http://userspace.selinuxproject.org/
Description-en: SELinux core policy utilities (restorecond utilities)
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.
.
This package contains restorecond to restore contexts of files that often get
the wrong context.
Description-md5: 1e034d172d391fc14d0580646082b3da