KML_FLASHEMBED_PROCESS_SCRIPT_CALLS

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.

Share Button
Views:12807
Loading Facebook Comments ...

7 Responses to How To Install Wine On Ubuntu 12.04

  • avatar
    Zachariah Callaway says:

    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.

  • avatar
    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

    • avatar
      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.

  • avatar
    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

    • avatar
      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.

  • avatar
    Bruno says:

    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

    gpg: keyring `/tmp/tmppgjjbh/secring.gpg’ created
    gpg: keyring `/tmp/tmppgjjbh/pubring.gpg’ created
    gpg: requesting key F9CB8DB0 from hkp server keyserver.ubuntu.com
    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)
    OK
    bruno@ubuntu:~$ sudo apt-get update
    Ign http://ppa.launchpad.net quantal InRelease
    Ign http://security.ubuntu.com quantal-security InRelease
    Ign http://archive.ubuntu.com quantal InRelease
    Hit http://ppa.launchpad.net quantal Release.gpg
    Ign http://archive.ubuntu.com quantal-updates InRelease
    Get:1 http://security.ubuntu.com quantal-security Release.gpg [933 B]
    Hit http://ppa.launchpad.net quantal Release
    Hit http://archive.ubuntu.com quantal Release.gpg
    Get:2 http://security.ubuntu.com quantal-security Release [49.6 kB]
    Get:3 http://archive.ubuntu.com quantal-updates Release.gpg [933 B]
    Hit http://archive.ubuntu.com quantal Release
    Hit http://ppa.launchpad.net quantal/main Sources
    Get:4 http://archive.ubuntu.com quantal-updates Release [49.6 kB]
    Hit http://ppa.launchpad.net quantal/main amd64 Packages
    Get:5 http://security.ubuntu.com quantal-security/main amd64 Packages [4,454 B]
    Get:6 http://security.ubuntu.com quantal-security/restricted amd64 Packages [14 B]
    Hit http://archive.ubuntu.com quantal/main amd64 Packages
    Get:7 http://security.ubuntu.com quantal-security/universe amd64 Packages [1,799 B]
    Hit http://archive.ubuntu.com quantal/restricted amd64 Packages
    Get:8 http://security.ubuntu.com quantal-security/multiverse amd64 Packages [14 B]
    Hit http://archive.ubuntu.com quantal/universe amd64 Packages
    Hit http://archive.ubuntu.com quantal/multiverse amd64 Packages
    Hit http://security.ubuntu.com quantal-security/main Translation-en
    Hit http://archive.ubuntu.com quantal/main Translation-en_GB
    Hit http://archive.ubuntu.com quantal/main Translation-en
    Hit http://security.ubuntu.com quantal-security/multiverse Translation-en
    Hit http://archive.ubuntu.com quantal/multiverse Translation-en_GB
    Ign http://ppa.launchpad.net quantal/main Translation-en_GB
    Ign http://ppa.launchpad.net quantal/main Translation-en
    Hit http://archive.ubuntu.com quantal/multiverse Translation-en
    Hit http://security.ubuntu.com quantal-security/restricted Translation-en
    Hit http://archive.ubuntu.com quantal/restricted Translation-en_GB
    Hit http://archive.ubuntu.com quantal/restricted Translation-en
    Hit http://security.ubuntu.com quantal-security/universe Translation-en
    Hit http://archive.ubuntu.com quantal/universe Translation-en_GB
    Hit http://archive.ubuntu.com quantal/universe Translation-en
    Get:9 http://archive.ubuntu.com quantal-updates/main amd64 Packages [13.0 kB]
    Get:10 http://archive.ubuntu.com quantal-updates/restricted amd64 Packages [14 B]
    Get:11 http://archive.ubuntu.com quantal-updates/universe amd64 Packages [4,087 B]
    Get:12 http://archive.ubuntu.com quantal-updates/multiverse amd64 Packages [14 B]
    Hit http://archive.ubuntu.com quantal-updates/main Translation-en
    Hit http://archive.ubuntu.com quantal-updates/multiverse Translation-en
    Hit http://archive.ubuntu.com quantal-updates/restricted Translation-en
    Ign http://security.ubuntu.com quantal-security/main Translation-en_GB
    Hit http://archive.ubuntu.com quantal-updates/universe Translation-en
    Ign http://security.ubuntu.com quantal-security/multiverse Translation-en_GB
    Ign http://security.ubuntu.com quantal-security/restricted Translation-en_GB
    Ign http://security.ubuntu.com quantal-security/universe Translation-en_GB
    Ign http://archive.ubuntu.com quantal-updates/main Translation-en_GB
    Ign http://archive.ubuntu.com quantal-updates/multiverse Translation-en_GB
    Ign http://archive.ubuntu.com quantal-updates/restricted Translation-en_GB
    Ign http://archive.ubuntu.com quantal-updates/universe Translation-en_GB
    Fetched 124 kB in 1s (89.8 kB/s)
    Reading package lists… Done
    bruno@ubuntu:~$ 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.
    bruno@ubuntu:~$

    I cannot instal wine see above

    • avatar
      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 (https://help.ubuntu.com/community/SynapticHowto). for more info on how to fix them.

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

Follow Me On:




Interesting Sites
Ask Ubuntu Ubuntu
Ubuntudicas WepUpd8
OMG! Ubuntu! The Fan Club Ubuntu Software
NoobsLab Ubuntu Geek
Linux game database Linux Games
Ads by Google
Who's Online
14 visitors online now
14 guests, 0 members