Product SiteDocumentation Site

10.2. Using yum in Cache-only Mode

To carry out a yum command without a network connection, add the -C option. This causes yum to proceed without checking any network repositories, and use only cached files. In this mode, yum may only install packages that have been downloaded and cached by a previous operation.
To search for the package tsclient without using a network connection, enter the command:
su -c 'yum -C list tsclient'
Enter the password for the root account when prompted.

Cache-only Mode Requires Cached Data

Cache-only mode requires package data to exist in the caches. If you enable caching, every yum operation may update the data files, unless cache-only mode is specified for the operation.