Ubuntu / Edubuntu / Kubuntu / Xubuntu
- The Version Numbering is based on the Release Year and Month: "Ubuntu Y.MM"
- The Difference between Ubuntu, Kubuntu, Xubuntu and Edubuntu are the preselected Desktop-Environment
- and the preselected Applications - other than different preselected defaults, they share the same packages, including Wine.
Installing on Ubuntu
Most users will want to just download a package. Latest Wine releases are available here: http://www.winehq.org/download/deb
Ubuntu package archive
Old Wine packages that used to be at the PPA are available here: http://wine.budgetdedicated.com/archive/
Building the Ubuntu packages from source
First, add the Wine PPA as at http://www.winehq.org/download/deb -- you can skip installing the Wine package, however.
Then you can easily make and install your own Wine package with:
sudo apt-get build-dep wine1.3 apt-get --build source wine1.3 sudo dpkg -i wine*.deb
Alternatively, if you need to apply a patch, you can do something like:
sudo apt-get build-dep wine1.3 apt-get source wine1.3 cd wine1.3-* patch -p1 < foo.patch dpkg-buildpackage -rfakeroot cd .. sudo dpkg -i wine1.3*.deb
Installing Wine into Ubuntu without an internet connection
Wine isn't on the Ubuntu CDs (or DVD), as it's not a "main" package supported by Canonical. To install Wine into an Ubuntu machine that doesn't have an internet connection, you'll have to manually download and install some files. This is not only the Wine .deb package, but also its dependencies. Fortunately, you can do this entirely within a VM on any internet-connected machine.
This procedure should get you everything you need to install Wine offline:
- Install a fresh copy of Ubuntu into a new machine (or virtual machine) that has internet access
Open a terminal, and type:
sudo add-apt-repository ppa:ubuntu-wine/ppa sudo apt-get update sudo apt-get --download-only install wine1.3 sudo apt-get --download-only dist-upgrade
- There will be a large collection of .deb files in /var/cache/apt/archives -- copy all of them to a USB stick
Install all of the packages onto the machine without an internet connection. You can do this all at once using sudo dpkg -i *.deb (the USB stick will be mounted somewhere in /media)
If you don't have access to a VM and the above procedure, you will have a lot more manual labor to do. Download the Wine package manually via packages.ubuntu.com (or Launchpad), attempt to install it, get told what dependencies you're missing, and then go download those too. Repeat several times until you have them all. I recommend the VM.
Package differences between Ubuntu versions
Where possible, packaging is kept the same between Ubuntu releases. But Wine needs a lot of things, and these tend to change between releases.
Lucid: ia32-libs does not contain the gstreamer codecs. Lucid also lacks GCC 4.5 and libstdc++6-4.5, and must build with 4.4 instead. For this reason wine1.3 packaging in Lucid is a separate lineage from Maverick/Natty. It is no longer being updated other than with uupdate at each wine release.
Maverick: official Maverick ia32-libs does not contain the gstreamer codecs, however the Wine PPA contains a new ia32-libs that does have them. If you are developing Wine on Maverick you should have the PPA enabled for this reason even if you do not install the Wine packages.
Natty: official Natty has wine1.3 version 1.3.15. The PPA packages are simple rebuilds of the Maverick ones, and thus share the same packaging lineage.
All versions in the PPA share the same wine1.3-gecko packaging. Because Natty official (1.3.15) requires Gecko 1.1 rather than 1.2, the wine1.3-gecko package in the PPA contains both Gecko 1.2 and Gecko 1.1 binaries. Wine will do the smart thing and use the one it's compatible with. In addition the wine1.2-gecko and wine1.3-gecko packages are coinstallable.
Winetricks is packaged as well, and is a binary copy across all releases. It's pulled in by default when you install wine ("Recommends").
