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, pirut 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
- Pirut
- apt-get
- /etc/yum.conf
- /etc/yum.repos.d
- yum
- yum update
- yum install
- yum list
- yum grouplist
- yumex and synaptic
|
| Questions |
- How do you configure pup?
- Can yum and pirut not have the same updates?
- What is the purpose of gpg signing of rpms?
- 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 6.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 [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 used to
work from rpmforge
- Using jpackage to install jedit is no longer working well with RHEL based distros,
so check out Jedit help, though it may be in the rpmforge repository
|
| Resources |
|
|
|
|