Ubuntu 8.04 comes with Wine 0.9.59, which is already pretty old. In the meantime, the latest development version of Wine is 1.1.4, which was released on September 5, 2008.
In order to compile Wine from source and install it on Ubuntu, you will only need to follow several easy steps I list below:
1. Enable the sources repositories
Make sure you have a line in the /etc/apt/sources.list file which says something like:
deb-src http://archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
Next, update the packages list:
sudo apt-get update
2. Install the Wine dependencies
This will also install the build-essential meta package if it's not already installed:
sudo apt-get build-dep wine
3. Download the Wine 1.1.4 source tarball, compile and install
Download the source from the official website (direct link here), uncompress it, change the current working directory to wine-1.1.4 and type the command:
If the configuration goes smooth, you'll be presented with a message similar to the one below:
configure: Finished. Do 'make depend && make' to compile Wine.
We need to install wine as root user, do you want us to build wine,
'su root' and install Wine? Enter 'no' to continue without installing
Type no, wait for Wine to be compiled, then use:
sudo make install
To install Wine.
4. Run Wine
Run winecfg as normal user in order to configure it, then use it like wine WIN_APP.EXE in order to start Windows applications. You can see where the binary was installed by typing:
And to see the version:
This should be all.
Wine applications database
Updated: Sep 12, 2008