ubuntu

Ubuntu / Kubuntu / Xubuntu / Lubuntu

  • See Ubuntu Wikipedia entry

  • The Version Numbering is based on the Release Year and Month: "Ubuntu YY.MM"
  • The Difference between Ubuntu, Kubuntu, Xubuntu and Lubuntu 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.7
apt-get --build source wine1.7
sudo dpkg -i wine*.deb

Alternatively, if you need to apply a patch, you can do something like:

sudo apt-get build-dep wine1.7
apt-get source wine1.7
cd wine1.7-*
patch -p1 < foo.patch
dpkg-buildpackage -rfakeroot
cd ..
sudo dpkg -i wine1.7*.deb

Note: In Ubuntu Saucy amd64 you will likely need to run the following to pull the full dependency list if you are receiving dependency errors (1):

sudo dpkg --add-architecture i386

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:

  1. Install a fresh copy of Ubuntu into a new machine (or virtual machine) that has internet access
  2. Open a terminal, and type:

    sudo add-apt-repository ppa:ubuntu-wine/ppa
    sudo apt-get update
    sudo apt-get --download-only install wine1.7
    sudo apt-get --download-only dist-upgrade
    
  3. There will be a large collection of .deb files in /var/cache/apt/archives -- copy all of them to a USB stick
  4. 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.

Winetricks

Winetricks is packaged as well, and is a binary copy across all releases. It's pulled in by default when you install wine ("Recommends").


CategoryDistributions

Ubuntu (last edited 2014-02-06 22:11:57 by KenSharp)