How to Install Wine on Debian, Ubuntu and Linux Mint

Wine is an open-source, free, and user-friendly program that allows Linux users to run Windows-based applications and games on Unix-like operating systems. Wine serves as a compatibility layer for installing almost all versions of Windows programs.

Recently, the Wine team happily announced the new version 9.0 is ready for download. You can get it as source or binary packages for different systems like Linux, Windows, and Mac.

This release shows a year of effort with over 7,000 changes, which brings lots of improvements, especially the new WoW64 architecture and the experimental Wayland driver.

This article explains simple steps to install the newest stable version of Wine 9.0 on Debian-based distributions such as Ubuntu and Linux Mint. Additionally, we’ll cover how to set up Wine, install Windows software, and uninstall it.

Installing Wine on Debian, Ubuntu, and Linux Mint

If you are looking to have the most recent version of the Wine 9.0 stable series, you have to use a new Wine repository PPA which offers both development versions and stable versions of Wine for Debian, Ubuntu, and Linux Mint.

Install Wine on Ubuntu and Linux Mint

To install Wine on Ubuntu and Linux Mint, open the terminal by hitting 'CTRL + ALT + T‘ from the desktop and run the following commands to install it.

If your system is 64-bit, enable 32-bit architecture (if you haven’t already):

sudo dpkg --add-architecture i386 

Next, download and add the repository key:

sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key

Select your Ubuntu version and add the WineHQ sources file to your system.

For this version: Use this command:
Ubuntu 23.10 sudo wget -NP /etc/apt/sources.list.d/
Ubuntu 23.04 sudo wget -NP /etc/apt/sources.list.d/
Ubuntu 22.04/Linux Mint 21.x sudo wget -nc -P /etc/apt/sources.list.d/
Ubuntu 21.10 sudo wget -nc -P /etc/apt/sources.list.d/
Ubuntu 20.04/Linux Mint 20.x sudo wget -nc -P /etc/apt/sources.list.d/

Update packages and then install one of the following packages:

For this version: Use this command:
Stable branch sudo apt install --install-recommends winehq-stable
Development branch sudo apt install --install-recommends winehq-devel
Staging branch sudo apt install --install-recommends winehq-staging

Install Wine on Debian

If your system is 64-bit, enable 32-bit architecture (if you haven’t already):

sudo dpkg --add-architecture i386 

Next, download and add the repository key:

sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key

Select your Debian version and add the WineHQ sources file to your system:

For this version: Use this command:
Debian 13 (Trixie) sudo wget -NP /etc/apt/sources.list.d/
Debian 12 (Bookworm) sudo wget -NP /etc/apt/sources.list.d/
Debian 11 (Bullseye) sudo wget -nc -P /etc/apt/sources.list.d/
Debian 10 (Buster) sudo wget -nc -P /etc/apt/sources.list.d/

Now update the package repository database and install Wine as shown.

For this version: Use this command:
Stable branch sudo apt install --install-recommends winehq-stable
Development branch sudo apt install --install-recommends winehq-devel
Staging branch sudo apt install --install-recommends winehq-staging

Installing Wine Using Source Code on Debian, Ubuntu & Mint

Another way to get the most recent stable version of Wine (i.e. 9.0 as of now), is to build Wine from source tarball using the following commands.

tar -xvf wine-9.0.tar.xz
cd wine-9.0/
sudo ./configure 
sudo ./configure --enable-win64   [For 64-bit platform]
sudo make && sudo make install

How to Use Wine to Run Windows Apps & Games

To demonstrate how we can run Windows program using wine, we have downloaded Rufus .exe file from the official Rufus download page.

To run the Windows Rufus executable file, run the command:

wine rufus-4.4.exe
Run Windows Program in Ubuntu
Run Windows Program in Ubuntu

Once you run the program, Wine will start creating a configuration file in the user’s home directory, in this case, ~/.wine as shown.

Wine Configuration
Wine Configuration

