Learn how to a build a cloud-first strategyRegister Now


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

Posted on 2011-10-16
Medium Priority
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
  • 3
LVL 31

Expert Comment

ID: 36977251
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

farzanj earned 1500 total points
ID: 36977281
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

ID: 37158078
Will it work with 'grouplist" command?

LVL 31

Expert Comment

ID: 37158789
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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

810 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