How to Install and Uninstall tmpreaper Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: June 03,2024

1. Install "tmpreaper" package

This guide let you learn how to install tmpreaper on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install tmpreaper

2. Uninstall "tmpreaper" package

Please follow the guidelines below to uninstall tmpreaper on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the tmpreaper package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: tmpreaper
Architecture: amd64
Version: 1.6.13+nmu1+deb9u1build0.16.04.1
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Paul Slootman
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 114
Depends: libc6 (>= 2.4), libmount1 (>= 2.24.2), debconf (>= 0.5.0) | debconf-2.0
Conflicts: tmpwatch
Replaces: tmpwatch
Filename: pool/universe/t/tmpreaper/tmpreaper_1.6.13+nmu1+deb9u1build0.16.04.1_amd64.deb
Size: 42310
MD5sum: fc2d66c57c164fac85b155c6e6f7269b
SHA1: f0370e2caa9b4ae0c060575521036d364baf839e
SHA256: 015c20461428471331d8243130ac86b228e6755432893d0b7b055edfec44a74c
SHA512: f08b3e2aa12d423e0970750e6f2a81bf5853a61acabea32d8ad199713032fb978659bde9d57e6e583af7610e3350d39c65840f83cfd481bd740613aaeec55ffd
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

Package: tmpreaper
Priority: optional
Section: universe/admin
Installed-Size: 172
Maintainer: Ubuntu Developers
Original-Maintainer: Paul Slootman
Architecture: amd64
Version: 1.6.13+nmu1
Replaces: tmpwatch
Depends: libc6 (>= 2.4), debconf (>= 0.5.0) | debconf-2.0
Conflicts: tmpwatch
Filename: pool/universe/t/tmpreaper/tmpreaper_1.6.13+nmu1_amd64.deb
Size: 49774
MD5sum: c888adf299964feb9af7b88bf1f7c5dd
SHA1: 3bd776dd19003bce2348ad749eae03b440a20631
SHA256: 22e8275998d1aaf924b16647f8304854465d6b5745702ef3b740c487ff4bf124
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
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu