Archives For wine

By releasing Wine 6.20, Wine now provides the packages for Ubuntu 21.10 in its official repository.

Wine is a free open-source software allows to run Windows apps in Linux, macOS and BSD. The latest development release now is Wine 6.20 that features:

  • MSXml, XAudio, DInput and a few other modules converted to PE.
  • A few system libraries are bundled with the source to support PE builds.
  • HID joystick is now the only supported joystick backend in DirectInput.
  • Better support for MSVCRT builds in Winelib.
  • Various bug fixes to win apps including Emergency 3, ZWCAD 2020, Diablo 2, and more.

How to Install Wine 6.20 in Ubuntu:

Press Ctrl+Alt+T key combination on keyboard to open terminal, then run the commands below one by one.

1. Enable 32 bit architecture support.

While modern computers now have 64-bit CPU architecture, Wine is a 32-bit software. So you may first enable the 32 bit architecture support by running command in terminal:

sudo dpkg --add-architecture i386

2. Install the key for Wine repository.

Since apt-key command is deprecated for security reason, here I’m going to tell the new method to install the third-party repository key in Ubuntu. Though apt-key is more effective and still works, you may use it if not care about cyber security!

a.) Firstly, run command in terminal to download the key:

wget -nc https://dl.winehq.org/wine-builds/winehq.key

b.) Next, convert the key into gpg by firstly importing it into a temp keyring, then exporting it to gpg:

gpg --no-default-keyring --keyring ./winehq-keyring.gpg --import winehq.key
gpg --no-default-keyring --keyring ./winehq-keyring.gpg --export --output winehq.gpg

c.) Finally, create the “/usr/local/share/keyrings” directory, and put the key into that location:

sudo mkdir /usr/local/share/keyrings
sudo mv winehq.gpg /usr/local/share/keyrings

3. Add Wine repository to your system:

After installing the key into “/usr/local/share/keyrings”, you may add the Wine repository by creating a config file and writing a line into it. And, it can be done by running the single command in terminal:

sudo sh -c 'echo "deb [signed-by=/usr/local/share/keyrings/winehq.gpg] https://dl.winehq.org/wine-builds/ubuntu/ impish main" >> /etc/apt/sources.list.d/winehq.list'

After that, apt will accept that key signature for all packages in this repository and only this repository.

NOTE: the command above is only for Ubuntu 21.10. For other Ubuntu editions, change impish in command to your system code-name (e.g., focal or bionic). And you can run “lsb_release -c” in terminal to check it out. For Linux Mint, Elementary OS and Zorin OS, do use the based Ubuntu codename.

4. Install Wine package:

Finally refresh system package cache via command:

sudo apt update

And install the Wine 6.20 (development release) by running command:

sudo apt install winehq-devel

After installation, use winecfg command to bring up configuration editor. And, right-click on EXE file and choose “Open with Other Application -> Open With Wine Windows Program Loader” to get start installing a Windows app.

Clean up or Remove Wine:

After installing the repository key, two useless files (“winehq.key” and “winehq-keyring.gpg”) are left in home directory. You may remove them via the file manager.

To remove Wine 6.20, run command in terminal:

sudo apt remove --autoremove winehq-devel

To remove the Wine repository, simply remove the file under “/etc/apt/sources.list.d” via the command below or use “Software & Updates” utility via “Other Software” tab.

sudo rm /etc/apt/sources.list.d/winehq.list

And remove the key if you want via command;

sudo rm /usr/local/share/keyrings/winehq.gpg

Wine, the free compatibility layer to run Windows apps on Linux, released v6.15 as the latest development version.

According to the release note, Wine 6.15 comes with following changes:

  • WinSock (WS2_32) library converted to PE.
  • Support for performance data in the registry.
  • More 32->64-bit thunks for NTDLL calls.
  • Improved floating point status handling in the C runtime.
  • More preparation work for the GDI syscall interface.

As usual, the release has a total of 49 bug-fixes for running Windows applications and games, including File Encryption 2.1, Google-Earth, Wordpad, Wavelab 6, Toon Boom Harmony 15, and more.

How to Install Wine 6.15 in Ubuntu:

Wine has its own apt repository for Ubuntu, Linux Mint based systems. Open terminal from the start menu. When it opens, run following commands one by one:

1.) Run command to enable 32 bit architecture (if you don’t have it):

sudo dpkg --add-architecture i386

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2.) Install the repository key by running command:

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

NOTE: If you skipped step 1.) or run this command more than 5 minutes after, the process may stuck at blinking cursor waiting for you to type user password for sudo.

3.) Add wine repository

Note there’s A BLANK SPACE before the code name (e.g., focal, hirsute, bionic) in each command!

  • For Ubuntu 20.04, Linux Mint 20.x, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
  • For Ubuntu 18.04 and Linux Mint 18.x run:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
  • And for 21.04, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'

Don’t know your system edition? Run lsb_release -a command in terminal to check out.

4.) For Ubuntu 18.04 and Linux Mint 19.x only, libfaudio0 library is required to install from a third-party repository by running command:

sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

5.) Finally install Wine 6.15 via command:

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

If you get unmet dependency issue, try aptitude command instead:

sudo apt install aptitude && sudo aptitude install winehq-devel

Still getting unmet dependency issue? Try running command to manually install some missing libraries. The command worked in my Ubuntu 20.04.

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

Uninstall wine:

You may remove the PPA by launching Software & Updates utility and navigating to Other Software tab.

To remove wine 6.15, run command in terminal:

sudo apt remove --auto-remove winehq-devel

Wine

A new development release of the free open-source implementation to run Windows apps on Linux, Wine 6.11 is out!

