LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-18-2006, 01:38 AM   #1
nevxille
LQ Newbie
 
Registered: Oct 2006
Posts: 17

Rep: Reputation: 0
yum tutorial


can anyone hlp me with yum, how do i add my custom site to the yum list so it searches those site aswell for the pkg i'm looking for.
uisng RedHat El4
 
Old 10-18-2006, 02:27 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
After reading
Code:
man yum
head to your reposity directory, which is probably something like /etc/yum/repos.d (I'm 99,9% positive it's under /etc/ and called something like repos.d under something like yum), where you will see several files. These files describe your reposities (the addresses), so if you open them up one by one and see what's inside, you'll get the thing: just create a new file there, which is of the same form as the others are, but put your own URL(s) in the file.
 
Old 10-18-2006, 05:06 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Most repo sites will give you what needs to go in their repo file, so have a look there first. they will also often have a key. Most sites give pretty detailed instructions
 
  


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
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
Yum Problem - /var/cache/yum/base/primary.xml.gz:1 ice99 Linux - Software 0 12-15-2005 01:08 PM
Tutorial: Adding Mirror Entries for YUM and FC2 bgavin Linux - Newbie 1 10-26-2004 08:50 AM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM
How about a weekly tutorial? or just a tutorial Alinuxnoob LQ Suggestions & Feedback 2 04-09-2002 08:30 PM


All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration