How to Install and Uninstall tmpreaper Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 20,2024

1. Install "tmpreaper" package

This guide let you learn how to install tmpreaper on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install tmpreaper

2. Uninstall "tmpreaper" package

This tutorial shows how to uninstall tmpreaper on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove tmpreaper $ sudo apt autoclean && sudo apt autoremove

3. Information about the tmpreaper package on Ubuntu 20.10 (Groovy Gorilla)

Package: tmpreaper
Architecture: amd64
Version: 1.6.14+nmu1
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Paul Slootman
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 122
Depends: libc6 (>= 2.27), libmount1 (>= 2.24.2), debconf (>= 0.5.0) | debconf-2.0
Conflicts: tmpwatch
Replaces: tmpwatch
Filename: pool/universe/t/tmpreaper/tmpreaper_1.6.14+nmu1_amd64.deb
Size: 41520
MD5sum: 8de5a3b42eda9ff5712ce499f276ea01
SHA1: 401c549041996ee35f9b1bd2d5d80e7e802474f1
SHA256: 0c68f04f2f0cf23b3c42e7def0adedff483e428183e49613fd07fdf01d4756d1
SHA512: a8ce647ff595b6a5628a8e308b794525d62658fb1a63667377e4e290b0b0b110f22d13a39a2b477bb89e0b056c3888b847085e7ed8fef6b938b66d32dadd9144
Description-en: cleans up files in directories based on their age
This package provides a program that can be used to clean out temporary-file
directories. It recursively searches the directory, refusing to chdir()
across symlinks, and removes files that haven't been accessed in a
user-specified amount of time. You can specify a set of files to protect
from deletion with a shell pattern. It will not remove files owned by the
process EUID that have the `w' bit clear, unless you ask it to, much like
`rm -f'. `tmpreaper' will not remove symlinks, sockets, fifos, or special
files unless given a command line option enabling it to.
.
WARNING: Please do not run `tmpreaper' on `/'. There are no protections
against this written into the program, as that would prevent it from
functioning the way you'd expect it to in a `chroot(8)' environment.
.
The daily tmpreaper run can be configured through /etc/tmpreaper.conf .
Description-md5: a0e82c31f2d9aee95c0f41d6cc0557b2