Felitaur Site
Offerings
|
   
|
|
Using Yum Repositories for updates/installs
[Linux System Administration Home]
Note: You should always apply ALL updates to any software you are
running, end of story. Otherwise you will eventually be hacked.
Lecture Overview Index | Linux SysAdmin Homepage
| Overview |
Goals
Understand how rpm, up2date (pup) and yum work
Compare it to apt-get
Configure yum repositories
Install some popular software packages with yum
The following programs/files/directories will be discussed for this
topic
- rpm
up2date Pup and Pirut
- apt-get
- /etc/yum.conf
- /etc/yum.repos.d
- yum
- yum update
- yum install
- yum list
- yumex and synaptic
|
| Questions |
- How do you configure pup?
- Can yum and
up2date pup not have the same updates? What are channels?
- What is the purpose of gpg signing of rpms?
- What apt packages are their for redhat?
- What are yum repositories? How do you find them?
- How would you set up a yum archive/repository?
- Which repositories are now part of "rpmforge"?
|
| Activities & Assignments |
Note: This assumes you are using Centos 5.x and you can go directly to the repository sites in the "resources" section.
- Centos.repo
- go into the /etc/yum.repos.d directory
- Use vi to edit the Centos-Base.repo file
- find the [update] section
- add the following line just above the gpgcheck line:
exclude=kernel-hugemem*,kernel-smp*
- Find the [centosplus] section
- Change "enabled=0" to enabled=1
- Add the following line just above the gpgcheck line:
exclude=kernel*
- rpmforge (dag, freshrpms etc)
jpackage.repo
- cd /etc/yum.repos.d
- vi jpackage.repo
- go to http://www.jpackage.org/jpackage.repo
- Copy and paste that into your vi window on your box
- change "enable=0" to "enable=1" for the appropriate distros
(Redhat Enterprise Linux and maybe the "non free" as well)
- run yum update as root, notice which packages come from particular archives
- then try yum install xine and yum install mplayer
You will need to install the Codecs from Mplayer
To get full functionality. Note possible legal issues. (Note, yum install w32codec may work from rpmforge
- Using jpackage to install jedit is no longer working well with RHEL based distros,
so check out Jedit help if you want to
install that.
|
| Resources |
|
|
|
|