During Wine configuration, it will as you to install the wine-mono-package which is required by .NET applications, click the ‘Install’ button.

Wine Mono Installer
Wine Mono Installer

The download will soon start.

Downloading Wine Mono Installer
Downloading Wine Mono Installer

Additionally, it will also ask you to install the Gecko package which is required by applications embedding HTML.

Wine Gecko Installer
Wine Gecko Installer

Choose whether you want to check for application updates from time to time.

Rufus Update Policy
Rufus Update Policy

Finally, the Rufus will be displayed as shown.

Rufus Programe Running on Ubuntu
Rufus Program Running on Ubuntu

We have successfully installed Wine on Debian, Ubuntu, and Linux Mint and shown you a preview of how you can run Windows applications in a Linux environment.

Uninstalling Wine in Debian, Ubuntu, and Linux Mint

If you are not happy with the wine program, you can remove it completely by using the following command.

sudo apt purge winehq-stable

You can also download the Wine source package for other Linux distributions from the wine download page.

Ravi Saive
I am an experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

157 thoughts on “How to Install Wine on Debian, Ubuntu and Linux Mint”

  1. The included commands like "sudo apt install --install-recommends winehq-stable" seem to be not quite correct, as ‘winehq‘ does not exist. I used ‘wine-stable‘ as the target. Ubuntu 22.04.1

  2. I’m a noob to Linux but am researching different distros for migration. I am running a 1-8400 chip at 2.81 GHz w/ 12 Gig of Ram. The four current Linux distros I have in a VM are Mint 20.1, RoboLinux 12.11, Manjaro 21.1.5, and MX Linux 19.4.1.

    MX seems to be the best fit, but I can’t seem to expand the workspace beyond its initial 6×8. This is not an issue with any of the other distros I’ve run. I’ve searched some of the forums, gone through the manual, and passed the conky lists but I’m still at a 6×8 on a 23″ monitor. What am I missing?

  3. Would Wine 6.0 run a DOS program on a Raspberry Pi 4B, 64 bit, running Ubuntu-MATE 20.04?

    Would I just need to download the Ubuntu version for that, or does the Ubuntu download work for all the flavors?

  4. I’m a new user of Linux and your screen-shop explaining installation instructions are very useful. Thank you.

  5. Since I’m a Windows user, these things become confusing sometimes. But thank you for the explanation, currently trying this article way to do it.

  6. I’m still a little confused when installing wine from version 3.0 to version 4.0, I’m a little overwhelmed and often fails, is there a solution

  7. Hey, I used the commands given in this article to install Wine and this worked for me in Linux Mint 19.1, but it later also gave an annoying problem with the faulty release key, according to updates.

  8. Hi,

    I use Debian 9.7 and try install wine4.0 but I get some errors, like:

    Err: 4 jessie InRelease
      The following signatures could not be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
    Err: 6 stretch InRelease
      The following signatures could not be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
    Err: 7 buster InRelease

    The following signatures could not be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F

    If I use:

    $ wget -nc
    $ sudo apt-key add winehq.key

    I get:

    apt-key add winehq.key
    key 76F1A20FF987672F:
    1 signature not checked due to a missing key

    I try:

    apt-key adv --keyserver hkp:// --recv-key 76F1A20FF987672F


    key 76F1A20FF987672F:
    1 signature not checked due to a missing key
    gpg: key 76F1A20FF987672F: public key “WineHQ packages ” imported
    gpg: Total number processed: 1
    gpg: imported: 1

    But the command not finish…

    Please, any help…



  9. I totally agree with: Enrique Carlos Toomey message @ January 5, 2019 at 7:34 pm

    I used the commands given in this article to install Wine and this worked for me in Linux Mint 19.1, but it later also gave an annoying problem with the faulty release key, according to updates. The key is changed per 2018-12-19 as on the following page with the original info; > Please update this article!

  10. I needed to add the following key for apt to be able to find winehq:

    $ wget -nc
    $ sudo apt-key add winehq.key
  11. I tried to install Wine on Debian 9.6 and it bombed here when I tried to add the release key:

    gpg: WARNING: nothing exported
    gpg: no valid OpenPGP data found.
    gpg: Total number processed: 0

  12. This worked on my Mint 18.2 but on my laptop (18.0) Wine 3 was installed but there was no Wine or Wine Config in the menus – somewhat annoying for a linux Newbie!

  13. Followed your terminal ‘Installation of Wine 3.0″ on Lubuntu18.04 All good.

    Wine auto suggested downloads, Wine Mono and Wine Gecko. All Successful.

    Cheers. Wine running.

  14. In order to get extra functionality, more packages should be installed. The ‘configure‘ order retrieve the information needed. For Debian (testing), some of them (those that were missing in my system) can be installed with:

    sudo aptitude install libxcursor-dev libxi-dev libxrandr-dev libxinerama-dev libxcomposite-dev libosmesa-dev libpcap0.8-dev libdbus-1-dev libncurses-dev libsane-dev libv4l-dev libgphoto2-dev liblcms2-dev libpulse-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev libudev-dev libcapi20-dev libfontconfig1-dev libgsm1-dev libkrb5-dev libtiff-dev libmpg123-dev libopenal-dev libldap-dev libgettextpo-dev gettext libxrender-dev libxml2-dev libxslt1-dev libgnutls28-dev libjpeg-dev libjpeg62-turbo-dev

    I hope that this help someone.

  15. I did the install to change to 3.0 as listed above without any problems or error message. But when I run wine –version it says “wine-2.04”. I was at “wine-2.8” before I started.

    • @Ralph,

      Sorry to hear that, but on which Linux distribution have you tried? Have you added correct PPA wine repository to your distribution?

  16. Hi, Very good guide very well explained.

    I have a problem though. I cannot find wine in the software menu.

    I have mint 18.3 Sylvia freshly installed.

    How do i connect it to the menu? For using it without command line?

    Last thing wouldn’t I need also gecko?


    • @Angelo,

      To add “wine” to software menu, first go to System → Preferences → Main Menu and make you sure there is item Wine is checked to show in the Menu item.

      The official wine instructions haven’t mentioned about Gecko package, so I don’t thing it required now..

  17. I attempted to install Wine using your instructions at: on a fresh install of Linux Mint Mate 18.2, but:

    jb@Acer-jb ~ $ dpkg –add-architecture i386
    dpkg: error: unable to create new file ‘/var/lib/dpkg/arch-new’: Permission denied

    I wonder if I should have tried earlier in the installation when I was a “superuser” but didn’t have Internet.

    The latest stable version seems to be 2.0.2, though the development versions are at least up to 2.13.

    I suppose that if Mint is designed to be friendly to Windows users, a particular interpretation of that would *not* make it easy to install Wine, because Windows doesn’t have Wine !

    • @Berry,

      You must use sudo to run the following command to enable 32-bit architecture for 64-bit.

      $ sudo dpkg --add-architecture i386 
  18. I just tried installing Wine’s current version and after entering all of the code precisely how it was typed here, it said “Unable to locate package winehq-stable”.

    • @Ron,

      Have you executed these following commands correctly?

      $ sudo dpkg --add-architecture i386  [if you’re running a 64-bit version]
      $ sudo apt-add-repository ''
      $ wget && sudo apt-key add Release.key
      $ sudo apt update && sudo apt install winehq-stable
  19. I did the following in Terminal:

    $ wine SophieSew_SetUp_1_13B42.exe

    and it opened. I want to open Wilcom but it is a .zip file. How do I unzip it?

    Clicking left or right button does nothing.

    I Tried ~$ wine WilcomEmbroideryStudio – ServicePack e3.0Z (Update 6) 19 Sep 2016 (345-7594).zip

  20. Hi, I am new to Ubuntu and the terminal is greek to me. I installed Wine 2.0. Every thing installed and also winetricks.

    I then entered “wine notepad.exe” and a blank Notepad page open.

    Pressing Ctrl + H the .wine file is there.

    Now I still can not load window programs.

    What am I doing wrong?

    Thank You

  21. When installing Wine on Ubuntu 16.04 a message pops up with “configure ttf-mscorefonts-installer” but even after scrolling down, I can’t do anything. I’ve tried clicking the OK button, but it doesn’t work. Any other button doesn’t work as well. What should I do?


  22. ”sudo apt remove wine* && sudo apt autoremove’ destroyed mint. I got a warning in the terminal but these instructions are obviously not for mint. I mean even ‘sudo apt-get update’ is not recommended for mint.

    If you are going to advertise that these instructions are for mint you dam well better make sure the instructions don’t destroy the system.

    • @Lucifer,

      I tried numerous times installing wine on my Linux Mint 17 box an these instructions were checked in Ubuntu and Linux Mint distributions, before publishing online these installation instructions..

  23. Great information on WINE installation – well laid out and succinct
    However, the floating SHARE social media images are EXTREMELY annoying!!

  24. Thanx Bro …. It’s working nicely .. Before reading this article I faced many problems while installing it. Really helped a lot. Thanks a lot

  25. I installed Wine using terminal in linux mint 17.1. But when i try too run the wine app it keeps saying “Wineserver not found”. What is the problem if any one have the solution for this problem it will be nice of you to help….

    • Having had the same problems after first trying to install the Wine (Version: 1:1.8.0-0ubuntu1) offered by the distribution I am (LinuxMint 17.3) using, I then did my level best to completely remove all vestiges of that installation.

      Then, recently, I happened upon an announcement that a new version of Wine had been released, Wine 1.8.5, and became hopeful that it might work well due to some of its listed improvements. I downloaded it and installed it whereby I each time agreed to let the installation programs download and install whatever they reported as being necessary to that Wine version’s proper functioning but not yet installed.

      Wish me luck. So far all seems to be functioning well (i.e. winecfg etc. Wine functions appear all to be performing normally). I have, however, yet to install any programs under Wine other than wordpad.exe and iexplorer.exe, both of which function quite normally, I am pleased to say. P.S. I recommend which I found to be also very helpful.

      • I also found very helpful

        P.S. I am still trying to understand how to properly use symbolic links. winecfg already appears to function properly, nevertheless, when I run it in a terminal then the error message appears.

        p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/ /usr/lib/i386-linux-gnu/pkcs11/ Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
        • @Robert,

          I have updated the installation instructions for Wine 1.8.5 recent release, hope it will fix all your Wine problems..

  26. Wine not install using above commands. Only show winetricks, but when use $ sudo winetricks, it says “wineserver not found!”

  27. Thanks a million, Ravi.
    Just installed IE8 by following your superb instructions – first ever Wine install, first ever time therefore with IE in LInux. Desperately needed for CSS tweaks to a project, though have to admit that Winetricks interface to IE won’t fool too many people. Great tute, keep up the great work!!!!

  28. Hello,
    I have followed the installation process of Wine as follows :
    $ sudo add-apt-repository ppa:ubuntu-wine/ppa
    $ sudo apt-get update
    $ sudo apt-get install wine1.6
    $ sudo apt-get install winetricks

    I got stuck after the following step : sudo apt-get install wine1.6

    The install process went ok ; then I have a wysiwyg screen “Package configuration”

    Configuring ttf-mscorefonts-installer
    The “terminal screen” is blocked.

    If I enter the next command in another terminal, I got an error message :

    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?

    I cannot go further.
    Could anyone help on this matter ?


  29. This should be called Frankenware. I’m running Mint 16 and can’t install wine. I cut and paste the commands into the terminal and it keeps asking me for my damned password. I put my password in hit enter (enter, right or is it shift / tab for linux) and it asks again and again and again. I KNOW MY PASSWORD !

    Why don’t you just have an AUTOMATIC installer ? Q. Would you like to install this program ? Click on yes. ooooooooh, that would be too easy, right ?

    Why do I need Wine ? Because I’ve been using Windozzz for years and years and I’m old now, don’t have much money and don’t want to do the “LEARN MORE” thing. Besides, I have a lot of Windows things that I have on storage devices that I still need…. oops, sorry I meant DEV. Shoot me.

    Okay, Linux is different. It’s okay to be different (sort of like people) unless you’re a danger because you’re mentally ill. That’s why there are jails and mental institutions. This Frankenware IS like something deranged. I guess the Linux people are mostly younger and feel like some elite group. Why doesn’t the linux crowd lighten up. It’s okay to be a bit more like Windows. Linux needs a LOT of work and we can’t help you because we’re just trying to pay the bills and take care of everyday problems. Me and mine,

    Pat :-(

    • Hey Pat,

      Good luck with your issues mate. I think if you need urgent help, you should post the issues on places where thousands of experts give advice quickly, check out these two places. As always, before you post, do a search first.

      Also search for IRC support channels for your linux (what is it btw).

      Feel free to reply to me if I can help further.


  30. Hi
    Im having trouble with the first section of this article, as when I try to install wine 1.6.2. i get stopped by the error”Package wine has no installation candidate”
    I dont know what to do and i would like to get wine up as soon as possible.

  31. I try the “sudo add-apt-repository ppa:ubuntu-wine/ppa” command but i get the reponse that add-apt-repository is not a command plz help.

    • It seems you’ve installed Ubuntu minimal installation and seems that add-apt-repository not installed. You need to install python softwares to get it.

      $ sudo apt-get install python-software-properties
  32. Any possible way on lan which connecting to other computer when having network connection on it…

    i.e sharing internet from my desktop which have reliance data card

    • Yes that will do! you can share internet from other computer, but make sure your system is connected to internet before it downloads all required packages for Wine.

  33. I Dnt hav network connection.

    then how can i do these steps.

    tell the steps clearly how to install wine in offline..

    Thanks in advance..

    • No you can’t install Wine in offline mode, your system must have a active connection to fetch all the required packages before installing Wine on the system. So, basically no such a way…….

  34. when i was installing wine 7
    i got this massage on terminal screen
    i.e. 386 1:1.7.16-0ubuntu1~saucy1 [26.3 MB]
    Get:4 trusty/main wine1.7 amd64 1:1.7.16-0ubuntu1~saucy1 [2,478 kB]
    Get:5 trusty/main wine-gecko2.24 amd64 2.24-0ubuntu1~ppa1 [23.5 MB]
    Err trusty/main wine-gecko2.24 amd64 2.24-0ubuntu1~ppa1
    Connection failed
    Get:6 trusty/main wine-gecko2.24 i386 2.24-0ubuntu1~ppa1 [22.3 MB]
    Get:7 trusty/main wine-gecko2.24 i386 2.24-0ubuntu1~ppa1 [22.3 MB]
    Get:8 trusty/main wine-mono4.5.2 all 4.5.2-0ubuntu1~ppa1 [52.0 MB]
    Fetched 130 MB in 2h 51min 24s (12.6 kB/s)
    E: Failed to fetch Connection failed

    E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?

    how to solve it
    so i can install internet explorer,office

    • I think it’s your network issue, the packages not able to fetch due to connection failure. Check your internet connection.

  35. Always it shows me like this…………

    E: Could not open lock file /var/lib/dpkg/lock – open (2: No such file or directory)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

  36. I have Wine 1.4 in use on Linux Mint-13, can I install a newer version of Wine along side that, or do I have to first remove the old version?

    • Yes, you can install newer version in different directory, but this could be possible only if you compile it from source.

  37. Hello Mr.Ravi Thanks for your support. I installed wine1.6 by using below 3 commands without any errors.

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

    Then I tried to install winetricks by using this command $ sudo apt-get install winetricks .

    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?

    But it gives me error like this. So what should I do. Hope I’ll get response from you as soon as possible. Thanks

  38. Thanks Ravi, this allowed me to install wine 1.7 on ubuntu 13, and then install python (winecfg -> use a windows newer than Vista and use 32-bit python .msi file)

  39. Tried to use your suggestion for installing Wine on Linux Mint 15. Here is the response on the terminal.

    The following packages have unmet dependencies:
    wine1.6 : Depends: wine1.6-i386 (= 1:1.6.1-0ubuntu1~ppa1~precise1)
    Recommends: ttf-mscorefonts-installer but it is not installable
    Recommends: fonts-horai-umefont but it is not installable
    Recommends: fonts-unfonts-core but it is not installable
    E: Unable to correct problems, you have held broken packages.

    This way above my understanding. Is there a fix? Thanks for your time.

  40. when i type in terminal
    $ sudo winetricks

    then wine says

    wine: /home/vidhya/.wine is not owned by you

    can u solve this, i’m unable to start any windows program !

    kindly help me

  41. Hi, thanks for the instructions but I’m having an issue finalizing the installation. After running “wine notepad.exe” for v1.6 I get the following:

    Warning: memory above 0x8000000 doesn’t seem to be accessible.
    Wine requires a 3G/1G user/kernel memory split to work properly.

    I’ve seen this error come up on discussion boards years ago but nothing recent. This is my first time using ChrUbuntu and I would consider myself a newbie when it comes to things like this.

  42. # sudo add-apt-repository ppa:ubuntu-wine/ppa
    when I type above cmd
    it’ll be show sudo: add-apt-repository: command not found

    what I do??

  43. i have ubuntu13.04 and at downloading is this —– : sha1sum mismatch! Rename /tmp/guest-aIkuB1/.cache/winetricks/flash/install_flash_player_ax.exe and try again.what commands to give it for fixing?thank you.

  44. Hi

    I am new to Linux and am using Ubuntu. I went on the WINE website to get Wine but when i click on the link it tells me to choose what program to lunch the installation. I went to Ubuntu Software center and searched for wine, got many results, chose one and told it to install. I left the room and when i came back either the download had finished or failed i don’t know. i tried looking in installed applications but could not find it. i then went back to ubuntu software center and tried to search for wine but it did not pop up. What do i do?

  45. Doesn’t work ………

    sudo add-apt-repository ppa:ubuntu-wine/ppa
    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

    Exception in thread Thread-1:
    Traceback (most recent call last):
    File “/usr/lib/python2.7/”, line 551, in __bootstrap_inner
    File “/usr/lib/python2.7/dist-packages/softwareproperties/”, line 99, in run
    File “/usr/lib/python2.7/dist-packages/softwareproperties/”, line 132, in add_ppa_signing_key
    tmp_keyring_dir = tempfile.mkdtemp()
    File “/usr/lib/python2.7/”, line 322, in mkdtemp
    name =
    File “/usr/lib/python2.7/”, line 141, in next
    letters = [choose(c) for dummy in “123456”]
    File “/usr/lib/python2.7/”, line 274, in choice
    return seq[int(self.random() * len(seq))] # raises IndexError if seq is empty
    ValueError: cannot convert float NaN to integer

  46. hi!
    pleas help me.

    morteza@ubuntu:~$ sudo apt-get install aircrack-ng
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    The following extra packages will be installed:
    The following NEW packages will be installed:
    aircrack-ng iw
    0 upgraded, 2 newly installed, 0 to remove and 70 not upgraded.
    E: Could not get lock /var/cache/apt/archives/lock – open (11: Resource temporarily unavailable)
    E: Unable to lock the download directory

    • Delete these two lock file with the following commands:

      # sudo rm /var/lib/apt/lists/lock
      # sudo rm /var/cache/apt/archives/lock

      After that, try running command again..

  47. Hello there,
    i am in search of English dictionary that works on Ubuntu. when surfing the web, I came across an idea that says you can use Wine to open windows software. I have Cambridge Advanced Learner’s Dictionary installed on Widows. Can any body help me how to use wine to open this dictionary.

  48. Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Unable to locate package wine1.7
    E: Couldn’t find any package by regex ‘wine1.7’

    • Have you executed below command correctly?

      $ sudo add-apt-repository ppa:ubuntu-wine/ppa
      $ sudo apt-get update
      $ sudo apt-get install wine1.7
      • I found this thread useful, but in Ubuntu 11.10, i had to use a space between “wine” and “1.6” in your instructions “$ sudo apt-get install wine1.6”. Without the space, I received a repeated error similar to “E: Couldn’t find any package by regex ‘wine1.6′”

        And thank you for the post. I think in the 15 years I’ve thought about installing Wine, this is the closest I have been to doing it!

  49. Hi!
    Ubuntu as my home computer, I’m not online and off-line installation.
    After copying the files, how do I install?
    If i get the installation files from another computer

    • Simply issue below command to install them all at once.

      $ sudo dpkg -i *.deb

      Once these required packages installed, you can follow the article.

    • Dear Ady,

      No, it’s not possible to install offline, because Wine requires lots of other dependency modules that will install during online.

  50. When I run winetricks with sudo , I get the below error:

    wine cmd.exe /c echo ‘%ProgramFiles%’ returned empty string

    Why can’t it be run with sudo?

  51. Hi Ravi

    I installed 3 different versions of the internet explorer 6,7 and 8. But I don’t see seperate programs for these 3 browsers under my home directory

    When I run ‘ls’ from the below directory, I get the output as shown. There is only one exe file for IE. It corresponds to which version?

    ravbholua@ravbholua-Aspire-5315:~/.wine/drive_c/Program Files/Internet Explorer$ ls

    custsat.dll en-US hmmapi.dll iedw.exe ieproxy.dll iexplore.exe SIGNUP

  52. Ravi,

    Attempting to install wine 1.7.3 on Ubuntu 13.04 as user root. apt-get install shows that wine1.7, wine1.7-amd64, wine1.7-dbg, and wine1.7-dev but I still receive this error from apt-get install:

    15:14:45:–> apt-get install wine
    wine1.6 wine1.7 winefish wine-gecko2.21
    wine1.6-amd64 wine1.7-amd64 wine-gecko1.4 wine-gecko2.24

    15:14:45:–> apt-get install wine1.7
    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.7 : Depends: wine1.7-amd64 (= 1.7.4-0ubuntu4) but it is not going to be installed
    Depends: wine1.7-i386 (= 1.7.4-0ubuntu4)
    E: Unable to correct problems, you have held broken packages.

    Do you have any suggestions?
    (Nice article, by the way, simple and to the point)

    • Got the same error on LinuxMint15,
      to fix it I had to purge wine1.6
      sudo apt-get purge wineX.X
      (where x.x is the vertion you have already installed in my case it was wine1.6)
      once uninstalled, retry from the beginning.

  53. Hi Ravi

    I followed the way you told but when I am running, the site is opening but soon an error message is displayed: internet explorer has caused an error and will be closed. What may be the issue? I am using Ubuntu13.04. I am able to surf other sites like youtube,,,etc. But the issue comes when opening
    I think I should contact kotak bank.

    My wine version : wine-1.7.3

    Also when I am running :
    wine ‘/home/ravbholua/.wine/drive_c/Program Files/Internet Explorer/iexplore.exe’
    in the terminal many messages are getting displayed continously.

    Also when I run : sudo wine ‘C:\Program Files\Internet Explorer\iexplore’wine: it’s messaging : ‘/home/ravbholua/.wine is not owned by you’

    Can’t it be run with sudo!!!!

      • Hi Ravi
        I 1st installed ie8 and got error as mentioned above: ‘internet explorer has caused an error and will be closed’

        Then I deleted the folder and installed ie7. Now, when I run, I don’t get any error message but the page isn’t getting displayed properly / completely. In (bank site) home page I am not getting ‘login’ button, so can’t proceed ahead. Tried many times but to no avail. Also with ie7, when I open it messages that the page can’t be displayed properly.

        I called kotak bank customer care to ask whether ie8 is compatible and she says yes, it should work.

        Regarding your other question, with wine I have used only ie7 and ie8 browser. As such in Ubuntu13.04 I have been using flawlessly firefox which runs perfect.

        Also, when I install browser using winetricks and select “install a windows DLL or component”, I see by default a few other options are also selected. Once I deselected all these options and selected only ie7, then the folder ‘internet explorer’ failed to create. Then next time, I kept all these default options selected and proceeded and it installed.

  54. Also, one more thing I would like to point: if you don’t need wine as you don’t want to use it again, you can use the purge option rather than remove as purge would delete all the configuration files even also.

  55. Hi
    Seems to be a very good what you posted. I would try shortly. But one thing: you told in the end a command to delete internet explorer directory. Will it deleted the executable as well as other related files for the internet explorer? In other words, when a program is installed all the related files and folders would be installed under one directory, say for example: here under internet explorer directory.
    This I as as there is difference between installing in Linux as compared to Windows. In linux when you install , the related files are installed in different different folders and not only one. But I think in Windows all the related files and folders are installed under one directory and so to remove the application (in case you don’t need any more) simply you can delete the respective directory. I hope what I wrote here is right! Please confirm, Ravi.

    • Yes! that right in Linux files are installed under different location, if you aware of those directories you can remove manually any application in Linux. But in Wine case, all files are installed under User’s Home “.wine” directory. If you go inside this folder you will see a folder called “Program Files” similar to Windows style. You can manually remove the folder from hereon.

  56. On screens there is no use of sudo, but in textual examples sudo is included as a part of command which must be typed by user. In general tutorial is helpful but also a little bit inconsistent.

    • Hi
      Based on your comment, I tried to run the commands without sudo but my system (ubuntu13.04) didn’t proceed and required a root to run. When I ran the below:

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

      $ apt-get install wine1.7

      it denied running without root and so I need to run as root only.

      How you say to run without root!!!!

      • You should run command using sudo command or as a root. If you use sudo command you should also know the root password. If you don’t have root credentials then it’s not possible to install.

        • I have been using Wine for years and the ONLY time you need to use sudo is when installing Wine, never for installing any Windows based software.

  57. Why are you running all your wine stuffs with sudo??? That is not necessary and a security risk. Please do some research before you publish how tos.

    • Thanks for helping me out with installation of wine1.7 Mr. Ravi. I agree with you so far as installation of wine or winetricks goes, but to execute a windows program we don’t need to run the wine command with sudo and probably we should not. Here I agree with Mr/Miss anon. My windows game runs well without using sudo. in fact i have added the game to the panel as a button (right click the program in the application launcher Menu and select Add to panel) and i just click the button to start my game. I take care to unmount all my drives and mounted partitions to protect my system from any virus or spyware before i run my game(wine is trustable but windows programs are not). Also I have set my system to ask for a password when i mount my partitions or drives as I can not afford to lose my data which is precious to me. Just google to learn how to do this.

  58. After adding the ppa in linux mint 14, when I do apt-cache policy wine1.5 it shows

    Installed: (none)
    Candidate: 1.5.26-0ubuntu1
    Version table:
    1.5.26-0ubuntu1 0
    500 quantal/main amd64 Packages

    I can’t install 1.5.27 for some reason

    • Something is wrong with their repository index, because even on 4/4/13, with that repo defined, it still doesn’t offer 1.5.27 as an upgrade (I have 1.5.26 installed already). The package is there, it should offer it up, but it just isn’t working.


Got something to say? Join the discussion.

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.