Wine Reviews
Three Ways to Install Latest Wine in Ubuntu 9.04 Jaunty Jackalope Print
Written by Tom Wickline   
Monday, 22 June 2009 00:56
I decided to put up this guide which shows how to install the latest Wine release in Ubuntu 9.04 using 3 different methods. The default Jaunty repositories come with Wine 1.0.1, but the latest release is 1.1.24 and a new version is available every two weeks, so here is a tutorial which explains how to get the last Wine release in Ubuntu or Kubuntu Jaunty.

I. Using the Wine PPA
A PPA (Personal Package Archives) is a separate repository which ships newer packages for various applications. You can use a PPA repository for installing newer versions of Amarok, or Wine, or Banshee etc. These repositories are hosted on Launchpad.

In order to get the latest Wine available, you can follow these easy steps:

1. Add the Wine PPA repositories to the /etc/apt/sources.list file
Open the /etc/apt/sources.list file as root with your favourite text editor (e.g. gksudo gedit /etc/apt/sources.list or sudo nano /etc/apt/sources.list) and enter your user password. Then add the following two lines to this file and save it:

deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu jaunty main

You can also use Shift+Insert here. Then make sure to save the file and update the sources lists:

sudo apt-get update

After updating, this warning may appear:

W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A9A06AEF9CB8DB0
W: You may want to run apt-get update to correct these problems

You can either ignore it, or (optionally), install the trusted key for these repositories. In order to get the key, follow the instructions from here. Notice that this is an optional step, so you can skip it or add the key later.

Then, install Wine:

sudo apt-get install wine

Press Y when it asks to install packages from untrusted sources. This should be all, the latest Wine should be now installed (at the time of writing, the version available in this PPA is 1.1.23).


II. Compile and Install Wine from Source
This method needs more time, but this way you get to compile your own version of Wine, without using any additional repositories. Here's what you have to do:

1. Install the needed dependencies and compiling tools
First, make sure you have the sources repositories enabled, that is, a line which starts with deb-src and looks like this:

deb-src http://ro.archive.ubuntu.com/ubuntu/ jaunty universe multiverse

Notice that in Jaunty these are enabled by default, so, unless you deleted this line from the /etc/apt/sources.list file, you don't have to add anything here.

Next, type the following:

sudo apt-get build-dep wine

This command will fetch all the needed development libraries for compiling Wine, including the package build-essential, which is a meta-package consisting of tools needed to compile C/C++ sources like g++.

2. Get the Wine tarball from the official website
Download the Wine source from the official website (direct link here) and uncompress it (e.g. tar -xjf wine-1.1.24.tar.bz2).

3. Compile and install Wine
Make sure the current working directory is wine-1.1.24 (or whatever version you have), and issue the following commands:

./configure
make depend && make
sudo make install

This should be all. Notice that you can also use a different path and install as normal user:

./configure --path=/home/USER/usr
make depend && make
make install

This will install Wine inside the /home/USER/usr directory (replace USER with your username). In this case, make sure /home/USER/usr/bin is added to your $PATH variable, preferable before the other paths.

Full Article
Del.icio.us     Digg This!     Furl     Google     Seed Newsvine     Reddit     Slashdot     Stumble It!     Technorati     Yahoo MyWeb

Comments
Add New Search RSS
Great
Bob 2010-01-21 01:37:03

Many thanks for sharing. It will be of great help to me. I like Ubuntu and Linux. I've fell in
love with it since I watched a video about its creating and learned to use it (though at
first it was not easy at all untill I found some books about it at the book search engine http://pdf.rapid4me.com ). I admire their goals. And it is a good thing that Linux can show it's capable of deliver
the support of a New Big Thing before the launch of it.
Write comment
Name:
Email:
 
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
Text:

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."