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:

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.4

When Wine is installed you can close the terminal window.

Loading Facebook Comments ...

7 Responses to How To Install Wine On Ubuntu 12.04

  • Zachariah Callaway says:

    It must work good. I notice some deb packages use Wine too. On that 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.

  • ASH says:

    I could not past the three lines. The ‘paste’ function is greyed out. Why?
    sudo add-apt-repository ppa:ubuntu-wine/ppa
    sudo apt-get update
    sudo apt-get install wine1.3

    • tinuz says:

      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.

  • Remi says:

    Hi, i’ve copied the code, but the last instruction (sudo get-apt install wine1.4) give me that it cannot be installed because it have unmet dependecies:

    In clear, Wine1.4 need Wine1.4-i386 (=1.4.1-0ubuntu1) but it is not installable

    • tinuz says:

      Hello Remi, the answer to your question is pretty long and one way to solve it can be found on askubuntu…

      Click here to read the article.

      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 says:

    [email protected]:~$ 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:
    Press [ENTER] to continue or ctrl-c to cancel adding it

    gpg: keyring `/tmp/tmppgjjbh/secring.gpg’ created
    gpg: keyring `/tmp/tmppgjjbh/pubring.gpg’ created
    gpg: requesting key F9CB8DB0 from hkp server
    gpg: /tmp/tmppgjjbh/trustdb.gpg: trustdb created
    gpg: key F9CB8DB0: public key “Launchpad PPA for Ubuntu Wine Team” imported
    gpg: no ultimately trusted keys found
    gpg: Total number processed: 1
    gpg: imported: 1 (RSA: 1)
    [email protected]:~$ sudo apt-get update
    Ign quantal InRelease
    Ign quantal-security InRelease
    Ign quantal InRelease
    Hit quantal Release.gpg
    Ign quantal-updates InRelease
    Get:1 quantal-security Release.gpg [933 B]
    Hit quantal Release
    Hit quantal Release.gpg
    Get:2 quantal-security Release [49.6 kB]
    Get:3 quantal-updates Release.gpg [933 B]
    Hit quantal Release
    Hit quantal/main Sources
    Get:4 quantal-updates Release [49.6 kB]
    Hit quantal/main amd64 Packages
    Get:5 quantal-security/main amd64 Packages [4,454 B]
    Get:6 quantal-security/restricted amd64 Packages [14 B]
    Hit quantal/main amd64 Packages
    Get:7 quantal-security/universe amd64 Packages [1,799 B]
    Hit quantal/restricted amd64 Packages
    Get:8 quantal-security/multiverse amd64 Packages [14 B]
    Hit quantal/universe amd64 Packages
    Hit quantal/multiverse amd64 Packages
    Hit quantal-security/main Translation-en
    Hit quantal/main Translation-en_GB
    Hit quantal/main Translation-en
    Hit quantal-security/multiverse Translation-en
    Hit quantal/multiverse Translation-en_GB
    Ign quantal/main Translation-en_GB
    Ign quantal/main Translation-en
    Hit quantal/multiverse Translation-en
    Hit quantal-security/restricted Translation-en
    Hit quantal/restricted Translation-en_GB
    Hit quantal/restricted Translation-en
    Hit quantal-security/universe Translation-en
    Hit quantal/universe Translation-en_GB
    Hit quantal/universe Translation-en
    Get:9 quantal-updates/main amd64 Packages [13.0 kB]
    Get:10 quantal-updates/restricted amd64 Packages [14 B]
    Get:11 quantal-updates/universe amd64 Packages [4,087 B]
    Get:12 quantal-updates/multiverse amd64 Packages [14 B]
    Hit quantal-updates/main Translation-en
    Hit quantal-updates/multiverse Translation-en
    Hit quantal-updates/restricted Translation-en
    Ign quantal-security/main Translation-en_GB
    Hit quantal-updates/universe Translation-en
    Ign quantal-security/multiverse Translation-en_GB
    Ign quantal-security/restricted Translation-en_GB
    Ign quantal-security/universe Translation-en_GB
    Ign quantal-updates/main Translation-en_GB
    Ign quantal-updates/multiverse Translation-en_GB
    Ign quantal-updates/restricted Translation-en_GB
    Ign quantal-updates/universe Translation-en_GB
    Fetched 124 kB in 1s (89.8 kB/s)
    Reading package lists… Done
    [email protected]:~$ sudo apt-get install wine1.4
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    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.
    [email protected]:~$

    I cannot instal wine see above

    • tinuz says:

      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.

      To fix broken packages

      Choose Edit > Fix Broken Packages from the menu.

      Choose Apply Marked Changes from the Edit menu or press Ctrl + P.

      Confirm the summary of changes and click Apply.

      If that does not help, then please follow this procedure:

      Read How to fix broken packages ( for more info on how to fix them.

      Good luck and let me know if it worked for you.

Leave a Reply

Your email address will not be published. Required fields are marked *

8 − 5 =

Who's Online
5 visitors online now
5 guests, 0 members