Setting up local YUM Repositories for both 32 bit and 64 bit on RHEL 5.x

Posted on 2011-10-16
Last Modified: 2013-03-30
HI Experts,
I would like to set up local YUM repository for RHEL 5.3. I need to set up local repositories for 32bit and 64bit on one YUM local repo server.
I know how to set up a yum repo for one architecture. But no clue about both 32/64 on same server.

Please help me.
Question by:netlynker
    LVL 31

    Expert Comment

    First you need to find out the directory locations of the local repos -- repomd.xml files.

    Once you locate the path of those files, you can create a file to point to those.

    So then you need to create/modify file in /etc/yum.repos.d folder.

    LVL 31

    Accepted Solution

    Make a separate repo file for each custom repository

    vi /etc/yum.repos.d/name.repo

    And insert the following text in it.

    [My ISO Repository]

    Author Comment

    Will it work with 'grouplist" command?

    LVL 31

    Expert Comment

    Yes, of course.  All the yum commands.  In particular, the groups are provided by the repomd.xml file in the baseurl path.  That md provides it the group and package information it would use for all groupadd, grouplist, ... kind of commands

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
    The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now