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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.