The release introduced theming support in all builtin programs. As well, it features all remaining CRT math functions imported from Musl; MP3 support requires libmpg123 also on macOS; and support for codepage 720 (Arabic).

Also, there are dozens of bugs fixed in the release for Windows applications, including Microsoft SyncToy 2.1, Hogs of War, Notepad++, Starcraft 2, and more. See the announcement for more details.

How to Install Wine 6.11 in Ubuntu:

Wine has its own apt repository for Ubuntu, Linux Mint based systems. Open terminal from system app launcher. When it opens, run following commands one by one:

1.) Run command to enable 32 bit architecture (if you don’t have it):

sudo dpkg --add-architecture i386

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2.) Install the repository key by running command:

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

3.) Add wine repository

Note there’s A BLANK SPACE before the code name (e.g., focal, groovy, hirsute, bionic) in each command!

  • For Ubuntu 20.04, Linux Mint 20.x, run command ():
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
  • For Ubuntu 20.10, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'
  • For Ubuntu 18.04, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
  • For 21.04, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'

Don’t know your system edition? Run lsb_release -a command in terminal to check out.

4.) For Ubuntu 18.04 and Linux Mint 19.x only, libfaudio0 library is required to install from a third-party repository by running command:

sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

5.) Finally install Wine 6.11 via command:

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

If you get unmet dependency issue, try aptitude command instead:

sudo apt install aptitude && sudo aptitude install winehq-devel

Still getting unmet dependency issue? Try running command to manually install some missing libraries. The command worked in my Ubuntu 20.04.

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

Uninstall wine:

You may remove the PPA by launching Software & Updates utility and navigating to Other Software tab.

To remove wine 6.11, run command in terminal:

sudo apt remove --auto-remove winehq-devel

Wine

Wine 6.0.1, the open-source compatibility layer to run Windows apps on Linux, was released as the first point release in the 6.0 stable series.

The release contains mainly bug-fixes, translation updates, and Documentation updates. It also adds a new feature: supporting for wine64 on Apple M1.

A total of 63 bugs has been fixed in the release for the Windows apps or games including Dark Sector, Earth 2160, Shadow Warrior 2, The Elder Scrolls V, The Witcher 3, Adobe Audition 2020, World of Tanks, iTunes 12.11.0.26, and more. See the release note for details.

How to Install Wine 6.0.1 in Ubuntu:

Wine has its own apt repository for Ubuntu, Linux Mint based systems. Open terminal from system app launcher. When it opens, run following commands one by one.

1.) Run command to enable 32 bit architecture (if you don’t have it):

sudo dpkg --add-architecture i386

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2.) Install the repository key by running command:

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

3.) Add wine repository

Note there’s A BLANK SPACE before the code name (e.g., focal, groovy, hirsute, bionic) in each command!

  • For Ubuntu 20.04, Linux Mint 20.x, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
  • For Ubuntu 20.10, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'
  • For Ubuntu 18.04, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
  • For 21.04, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'

Don’t know your system edition? Run lsb_release -a command in terminal to check out.

4.) For Ubuntu 18.04 and Linux Mint 19.x only, libfaudio0 library is required to install from a third-party repository by running command:

sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

5.) Finally install Wine 6.0.1 via command:

sudo apt update && sudo apt install --install-recommends winehq-stable

If you get unmet dependency issue, try aptitude command instead (DO check what it is going to install/uninstall before type y to confirm):

sudo apt install aptitude && sudo aptitude install winehq-stable

Still getting unmet dependency issue? Try running command to manually install some missing libraries. The command worked in my Ubuntu 20.04.

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

Uninstall wine:

You may remove the PPA by launching Software & Updates utility and navigating to Other Software tab.

To remove wine 6.0.1, run command in terminal:

sudo apt remove --auto-remove winehq-stable

Wine Stable

Wine, free and open-source implementation to run Windows apps on Linux, released version 6.9 last night. Here’s how to install it in Ubuntu 21.04, Ubuntu 20.10, Ubuntu 20.04, and Ubuntu 18.04.

Wine 6.9 is the new development release that features:

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

There are also many bug-fixes for Windows apps including TroopMaster, Visual C++ 2010, Overwatch, The Sims 2, and more.

How to Install Wine 6.9 in Ubuntu:

Wine has its own apt repository for Ubuntu, Linux Mint based systems. Open terminal from system app launcher. When it opens, run following commands one by one:

1.) Run command to enable 32 bit architecture (if you don’t have it):

sudo dpkg --add-architecture i386

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2.) Install the repository key by running command:

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

3.) Add wine repository

Note there’s A BLANK SPACE before the code name (e.g., focal, groovy, hirsute, bionic) in each command!

  • For Ubuntu 20.04, Linux Mint 20.x, run command ():
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
  • For Ubuntu 20.10, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'
  • For Ubuntu 18.04, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
  • For 21.04, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'

Don’t know your system edition? Run lsb_release -a command in terminal to check out.

4.) For Ubuntu 18.04 and Linux Mint 19.x only, libfaudio0 library is required to install from a third-party repository by running command:

sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

5.) Finally install Wine 6.9 via command:

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

If you get unmet dependency issue, try aptitude command instead:

sudo apt install aptitude && sudo aptitude install winehq-devel

Still getting unmet dependency issue? Try running command to manually install some missing libraries. The command worked in my Ubuntu 20.04.

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

Uninstall wine:

You may remove the PPA by launching Software & Updates utility and navigating to Other Software tab.

To remove wine 6.9, run command in terminal:

sudo apt remove --auto-remove winehq-devel