Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am very, very new to all this so baby steps please if helping is appreciated.

I am trying to connect to the following repository so I can update my YUM packages: http://repo.webtatic.com/yum/centos/5/SRPMS/

honestly I have no idea how to do that from SSH though - any guidance is very appreciative.

share|improve this question

3 Answers 3

up vote 4 down vote accepted

The instructions are listed at: http://www.webtatic.com/projects/yum-repository/

rpm -ivh http://repo.webtatic.com/yum/centos/5/`uname -i`/webtatic-release-5-0.noarch.rpm
share|improve this answer
    
That seems a tiny bit easier than doing it by hand as I suggested ;) –  pehrs May 21 '10 at 16:54
    
this install does not contain SEVERAL updated packages (i.e. http, php, openssl, etc) for some reason, perhaps I am doing something wrong? –  JM4 May 21 '10 at 17:01
    
Once you install the repository, you may then yum install <some package in the webtatic repository> --enablerepo=webtatic, just like you would to install any other package. –  Joe May 21 '10 at 17:05
    
guess it would help if I spelled the domain right ( webtatic, not webtactic) although I like the second better :) –  JM4 May 21 '10 at 17:12

Yum downloads the package lists automatically, and the repositories are configured in files under /etc/yum.repos.d. Furthermore, it does not download source RPMs, see: http://yum.baseurl.org/wiki/Faq#Q.14:HowcanItellyumtodownloadasourcepackagei.e.a.src.rpmfile

A minimal repo file for that site would look something like this:

[webtatic]
name=CentOS-5 - Webtatic.com
baseurl=http://repo.webtatic.com/yum/centos/5/$basearch/
share|improve this answer

First you have to setup the repository in a configuration file for yum. Create the repo configuration like this:

# cd /etc/yum.repos.d
# nano Webtatic

Insert something like this in the file

[webtatic] 
name=Webtatic repo
baseurl=http://repo.webtatic.com/yum/centos/5/SRPMS/
enabled=1 
gpgcheck=1 
gpgkey=http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy

Save and close the file. Then you import the key for the repo:

# rpm --import http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy

At this point the repository is added to yum. Now you only need to use it.

# yum update
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.