How to install Wine on Amazon Linux AMI

amazon ec2amazon-amiamazon-web-serviceswine

I am trying to install Wine on Amazon Linux AMI.

First I did:

   sudo yum install wine

It said "No wine package available."

Then I did the following:

   sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
   sudo yum install wine -y

At the end of the output I get the following:

...
--> Finished Dependency Resolution
Error: Package: wine-core-1.0.1-1.el5.i386 (epel)
           Requires: libgphoto2_port.so.0
Error: Package: wine-esd-1.0.1-1.el5.i386 (epel)
           Requires: libesd.so.0
Error: Package: wine-core-1.0.1-1.el5.i386 (epel)
           Requires: libgphoto2.so.2
Error: Package: wine-desktop-1.0.1-1.el5.i386 (epel)
           Requires: desktop-file-utils >= 0.8
Error: Package: wine-esd-1.0.1-1.el5.i386 (epel)
           Requires: libaudiofile.so.0
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Can you help me to get Wine installed and running?

Best Answer

It seems there's no wine package for Amazon Linux.

You can always install from source: http://www.winehq.org/docs/wineusr-guide/installing-wine-source

Just install the dependencies needed to build from source with yum.