How to Install Wine 6.9(Development release) in Ubuntu

How to Install Wine 6.9(Development release) in Ubuntu

In this post, we are going to shows how to Install Wine 6.9 (Development release) on Ubuntu. If you are interested to Install Wine 6.9 in your Ubuntu system then this post is ideal for you.

Wine is a an open source software that is developed to allows Linux users to run Windows applications in Linux environment.

If you need an application which is only available for Microsoft Windows then you can use Wine to install that application in Linux environment.

Wine 6.9 is the latest and development release of the Wine that is available for installation and it contains some new improvements. These improvements are listed below:

  • WPCAP library converted to PE.
  • Support for paper forms in the print spooler.
  • More math functions from Musl in the C runtime.
  • Various bug fixes.

For more details about Wine 6.9, please visit its official website.


Install Wine 6.9 in Ubuntu

The installation of Wine 6.9 in Ubuntu is a simple process because all required packages are includes in Wine repository.

Simply follow below steps to install Wine 6.9 in your Ubuntu system:

Step 1 : Prepare to Enable 32 bit architecture

Run the below commands to enable the 32-bit architecture:

sudo apt update
sudo dpkg --add-architecture i386

Step 2 : Download and add Wine Repository

Install wget if it is not available in your Ubuntu system.

sudo apt update
sudo apt -y install software-properties-common wget

You can skip above step if wget is already installed in your system.

Now, run the below commands to download and add repository key:

wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

After download and add repository key, run the command below to add the Wine repository:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'

Replace focal according your ubuntu version :

  • focal for Ubuntu 20.04
  • groovy for Ubuntu 20.10.
  • hirsute for Ubuntu 21.04.
  • bionic for Ubuntu 18.04

You can run the command below to check your Ubuntu edition:

lsb_release -a

Step 3 : Install Wine 6.9

Run the below commands to install Wine 6 on Ubuntu 18.04 | 20.04:

sudo apt update
sudo apt install --install-recommends winehq-devel

During installation process, if you will get unmet dependency error then try aptitude command as show below:

sudo apt install aptitude
sudo aptitude install winehq-devel

If you still getting error then you need to manually install some missing libraries. To do that, run the command below:

sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386

Now, wine is installed and ready to use. To check the version of Wine, run the command below:

wine --version

How to use Wine 6.9 in Ubuntu

To launch Wine tool, Run the below command:

$ wine

To open page of Wine tool, run the below command:

$ wine --help

In this article we are going to use Notepad++ Windows application to test Wine tool.

Run the below command to install Notepad++ via command line:

wget https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v7.8.8/npp.7.8.8.Installer.exe

As we know, all downloaded files are saved in Downloads folder of your home directory. So change directory to Downloads by running command below:

cd ~/Downloads

Now use Wine to install it using below command:

wine npp.7.8.8.Installer.exe

When you run above command, it will prompted to install required packages and launch Wine install command and start installing the application.

After some moment, the application(Notepad++) will installed and ready to use.


That’s all.

If you face any error and issue in above steps , please use comment box below to report.

If our tutorials helped you, please consider buying us a coffee. We appreciate your support!

Thank you for your support.

2 thoughts on “How to Install Wine 6.9(Development release) in Ubuntu”

  1. My error on 21.04 after following the above steps:

    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.
    winehq-devel : Depends: wine-devel (= 7.2~impish-1)
    E: Unable to correct problems, you have held broken packages.

    1. During installation process, if you will get unmet dependency error then try aptitude command as show below:

      sudo apt install aptitude
      sudo aptitude install winehq-devel

      If you still getting error then you need to manually install some missing libraries. To do that, run the command below:

      sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386

Leave a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top