Find the answer to your Linux question:
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.
  1. #1
    Just 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

  2. #2
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,637
    openSUSE uses the zypper package manager so I guess that SLES does also. In such a case
    Code:
    zypper install apache
    or maybe
    Code:
    zypper install httpd
    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.

    A cheat sheet for zypper.

    [edit]
    It appears that
    Code:
    zypper source-install httpd
    will install from the source code
    [/edit]
    "I used to be with it, then they changed what it was.
    Now what was it isn't it, and what is it is weird and scary to me.
    It'll happen to you too."

    Grandpa Simpson



    The Fifth Continent

  3. #3
    Just 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:
    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.
    Any ideas?
    Sorry for me being so dumb.

  4. $spacer_open
    $spacer_close
  5. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,637
    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
    "I used to be with it, then they changed what it was.
    Now what was it isn't it, and what is it is weird and scary to me.
    It'll happen to you too."

    Grandpa Simpson



    The Fifth Continent

  6. #5
    Just Joined! dono725's Avatar
    Join Date
    Sep 2012
    Location
    NSW, Australia
    Posts
    28
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •