Recent Changes - Search:

Public

Physics

Engineering

Literature
Journal Club
People

MineralPET
DAQ

Computing

Africa


Scientific Linux: Local Repository

  • Do not forget to include the YUM package when you install !

First of all, read the excellent Managing Software with yum from Fedora. Some details may be specific to Fedora Core 5, which uses a slightly newer version of yum, but most of it is relevant for SL too.

YUM and the local repositories

Using yum from a remote repository

for example: To install mozilla flash from the dag repository do

export http_proxy="http://proxyusername:proxypassword@proxy.wits.ac.za:80"
sudo yum --enablerepo=dag install mozilla-flash

How to create a yum repository:

  • use createrepo <dir>
  • http://linux.duke.edu/projects/metadata/
  • for example you can copy all the rpm files from the install CDs into a directory (say /dsk1/FC4-PPC/os/), use createrepo, and then use
    baseurl=file:///dsk1/FC4-PPC/os
    in your /etc/yum.repos.d/fedora.repo
  • you may also have to set
    gpgcheck=0

For the repository on PSI there is the /WWW/data/createrepo.sh script.

Edit - History - Print - Recent Changes - Search
Page last modified on October 13, 2012, at 09:06 pm