How to Install and Uninstall tmpwatch.x86_64 Package on Amazon Linux 2

Last updated: November 21,2024

1. Install "tmpwatch.x86_64" package

This guide let you learn how to install tmpwatch.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install tmpwatch.x86_64

2. Uninstall "tmpwatch.x86_64" package

Please follow the guidance below to uninstall tmpwatch.x86_64 on Amazon Linux 2:

$ sudo yum remove tmpwatch.x86_64 $ sudo yum autoremove

3. Information about the tmpwatch.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : tmpwatch
Arch : x86_64
Version : 2.11
Release : 5.amzn2.0.1
Size : 39 k
Repo : amzn2-core/2/x86_64
Summary : A utility for removing files based on when they were last accessed
URL : https://fedorahosted.org/tmpwatch/
License : GPLv2
Description : The tmpwatch utility recursively searches through specified
: directories and removes files which have not been accessed in a
: specified period of time. Tmpwatch is normally used to clean up
: directories which are used for temporarily holding files (for
: example, /tmp). Tmpwatch ignores symlinks, won't switch
: filesystems and only removes empty directories and regular files.