473,788 Members | 2,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7180
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.plwr ote:
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
2165
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 module with a static variable in it (looks complex, but see the example below, pretty simple): First a working example: <<<< file: aTest.py
6
6028
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" which message is: {"The given assembly name or codebase, 'MyAssemblyDisplayName', was invalid." } The stack trace is:
3
1936
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 name="se.company.product.subproduct.boam.mao.iface.enum.hidden"> When I use <xsl:sort select="." order="ascending"/>
0
1945
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 unhandled
5
3789
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 name is use on the const string value, it should always display the full name. So far, I have been able to get the first name correctly. However, when I try to get the middle name, it wraps the last name as well... Thanks for your any valuable...
3
2997
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 file name, into an String variable. Now we need to know the package name of that java file for proceeding further... So can anyone suggest a way to do the same... Thanks....
3
2847
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 replace but rather i would just like to have "find record"..ive read recent forums on the same question and decided to try a script that was posted in one of the forums...here is the script Dim strFindID As String strFindID = InputBox("Enter...
1
2311
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 web site name alot of data coming up included the IP address for the Web Site . Can Some body tell me how can I do so or redirect me to such topic.
12
1564
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 indian domain (tld = .in), which leads to a package name like
0
9656
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10373
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10177
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10118
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8995
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5538
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4074
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.