- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Issue in installing httpd package using yum....
Operating System - Linux
1819814
Members
2712
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2011 07:17 AM
тАО04-30-2011 07:17 AM
Issue in installing httpd package using yum....
Hi,
I have RHEL5 and i have configured yum for package management.So i want to install httpd with all it's dependencies. So when i executes yum install httpd* , it says this package is not available to install..
I can install other packages. Can somebody help in this?
I have RHEL5 and i have configured yum for package management.So i want to install httpd with all it's dependencies. So when i executes yum install httpd* , it says this package is not available to install..
I can install other packages. Can somebody help in this?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2011 07:55 AM
тАО04-30-2011 07:55 AM
Re: Issue in installing httpd package using yum....
Did you have a file or directory named like "httpd*" in your current working directory when you entered that command?
Because you did not quote nor escape your wildcard, the shell will attempt to expand it as a file/directory name before executing the command. If there are matching files, the wildcard expression on the command line will be replaced with the list of matching filenames just before the command begins executing. If no matches are found, yum will receive the wildcard expression as-is.
In cases like this, you don't want the shell to touch your wildcards, so you must do one of two things:
1.) quote the wildcard expression with single or double quotes:
yum install "httpd*"
or
yum install 'httpd*'
The main difference between the two forms is that variable expansions (e.g. $VARIABLE) will work inside double quotes, but not within single quotes.
2.) or use the backslash to escape the asterisk, so the shell will know you'll want to pass a literal asterisk as an argument to yum:
yum install httpd\*
Actually, you don't even need the asterisk at all: when you install a package with yum, yum will always check the dependencies and will automatically install them too if they aren't already installed.
But if you want to install all the same things as when choosing the "Web Server" installation option in the RHEL5 OS installer (including httpd* and some related tools), you can use the "yum groupinstall" command:
yum groupinstall "Web Server"
You can view the available groups with "yum grouplist".
MK
Because you did not quote nor escape your wildcard, the shell will attempt to expand it as a file/directory name before executing the command. If there are matching files, the wildcard expression on the command line will be replaced with the list of matching filenames just before the command begins executing. If no matches are found, yum will receive the wildcard expression as-is.
In cases like this, you don't want the shell to touch your wildcards, so you must do one of two things:
1.) quote the wildcard expression with single or double quotes:
yum install "httpd*"
or
yum install 'httpd*'
The main difference between the two forms is that variable expansions (e.g. $VARIABLE) will work inside double quotes, but not within single quotes.
2.) or use the backslash to escape the asterisk, so the shell will know you'll want to pass a literal asterisk as an argument to yum:
yum install httpd\*
Actually, you don't even need the asterisk at all: when you install a package with yum, yum will always check the dependencies and will automatically install them too if they aren't already installed.
But if you want to install all the same things as when choosing the "Web Server" installation option in the RHEL5 OS installer (including httpd* and some related tools), you can use the "yum groupinstall" command:
yum groupinstall "Web Server"
You can view the available groups with "yum grouplist".
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2011 04:03 PM
тАО05-04-2011 04:03 PM
Re: Issue in installing httpd package using yum....
yum install httpd
should be suffice.
yum will figure out all dependencies and ask you to confirm if you want to install them.
should be suffice.
yum will figure out all dependencies and ask you to confirm if you want to install them.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP