473,396 Members | 1,923 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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?

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?
Dec 4 '07 #1
2 7166
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

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

--
Piotr Siudak
Dec 4 '07 #2
On Dec 3, 10:50 pm, Piotr Siudak <siu...@xz.plwrote:
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....with%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
Dec 5 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: Yannick Patois | last post by:
Hi, Under some naming conditions of module files, it seems that python lost class static variables values. It seems only to append when importing a "badly" named module that itself import a...
6
by: Pablo | last post by:
Hi, I'm creating an AppDomain and creating an instance of a class. This works fine unless I use caching, which I need to use. The exception that I get is of type "System.IO.FileLoadException"...
3
by: Petterson Mikael | last post by:
Hi, I have the following package names ( in an xml) that I will transform to html. I need to sort them. <package name="se.company.product.subproduct.boam.fpx.testsignals"> <package...
0
by: dbuchanan | last post by:
Hello, Why am I getting this error? I don't know how to isolate it. It occurs intermittently. Has anyone seen this before? Here is the full text \\ System.IO.FileLoadException was...
5
by: Rafael Olarte | last post by:
Dear friends, I appreciate any feedback on this problem. I am trying to be able to produce an output with first, middle, and last name using a const string value. Therefore, no matter what...
3
by: Sushmita | last post by:
Hi All.. i need a small help...i will present the scenario in the best possible manner please help... We are asking the user to browse a file... and using that file path we are getting the java...
3
by: betterdayz | last post by:
hi...im trying to design the "find record" command whereby the user enters an ID Number and than clicks ok and the database does a search for that particular ID...the wizard command uses find and...
1
by: =?Utf-8?B?SHVzYW0=?= | last post by:
Hi EveryBody: How can I get the IP for web site when I have the Domain Name ? To make my question clear: For example when you go to www.netcraft.com and search for any web site by given the...
12
by: Abhishek Mishra | last post by:
Hello Everyone, I have the habit of using domain names (of either the application or company) in reverse in package names. for e.g. com.spam.app1 I've recently started a project for an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.