How to Install and Uninstall safe-rm Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 21,2024

1. Install "safe-rm" package

Please follow the step by step instructions below to install safe-rm on Ubuntu 16.04 LTS (Xenial Xerus)

$ 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 16.04 LTS (Xenial Xerus):

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

3. Information about the safe-rm package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: safe-rm
Priority: optional
Section: universe/utils
Installed-Size: 56
Maintainer: Ubuntu Developers
Original-Maintainer: Francois Marier
Architecture: all
Version: 0.12-2
Depends: debconf (>= 0.5) | debconf-2.0
Pre-Depends: debconf
Filename: pool/universe/s/safe-rm/safe-rm_0.12-2_all.deb
Size: 16980
MD5sum: 572631c9434b508c8a525bbd1d55832e
SHA1: 39aec443ba5ca0405ab9074b25e63c549f8d11cf
SHA256: ec9c7a0f21996906eda87d09f37693cfe9b76c57efbb5ccaa38e250b6c46f8b3
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
Homepage: https://launchpad.net/safe-rm
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu