Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Add Remove software in redhad


    I'm trying to install gcc but getting the following error:

    [root/server Packages]# rpm -qa | grep gcc

    [root/server Packages]# rpm -ivh gcc-4.4.6-4.el6.x86_64.rpm
    error: Failed dependencies:
    glibc-devel >= 2.2.90-12 is needed by gcc-4.4.6-4.el6.x86_64
    libgomp = 4.4.6-4.el6 is needed by gcc-4.4.6-4.el6.x86_64

    [root/server Packages]# rpm -ivh glibc-devel-2.12-1.80.el6.x86_64.rpm
    error: Failed dependencies:
    glibc = 2.12-1.80.el6 is needed by glibc-devel-2.12-1.80.el6.x86_64
    glibc-headers is needed by glibc-devel-2.12-1.80.el6.x86_64
    glibc-headers = 2.12-1.80.el6 is needed by glibc-devel-2.12-1.80.el6.x86_64

    [root/server Packages]# rpm -ivh glibc-2.12-1.80.el6.x86_64.rpm
    error: Failed dependencies:
    glibc-common = 2.12-1.80.el6 is needed by glibc-2.12-1.80.el6.x86_64

    [root/server Packages]# rpm -ivh glibc-common-2.12-1.80.el6.x86_64.rpm
    error: Failed dependencies:
    glibc = 2.12-1.80.el6 is needed by glibc-common-2.12-1.80.el6.x86_64

    [root/server Packages]#

    When trying to install glibc it asks for glibc-common, and when trying to install glibc-common, it asks for glibc
    What can be the problem? Is there any way to install all packages with all its dependencies?

    And the last question - How can I run Add/Remove package software as I don't use desktop to use the Menu but can use GUI

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    My suggestion is to use yum to install/remove softwarepackages on a redhat/centos/fedora system.
    Be aware, that you need a supported OS version (redhat/centos 5+) and in case of redhat: A paid subscription
    yum install gcc
    You must always face the curtain with a bow.

  3. #3
    Just Joined! jonniemuk's Avatar
    Join Date
    Jul 2009
    I think you are meaning redhat instead of
    Remove software in redhad
    in you title.
    redhat and fedora come with gcc unless you exclude it during the installation. Get the DVD and follow the path to the rpms, copy off the dependencies, then do the installation. You can visit
    to manually get the individual rpms. But lrithori's option is much simpler if you have an internet connection.

  4. $spacer_open
  5. #4
    you can hve yum repository from CR ROM itself. if u check google u can find lots article saying how to setup it.

Posting Permissions

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