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.
How can I update the software packages from CD
- 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
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.
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.
Re: How can I update the software packages from CD
It's OK!
I found it in /etc/yum.repos.d/
there are two files, pat what I was finding.
thanks again!
I found it in /etc/yum.repos.d/
there are two files, pat what I was finding.
thanks again!
- 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
You're welcome. Glad to know you have resolved the issue.
Alan.
Alan.