How can I update the software packages from CD

Issues related to configuring your network
Post Reply
yangdk
Posts: 2
Joined: 2008/03/28 03:16:16
Contact:

How can I update the software packages from CD

Post by 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.

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

How can I update the software packages from CD

Post by AlanBartlett » 2008/03/28 11:27:11

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

[b]yum --disablerepo=\* --enablerepo=c5-media [i]package-name[/i][/b]

HTH.
Alan.

yangdk
Posts: 2
Joined: 2008/03/28 03:16:16
Contact:

Re: How can I update the software packages from CD

Post by 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!

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

Re: How can I update the software packages from CD

Post by AlanBartlett » 2008/03/31 12:51:43

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

Alan.

Post Reply