CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - Networking Support
  How can I update the software packages from CD

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  yangdk
      yangdk
How can I update the software packages from CD
#1
Newbie
Joined: 2008/3/28
From
Posts: 2
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.
Posted on: 2008/3/28 3:56
Create PDF from Post Print
Top
  •  AlanBartlett
      AlanBartlett
Re: How can I update the software packages from CD
#2
Moderator
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 5934
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.
_________________
Alan.

100% Unix & Linux. Co-founder of the ELRepo Project.
Posted on: 2008/3/28 11:27
Create PDF from Post Print
Top
  •  yangdk
      yangdk
Re: How can I update the software packages from CD
#3
Newbie
Joined: 2008/3/28
From
Posts: 2
It's OK!
I found it in /etc/yum.repos.d/
there are two files, pat what I was finding.
thanks again!
Posted on: 2008/3/31 3:57
Create PDF from Post Print
Top
  •  AlanBartlett
      AlanBartlett
Re: How can I update the software packages from CD
#4
Moderator
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 5934
You're welcome. Glad to know you have resolved the issue.

Alan.
_________________
Alan.

100% Unix & Linux. Co-founder of the ELRepo Project.
Posted on: 2008/3/31 12:51
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com