Reply to Re: given a package name, how do I find the 'yum' command to install it?

Your name:

Reply:


Posted by Bennett Haselton on 12/05/07 01:58

On Dec 3, 10:50 pm, Piotr Siudak <siu...@xz.pl> wrote:
> Bennett Haselton pisze:
>
> > How do I find the mapping between a PHP package name like
> > HTTP_Request, and the "yum" command to install it on CentOS 4.4?
>
> yum search HTTP_Request

I tried that and I got "No Matches found":

[root@D2585 ~]# yum search HTTP_Request
Searching Packages:
Setting up repositories
update 100% |=========================| 951 B
00:00
base 100% |=========================| 1.1 kB
00:00
addons 100% |=========================| 951 B
00:00
extras 100% |=========================| 1.1 kB
00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 165 kB
00:00
update : ################################################## 510/510
Added 18 new packages, deleted 0 old in 0.99 seconds
No Matches found

> > For example when I needed to use LWP::UserAgent to use in Perl, the
> > command was
> > yum install -y perl-libwww-perl
> > but I still don't remember how I found that out, I think someone just
> > told me. I never found how to get the mapping between the package
> > name "LWP::UserAgent" and the yum argument "perl-libwww-perl".
>
> > In the case of PHP packages, is there a similar mapping and how would
> > I find it for a given package?
>
> it is
> php-pear-HTTP-Request

I tried that and got "No Match for argument: php-pear-HTTP-Request":

[root@D2585 ~]# yum install php-pear-HTTP-Request
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: php-pear-HTTP-Request
Nothing to do

In fact Google only lists *one* match for "yum install php-pear-HTTP-
Request" on the entire Web:
http://forge.vtiger.com/docman/view.php/114/174/How%20to%20install%20vTiger%20and%20integrate%20with%20Cas.doc
Are you sure this is the most common way of doing this?

The ONLY thing I want to do is have a PHP script that's able to access
a remote URL and test whether it exists (i.e. gives 404 or not). Is
this the simplest way?

-Bennett

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация