Howto: Installing WINE on RHEL / CentOS 5.x / 6.x | 32-bit | 64-bit | x86_64 | Linux

Hello All,

There are so many request from blog visitors to write Article on Wine Installation. Thanks for your request.

This article is for Install Wine on CentOS and RHEL 5.x and 6.x easily. Actually i have planned this article through script but due to shortage of time and now a days busy too, So Couldn’t implement complete script so Demonstrating manual how to over here.

I hope you guys will like the same.

Like VLC installation on Red Hat Enterprise Linux 5.x and 6.x and CentOS 5.x and 6.x its bit complicated and So much dependencies issues are there. So To make installation a bit easier and without too much headache i am writing this article.

This HOWTO performed on Blank RHEL / CentOS 5.x and 6.x if you are running with Latest or OLD RPMs you might face issue of Dependencies. Do it at your own risk wherever you are performing this howto.

To Install WINE on RHEL/CentOS 5.x and 6.x, Perform following Howto.

For RHEL / CentOS 6 32-Bit and 64-Bit (x86_64) :-

1. You need to be root to perform rest steps.

2. This step is must otherwise you might face dependencies issues. Now Lets take a backup of your Original Repository. By Executing Following Command :-
[root@wine-on-linux-ahmedabad-tejas-barot ~]# mkdir /repobackup
[root@wine-on-linux-ahmedabad-tejas-barot ~]#mv /etc/yum.repos.d/*.repo /repobackup/

3. Now Clean Previously Cached Repository by Executing Following command :-
[root@wine-on-linux-ahmedabad-tejas-barot ~]# yum clean all

4. Now Download and Install EPEL and Tejas Barot’s RPM for Wine to Install Wine on RHEL / CentOS 6.x.

To Download RPMs :-
[root@wine-on-linux-ahmedabad-tejas-barot ~]# cd /tmp
[root@wine-on-linux-ahmedabad-tejas-barot tmp]# wget http://www.tejasbarot.com/RPMs/epel-release-6-7.noarch.rpm
[root@wine-on-linux-ahmedabad-tejas-barot tmp]# wget http://www.tejasbarot.com/RPMs/wine-install-tejas-barot-2.0-2.noarch.rpm

To Install RPMs :-

[root@wine-on-linux-ahmedabad-tejas-barot tmp]# rpm -ivh –force epel-release-6-7.noarch.rpm
[root@wine-on-linux-ahmedabad-tejas-barot tmp]# rpm -ivh –force wine-install-tejas-barot-2.0-2.noarch.rpm
[root@wine-on-linux-ahmedabad-tejas-barot tmp]# cd

5. To install wine and its Packages execute following command :-

[root@wine-on-linux-ahmedabad-tejas-barot ~]# yum install –nogpgcheck wine*

When it ask for”YES”and”NO”Please go ahead with your choice.

6. That’s it, You are done now. Wine Installed Successfully.

7. Now Revert your previous repositories. by Following commands
[root@wine-on-linux-ahmedabad-tejas-barot ~]# rm -rf /etc/yum.repos.d/*.repo
[root@wine-on-linux-ahmedabad-tejas-barot ~]# mv /repobackup/*.repo /etc/yum.repos.d/

8. That’s It now. You have installed wine on RHEL / CentOS 6x Successfully and Your Previous Repositories also reverted back.

For RHEL / CentOS 5.x 32-Bit and 64-Bit (x86_64) :-

1. You need to be root to perform rest steps.

2. This step is must otherwise you might face dependencies issues. Now Lets take a backup of your Original Repository. By Executing Following Command :-
[root@wine-on-linux-ahmedabad-tejas-barot ~]# mkdir /repobackup
[root@wine-on-linux-ahmedabad-tejas-barot ~]#mv /etc/yum.repos.d/*.repo /repobackup/

3. Now Clean Previously Cached Repository by Executing Following command :-
[root@wine-on-linux-ahmedabad-tejas-barot ~]# yum clean all

4. Now Download and Install EPEL and Tejas Barot’s RPM for Wine to Install Wine on RHEL / CentOS 5.x.

To Download RPMs :-
[root@wine-on-linux-ahmedabad-tejas-barot ~]# cd /tmp
[root@wine-on-linux-ahmedabad-tejas-barot tmp]# wget http://www.tejasbarot.com/RPMs/epel-release-5-4.noarch.rpm
[root@wine-on-linux-ahmedabad-tejas-barot tmp]#wget http://www.tejasbarot.com/RPMs/wine-install-tejas-barot-1.0-1.noarch.rpm

To Install RPMs :-

[root@wine-on-linux-ahmedabad-tejas-barot tmp]# rpm -ivh –force epel-release-5-4.noarch.rpm
[root@wine-on-linux-ahmedabad-tejas-barot tmp]# rpm -ivh –force wine-install-tejas-barot-1.0-1.noarch.rpm
[root@wine-on-linux-ahmedabad-tejas-barot tmp]# cd

5. To install wine and its Packages execute following command :-

[root@wine-on-linux-ahmedabad-tejas-barot ~]# yum install –nogpgcheck wine*

When it ask for”YES”and”NO”Please go ahead with your choice.

6. That’s it, You are done now. Wine Installed Successfully.

