How to Install and Uninstall safe-rm Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 17,2024

1. Install "safe-rm" package

This is a short guide on how to install safe-rm on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install safe-rm

2. Uninstall "safe-rm" package

This is a short guide on how to uninstall safe-rm on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove safe-rm $ sudo apt autoclean && sudo apt autoremove

3. Information about the safe-rm package on Ubuntu 21.10 (Impish Indri)

Package: safe-rm
Architecture: amd64
Version: 1.1.0-2
Built-Using: rustc (= 1.47.0+dfsg1+llvm-1ubuntu1)
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Francois Marier
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 471
Depends: libc6 (>= 2.32), libgcc-s1 (>= 4.2)
Filename: pool/universe/s/safe-rm/safe-rm_1.1.0-2_amd64.deb
Size: 163124
MD5sum: 2e6a09621f26c2c1cb252c47c23d60c9
SHA1: 9a0eb4ce59620862b5f858015421b73a471b54e9
SHA256: 6a8a9a550708aa2c67d15bd8c01b234c635a5825d1df5a1348d48fb1836332ac
SHA512: 05fee20409b2315cb11ce05a50a27f516438be0cbc9ebb67675a3b5e416337aac713c48387e0d92986f91b9b4537121ede2338bcf9638abc9d4d766c490658b1
Homepage: https://launchpad.net/safe-rm
Description-en: wrapper around the rm command to prevent accidental deletions
This package provides a tool intended to prevent the accidental deletion
of important files by replacing rm with a wrapper, which checks the
given arguments against a configurable list of exclusions for files and
directories that should never be removed.
.
Users who attempt to delete one of these protected files or directories will
not be able to do so and will be shown a warning message instead.
.
Protected paths can be set both at the site and user levels.
Description-md5: 2ed3333d960d55d4ffab4df6ab1a0e19
X-Cargo-Built-Using: rust-glob (= 0.3.0-1), rustc (= 1.47.0+dfsg1+llvm-1ubuntu1)