Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

3 Answers 3

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.

share|improve this answer
    
I'm using Amazon Linux and it is available thru' EPEL. –  Shyam Sundar C S Apr 9 '12 at 12:40

What is the version of Amazon Linux you are using ?

Recent Amazon AMI's are based on EL6 upstream. EPEL 6 bundles wine.

share|improve this answer

I ran across this page while looking for an answer. Here is what I eventually found out:

  1. Modify /etc/yum.repos.d/epel.repo. Under the section marked [epel], change enabled=0 to enabled=1. You can do this with the command "sudo vi /etc/yum.repos.d/epel.repo"
  2. Install WINE with "sudo yum install wine"
  3. Install any dependencies

See this page for reference: http://aws.amazon.com/amazon-linux-ami/faqs/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.