Find the answer to your Linux question:
Results 1 to 6 of 6
I have linux on my system, not installed by me. It is RHEL 5.1. I am relatively new to unix/linux... The problem arised when I tried to install wine 1.1.31.... ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    3

    problem with gcc

    I have linux on my system, not installed by me. It is RHEL 5.1. I am relatively new to unix/linux... The problem arised when I tried to install wine 1.1.31.... I have downloaded wine-1.1.31.tar.bz2....

    Then I have extracted using the command tar zxvf wine-1.1.31.tar.z2... that got extracted and then tried to install using ./tools/wineinstall and it gave me an error message that I don't have a gcc compiler... So i tried installing the compiler...

    I have downloaded gcc-4.4.2.tar.bz2, extracted in the similar way and even for this its showing same error. Can someone tell me how to install it....

    The whole thing is happening in root folder

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    tar.gz is used for source, you would then have to compile the programm.
    You cannot install these tar.gz like you are (probably) used to in a windows environment.

    Try this as root:
    Code:
    yum install wine
    Be aware, that wine will not run just any windows programm.
    It is usually better to find a native linux replacement.

  3. #3
    Just Joined!
    Join Date
    Nov 2009
    Posts
    3
    some problem with yum install wine. What else should be done if you are using that command?? I am uploading the image describing my problem
    Attached Images Attached Images

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    The command is correct.

    If you read the output, you will see "This system is not registered with RHN".
    RHN = RedHat Network.
    RedHat is a commercial linux distribution.
    So you will need to
    a) buy a licence
    b) register your system with
    Code:
    yum --register
    Then you have access to the redhat repositories and you can install programms and updates via yum.

    Another way would be to use a free distribution, if you dont need commercial support.
    CentOS is very close to Redhat, (almost) binary compatible.
    Of course, you would then have to re-install the system and all its services.

  5. #5
    Just Joined!
    Join Date
    Nov 2009
    Posts
    3
    Is there a method to install that without registering to RHN or installing another version of unix... because that's not possible for some reasons

  6. #6
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    If you use RedHat, you need a licence. Period.

    As I already said, if you dont need commercial support, then CentOS is a good replacement for RedHat.

Posting Permissions

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