Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a Wine PPA user for Scott Ritchie for several years and have loved that PPA but I want to start compiling Wine for testing purposes in another PC with Ubuntu.

So I have a couple of questions regarding this:

What special flags or steps are needed to compile Wine on Ubuntu?

How to include the pulseaudio code to Wine to solve any sound issues in the process?

share|improve this question
up vote 5 down vote accepted

No special flags are needed, really. Audio is supported out-of-the-box.

Here are the commands you'll need to run to get Wine up and running, straight from the source.

sudo -s
cd /tmp
tar xjvf wine-1.5.9.tar.bz2
cd wine-1.5.9/
make install

Here's what the commands actually do:

  • Drop to a root shell
  • Go to the temp folder
  • Download the Wine dependency installer script
  • Run the Wine dependency installer script
  • Download the Wine source
  • Extract the Wine source
  • Enter the Wine source directory
  • Run the configuration script
  • Compile Wine
  • Install Wine

Note: Don't do this on an actively used server with insufficient ressources.. This slowed my Nagios server to a crawl! :)


share|improve this answer
+1 for the clear answer and the addition of the wine dependency installer. Did not know that one. Thank you SirCharlo. – Luis Alvarado Jul 18 '12 at 20:59
Always glad to help!! :) – SirCharlo Jul 19 '12 at 4:30

Your Answer


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.