7. Now Revert your previous repositories. by Following commands
[root@wine-on-linux-ahmedabad-tejas-barot ~]# rm -rf /etc/yum.repos.d/*.repo
[root@wine-on-linux-ahmedabad-tejas-barot ~]# mv /repobackup/*.repo /etc/yum.repos.d/

8. That’s It now. You have installed wine on RHEL / CentOS 5.x Successfully and Your Previous Repositories also reverted back.

Hope this will helps you, Waiting for your feedback.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

Looking for Linux Commercial Support ??? http://www.tejasbarot.com/linux-commercial-support/

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Enjoy Wine on Red Hat Enterprise Linux and CentOS 5.x and 6.x :) Enjoy Linux :) Enjoy Open Source :)

Content Protection by DMCA.com

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


17 Comments »

 
  • Ram says:

    Looks like you are using a Custom RPM for Wine. What version of Wine have you used ?

  • Wang says:

    Your blog is great, very useful.

  • Subramanyam says:

    Just don’t use wine* during ‘sudo yum install wine*’

    I just ran with ‘sudo yum install wine’ and it worked fine

  • Tejas Barot says:

    Hello,

    I think you have gone through with detailed steps or not read it properly, But its fine try to do following this will helps you.

    # cd /root ( Or change your directory anywhere where downloaded RPMs does not exists)
    # yum install wine* --nogpgcheck

    Hope this helps

  • Inisai says:

    Hi , thanks for your excellent steps.
    Oops i am getting this error.. help pls.

    root@oc8244478332 EPEL6]# yum install –nogpgcheck wine*
    Loaded plugins: fastestmirror, ibm-check-lotus-updates, ibm-kvm-win7-repo, ibm-repository, refresh-
    : packagekit, security
    Loading mirror speeds from cached hostfile
    * KVM-WIN: tmrdbpun.in.ibm.com
    * KVM-WIN7: tmrdbpun.in.ibm.com
    * epel: http://ftp.iij.ad.jp
    tejas-barot-wine 3591/3591
    Setting up Install Process
    Examining wine-install-tejas-barot-1.0-1.noarch.rpm: wine-install-tejas-barot-1.0-1.noarch
    wine-install-tejas-barot-1.0-1.noarch.rpm: does not update installed package.
    Error: Nothing to do

    [root@oc8244478332 EPEL6]# yum install wine*
    Loaded plugins: fastestmirror, ibm-check-lotus-updates, ibm-kvm-win7-repo, ibm-repository, refresh-
    : packagekit, security
    Loading mirror speeds from cached hostfile
    * KVM-WIN: tmrdbpun.in.ibm.com
    * KVM-WIN7: tmrdbpun.in.ibm.com
    * epel: http://ftp.iij.ad.jp
    Setting up Install Process
    Examining wine-install-tejas-barot-1.0-1.noarch.rpm: wine-install-tejas-barot-1.0-1.noarch
    wine-install-tejas-barot-1.0-1.noarch.rpm: does not update installed package.
    Error: Nothing to do
    [root@oc8244478332 EPEL6]#

  • Tejas Barot says:

    Hello,

    I do not think this is issue is because of wine.

    Kindly check your other service configuration or may be the hardware.

  • Sanjeev Tomar says:

    I’ve installed vlc successfully by the script given by you.Is is working fine..thanks a lot to solve the problem for media player.very much thanks…

    after that I’ve installed wine in RHEL6 from the above given steps by you..it is installed properly and given a Installation ‘Complete’ message and # prompt also..

    but after that it is unable to boot completely..it stops on

    “starting the CIM server” [OK]
    Registering components for windows…

    After this booting doesn’t proceed..

    Kindly provide me any solution ti fix this problem

  • Tejas Barot says:

    Hi Nishesh,

    Execute following command and try :-

    #rm -rf wine-install-tejas-barot-2.0-2.noarch.rpm
    #yum install wine*

    Hope this helps you.

  • Nishesh Kumar says:

    Hi Tejas,

    ‘YUM’ command is returning error. Below is the snapshot for the same.
    Kindly check.

    No package wine-1.1.27 available.
    Examining wine-install-tejas-barot-2.0-2.noarch.rpm: wine-install-tejas-barot-2.0-2.noarch
    wine-install-tejas-barot-2.0-2.noarch.rpm: does not update installed package.
    Error: Nothing to do

  • Tejas Barot says:

    My Friend there is two hyphens (--) not one hyphen (-) so try to copy paste carefully.

  • Tejas Barot says:

    Which Link ?

    I have tested all links and its working fine.

  • vivek says:

    rpm -ivh –force epel-release-6-7.noarch.rpm
    “–force” is no working i installed without this

    Examining wine-install-tejas-barot-2.0-2.noarch.rpm: wine-install-tejas-barot-2.0-2.noarch
    wine-install-tejas-barot-2.0-2.noarch.rpm: does not update installed package.
    Error: Nothing to do

    am using redhat 6.1 32bit

  • prateek says:

    i couldn’t find your link:
    plz check it if possible

  • Mitesh Patel says:

    Thanks

  • Tejas Barot says:

    Hello,

    I have fixed it, Now You can check it. Thanks for correcting.

  • Ajay says:

    Great work man

  • Vasudev says:

    I couldn’t find your link:

    Plz recheck it if possible.

 

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


× 3 = twelve