Information about the package, tmpwatch, which is shipped with common Linux distributions. The tmpwatch package is designed for, A utility for removing files based on when they were last accessed.
Package Name:
tmpwatch
Summary:
A utility for removing files based on when they were last accessed
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.
Architecture:
x86_64
Version:
2.9.16
Release:
6.el6
Size:
40 k
Repository:
installed
From Repository:
base
Licence:
GPLv2
Control the tmpwatch package with the following handy commands outlined below.
yum install tmpwatch
This command will install tmpwatch on the server.
yum remove tmpwatch
This command will un-install tmpwatch on the server. When you run this command, you will be asked if you are sure that you want to remove tmpwatch, so you have to manually confirm that you want to do this.
yum -y remove tmpwatch
This command will un-install tmpwatch on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove tmpwatch when using the -y flag.
yum update tmpwatch
This command will update tmpwatch to the latest version. When you run this command, you will be asked if you are sure that you want to remove tmpwatch, so you have to manually confirm that you want to do this.
yum -y update tmpwatch
This command will update tmpwatch to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove tmpwatch when using the -y flag.
yum info tmpwatch
This command will show you core information about the tmpwatch package.
yum deplist tmpwatch
This command will show you the dependencies for tmpwatch. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update tmpwatch
This command will check if there is an update waiting on tmpwatch. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.