Name

clean

Synopsis

clean [options]

Clean up the yum cache directory.

Options

all

Clean everything: headers, packages, metadata, and the cache.

cache

Clean up the cache.

headers

Remove all header files, forcing yum to download new headers the next time it runs.

metadata

Remove the metadata files, which maintain information about the packages such as package name, file size, description, dependencies, etc.

packages

Remove cached packages.

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.