Find the answer to your Linux question:
Results 1 to 2 of 2
Hi Frndz I configured YUM and working fine but I want to collect these rpm's and maintain a backup for future use. *Frndz where I can get installed rpm's through ...
  1. #1
    Linux Newbie
    Join Date
    Aug 2008
    Posts
    119

    Download RPM's through YUM in RHEL 5.4

    Hi Frndz

    I configured YUM and working fine but I want to collect these rpm's and maintain a backup for future use.

    *Frndz where I can get installed rpm's through yum

    *Is there any way to retreve back the installed rpm's.

    *Or how can I get rpm's for backup purpose.

    Help Me guys

    Thanks in Advance.

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Packages are kept in the directory /var/cache/yum

    I think the default is to keep package which have been successfully installed, but I'm not positive.

    The yum config file, /etc/yum.conf, allows you to set the default cache directory as well as set whether packages are kept.

    Look for the keepcache line in yum.conf and make sure it is set to 1
    Code:
    keepcache=1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...