Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-17-2012, 04:33 PM   #1
LQ Newbie
Registered: Jun 2012
Posts: 14

Rep: Reputation: Disabled
how to configure yum

hello friends

i want ask about configure yum on RHEL

what is the steps ,

i know , going to /etc/yum.repos/

but what steps inside file ?
Old 09-17-2012, 07:48 PM   #2
LQ Newbie
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
Is the directory maybe /etc/yum.repos.d? That is what it is on Fedora, and I think on RedHat as well. See
In any event, the directory has a set of files that describe various repositories and their locations. My typical set is:
adobe-linux-x86_64.repo rpmfusion-free-updates-testing.repo
fedora.repo rpmfusion-nonfree-rawhide.repo
fedora-updates.repo rpmfusion-nonfree.repo
fedora-updates-testing.repo rpmfusion-nonfree-updates.repo
rpmfusion-free-rawhide.repo rpmfusion-nonfree-updates-testing.repo
rpmfusion-free.repo virtualbox.repo
Google any of these names to find out how to download that particular repo as a file and put it in /etc/yum.repos.d.
These download pages will tell you how to set up the GPG signatures as well as a link to the repo files.
Good Luck
Old 09-17-2012, 09:20 PM   #3
John VV
LQ Muse
Registered: Aug 2005
Posts: 15,659

Rep: Reputation: Disabled
this IS RHEL 5 or 6 ???? right
and NOT one of the FREE rebuilds ( CentOS5.8 or 6.3 & ScientificLinux 5.8 or 6.3)

if it IS the CURRENT RHEL 6.3
you mostly DO NOT manually edit repo files
unless this IS a headless server ( then you do )

and IF RHEL 5.8 or 6.3
you MUST 100% MUST buy the REQUIRED license to install software !!!!
install one of the FREE rebuilds
CentOS 6.3 or ScientificLinux 6.3

i want ask about configure yum on RHEL
seeing as RHEL is mostly installed on a server with NO GUI
( as in Gnome Desktop IS NOT INSTALLED and is ONLY a text ONLY install )
start with
su -
yum repolist all 
---- and this also ---
yum update
that will output a list of what " software repos" currently ARE installed and if it is on or off
and post any error you get

if you are behind a router inside a LAN and need to connect to the outside world
then you will need to add those network settings yo the yum config

PLEASE read the RHEL documentation

and seeing as you need to have a paid for support contract ( REQUIRED ) ask red hat
you ARE paying them for support , you might as well use it

if this is centOS6 or SL6
see the cent wiki

Last edited by John VV; 09-17-2012 at 09:25 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg3793 Fedora 8 04-13-2011 12:25 PM
How to configure yum s_linux_prof Linux - Newbie 4 07-01-2010 06:39 AM
i cannot configure yum in cenos claudio.tellis Linux - Newbie 3 04-07-2010 05:02 AM
how to configure yum joeatchen Linux - Newbie 10 12-05-2009 10:40 PM
Configure YUM harishk Linux - Newbie 8 11-04-2009 05:18 AM

All times are GMT -5. The time now is 06:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration