Installing wine on 12.04

9,510

Adding the PPA will let you install the latest wine updated before it is released in the official repository.

According to the official website wine1.5 is still in beta. So I wouldn't suggest installing it if you need something stable, so I would install wine1.4 instead. Unless you are certain the Windows application you need to run, only works on wine1.5.

So in short I would recommend the following:

sudo add-apt-repository ppa:ubuntu-wine/ppa #This is optional since 1.4 is already available in the official repositories
sudo apt-get update
sudo apt-get install wine1.4

But in case you are willing to install a beta package, and accept a few crashes every now and then (not saying that crashes WILL happen, but they are possible), then installing wine1.5 and reporting bugs and crashes is the way to go:

sudo add-apt-repository ppa:ubuntu-wine/ppa #This is required since 1.5 is not available in the official repositories
sudo apt-get update
sudo apt-get install wine1.4
Share:
9,510

Related videos on Youtube

user83467
Author by

user83467

Updated on September 18, 2022

Comments

  • user83467
    user83467 over 1 year

    Well, I wonder if I am doing the right thing. I need to install Wine on 12.04 as its not install by default, and I had use the command:

    sudo add-apt-repository ppa:ubuntu-wine/ppa
    

    And

    sudo apt-get update && sudo apt-get install wine1.5 
    

    Was it right?

    • Peachy
      Peachy almost 12 years
      Yes, that's correct. You might want to add sudo apt-get install winetricks if you are trying to install wine 1.5.6.
  • user83467
    user83467 almost 12 years
    i had try and i am having and error saying E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? ash@ash-System-Product-Name:~$ sudo apt-get install wine1.4 E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? ash@ash-System-Product-Name:~$
  • Dan
    Dan almost 12 years
    @user83467 Do you have any of the following running: Update Manager, Ubuntu Software Center or apt-get in another terminal?
  • Gregory Opera
    Gregory Opera about 9 years
    See this page if you want 1.7: ubuntuhandbook.org/index.php/2015/01/… That's the development release (i.e. it's a work-in-progress that may have bugs), if you want to use the latest stable version (i.e. mainstream version, that should be mostly bug-free), see: ubuntuhandbook.org/index.php/2014/01/…
  • Kailas
    Kailas about 9 years
    Which version you want to install is based on this line sudo apt-get install wine1.7