How to Install and Uninstall safe-rm Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: December 23,2024

1. Install "safe-rm" package

Please follow the guidance below to install safe-rm on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install safe-rm

2. Uninstall "safe-rm" package

In this section, we are going to explain the necessary steps to uninstall safe-rm on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the safe-rm package on Ubuntu 20.10 (Groovy Gorilla)

Package: safe-rm
Architecture: all
Version: 0.12-10
Multi-Arch: foreign
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Francois Marier
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 39
Filename: pool/universe/s/safe-rm/safe-rm_0.12-10_all.deb
Size: 9876
MD5sum: 312b27c92259374b2382944a8b252714
SHA1: e317024bc08f1d0e2842afac60e1e638b78472e6
SHA256: 5f94f02c080aa8ce28531ce0729e8a8b5539e0ea08d2a0adbd494f46020ee6f5
SHA512: 64a10ffa8ed464574b8921631b2ac84e299f58ca9c88b075ca50a8e813dcbc9fd34f2eb149c5a6a1fd2e49e22a59101d7b5a5b05f1cf644fcc6059504cdbe293
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 blacklist of 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: b63e9c6ece66f1ccdb308c0826be4649