How To Install Wine On Ubuntu 12.04

Here is a guide to install Wine on Ubuntu 12.04 using the WineHQ PPA. Wine lets you run Windows software on other operating systems. With Wine, you can install and run these applications just like you would in Windows.

Wine is still under active development. Not every program works yet, however there are already several million people using Wine to run their software.

To add the PPA and install Wine open a terminal window (press Ctrl+Alt+T) and copy+paste the following lines:

7 Responses to How To Install Wine On Ubuntu 12.04

It must work good. I notice some deb packages use Wine too. On that dotdeb.com site, I noticed a package the other day called ‘Toad strikes back” it ended with “.exe.deb” I tore it apart and sure enough, the only dependency it had was wine. It works good too.

It looks like your paste option is working okay or did you type the command lines?

Normally.. if the paste function is not available then something went wrong with the copy part. Maybe you can try pasting the code in the terminal window using the keyboard combination Ctrl+Shift+V but be sure that you copied the code… no copied code means nothing to paste so the paste option will be greyed out.

Read the comment that starts with: “APT is a package management system for Debian and other Linux distributions based on it, such as Ubuntu. For the most part,APT is easy to use for installing, removing, and updating packages. In rare instances, often when you are mixing in third-party dependencies, there is a chance that apt-get may end up giving you an error telling you that a package installation could not be completed.”. Like i said it’s a pretty long story to read but it should fix the problem.

bruno@ubuntu:~$ sudo add-apt-repository ppa:ubuntu-wine/ppa
[sudo] password for bruno:
You are about to add the following PPA to your system:
Welcome to the Wine Team PPA. Here you can get the latest available Wine betas for every supported version of Ubuntu. This PPA is managed by Scott Ritchie and Maarten Lankhorst.
More info: https://launchpad.net/~ubuntu-wine/+archive/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

The following packages have unmet dependencies:
wine1.4 : Depends: wine1.4-i386 (= 1.4.1-0ubuntu1) but it is not installable
Recommends: gnome-exe-thumbnailer but it is not going to be installed or
kde-runtime but it is not going to be installed
Recommends: ttf-droid
Recommends: ttf-mscorefonts-installer but it is not going to be installed
Recommends: ttf-umefont but it is not going to be installed
Recommends: ttf-unfonts-core but it is not going to be installed
Recommends: winbind but it is not going to be installed
Recommends: winetricks but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
bruno@ubuntu:~$

The error report means that some packages from an earlier update broke your system. It can be a bit of a problem solving them. You first need to figure out which packages are broken and you can use the synaptic package manager for that. If i remember correct you can install the synaptic package manager from the Ubuntu Software Center.

How to fix broken packages

IconsPage/warning.png ‘Broken packages’ are packages that have unsatisfied dependencies. If broken packages are detected, Synaptic will not allow any further changes to the system until all broken packages have been fixed.