How do I install a package in Red Hat Enterprise Linux 5 and also retain package in cache?

Updated -

Release found: Red Hat Enterprise Linux 5

Resolution:

To install the package and retain it in the cache, edit the /etc/yum.conf file and append following line:

keepcache=1

When a package is updated next time using the command:

#yum update <pkg-name>

The package will ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content