How can I update the software packages from CD

Issues related to configuring your network

How can I update the software packages from CD

Postby yangdk » 2008/03/28 03:56:06

question 1: where is the yum source configration file? I can't see any website address in /etc/yum.conf .

question 2: Can I update & install software packages from CD instead of network(like debian)? how?

thanks a lot.
yangdk
 
Posts: 2
Joined: 2008/03/28 03:16:16

How can I update the software packages from CD

Postby AlanBartlett » 2008/03/28 11:27:11

Answer 1: man yum and look at the FILES section near the end.
Answer 2: Part 1 - yes. Part 2 - insert the CD into the drive, ensure it is mounted, then issue your yum command like this:

yum --disablerepo=\* --enablerepo=c5-media package-name

HTH.
Alan.
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk

Re: How can I update the software packages from CD

Postby yangdk » 2008/03/31 03:57:44

It's OK!
I found it in /etc/yum.repos.d/
there are two files, pat what I was finding.
thanks again!
yangdk
 
Posts: 2
Joined: 2008/03/28 03:16:16

Re: How can I update the software packages from CD

Postby AlanBartlett » 2008/03/31 12:51:43

You're welcome. Glad to know you have resolved the issue.

Alan.
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk


Return to CentOS 5 - Networking Support

Who is online

Users browsing this forum: No registered users and 0 guests