LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 09-17-2012, 03:33 PM   #1
it-secret
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, 06:48 PM   #2
billkamp
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
https://access.redhat.com/knowledge/...y_Options.html
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
rpmfusion-free-updates.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, 08:20 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 12,836

Rep: Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709Reputation: 1709
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 !!!!
or
install one of the FREE rebuilds
CentOS 6.3 or ScientificLinux 6.3

Quote:
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
Code:
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
https://access.redhat.com/knowledge/...erprise_Linux/

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
https://access.redhat.com/support/



if this is centOS6 or SL6
see the cent wiki
http://wiki.centos.org/

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


Reply


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 11:25 AM
How to configure yum s_linux_prof Linux - Newbie 4 07-01-2010 05:39 AM
i cannot configure yum in cenos claudio.tellis Linux - Newbie 3 04-07-2010 04:02 AM
how to configure yum joeatchen Linux - Newbie 10 12-05-2009 09:40 PM
Configure YUM harishk Linux - Newbie 8 11-04-2009 04:18 AM


All times are GMT -5. The time now is 03:42 AM.

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