Results 1 to 5 of 5
Hi All:
I have a very basic knowledge of Linux and I am trying to install Apache server on a SUSE Linux Enterprise Server 10 (x86_64). The isntall failed as
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-20-2012 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 8
Installing Dependencies
Hi All:
I have a very basic knowledge of Linux and I am trying to install Apache server on a SUSE Linux Enterprise Server 10 (x86_64). The isntall failed as
- it requires APR and APR-Util to be installed.
- I downloaded APR and tried to install it but it failed as it requires gcc to be installed first.
- I installed a gcc rpm and tried to install that but it also failed because it requires gcc47.
Well thats enough for a newbie to loose hope
.That is why I am posting here to ask whether there is any way of installing all the dependencies and the apache server with a single command or not. If not, what steps should I follow to complete the installation.
Thanks in advance
- 09-20-2012 #2
openSUSE uses the zypper package manager so I guess that SLES does also. In such a case
or maybeCode:zypper install apache
should work depending on what the package is called. This should resolve the dependencies for you. This will be a binary install rather than a source build.Code:zypper install httpd
A cheat sheet for zypper.
[edit]
It appears thatwill install from the source codeCode:zypper source-install httpd
[/edit]If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
The Fifth Continent reborn
- 09-20-2012 #3Just Joined!
- Join Date
- Feb 2011
- Posts
- 8
Elija:
Thanks for your timely response. I did the following
- downloaded httpd-httpd-2.4.3.tar.gz
- Unzip it with gunzip -d httpd-2.4.3.tar.gz
- Extracted it to httpd-2.4.3 with tar xvf httpd-2.4.3.tar
- Outside the httpd-2.4.3 directory I ran zypper install httpd-2.4.3
And I got the following on the console:
Any ideas?Restoring system sources...
Warning: No sources. Operating only with the installed resolvables. Nothing can be installed.
Parsing RPM database...
package 'httpd-2.4.3' not found
Summary:
Nothing to do.
Sorry for me being so dumb.
- 09-20-2012 #4
zypper will download the required packages from the repositories. You don't need to supply the version. If you are a beginner, I would recommend staying within the repos while you gain familiarity. So it should be as simple as (as root)
Code:zypper install httpd
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
The Fifth Continent reborn
- 10-03-2012 #5
I am no expert, I'm studying IT network administration. When we install apache we use the software manager in yast and when you select apache it automatically instals any dependencies it needs.


Reply With Quote
