Archives For November 30, 1999

Wine, the free open-source software for running Windows apps on Linux, macOS, & BSD, announced a new development 9.3 release this Friday.

The new Wine 9.3 improved proxy configuration reading and writing by using new option to query global proxy settings, and wininet functions to set proxy settings.

The release also introduced a new HID pointer device driver, but only matches with digitizer devices for now, it could later be used for HID mice but for now wine use a different path for that.

Other changes in the release include timezone database update, more exception fixes on ARM platforms, and a total of 23 bug-fixes for apps and games, including Free Download Manager, Final Fantasy XI, Solidworks 2008, Virtual Life 2, Microsoft Flight Simulator 2020, and more. For more, see the official release note.

Continue Reading…

Wine, the popular free open-source software for running Windows apps & games on Linux, macOS, & BSD, announced a new development 9.2 release!

The new release updated Mono engine to version 9.0.0, included a number of system tray fixes, and exception handling improvements on ARM platforms.

There are as well fixes to a total of 15 bugs, including

  • crashes when using the Connect function in Quick3270 5.21
  • digikam 6.10 (& 7.1.0) crashes on start
  • Dolphin Emulator crashes from 5.0-17264
  • Elite Dangerous client gets stuck on black screen after launch
  • Microsoft Webview 2 installer hangs forever
  • Kodu game lab crashes
  • And more. See release note for details.

Continue Reading…

Wine, the popular software for running Windows applications on Linux, macOS, & BSD, announced new stable 9.0 release few days ago on Tuesday.

Wine 9.0 features WoW 6.0 (Windows 32-bit on Windows 64-bit), which was experimentally supported in last 8.0 release. It allows to run 32-bit Windows applications on a purely 64-bit Unix installation, instead of inside a 32-bit Unix process. However, the features is NOT enabled by default.

The release also includes experimental Wayland graphics driver. Which is also not enabled by default, but already implements many features, such as basic window management, multiple monitors, high-DPI scaling, relative motion events, and Vulkan support.

The 9.0 release added initial support for building Wine for the ARM64EC architecture, for running Windows apps on ARM64 powered devices with native speed.

Other changes in Wine 9.0 include:

  • WinRT theming supports a dark theme option
  • Vulkan driver supports up to version 1.3.272 of the Vulkan spec.
  • Implement Windows Media Video (WMV) decoder DirectX Media Object (DMO)
  • Mono engine is updated to version 8.1.0
  • DLS1 and DLS2 sound font loading
  • The default Windows version for new prefixes is set to Windows 10.
  • MIDI playback in dmsynth
  • Indeo IV50 Video for Windows decoder
  • And much more! See release note for details.


Continue Reading…

Wine, the compatibility layer for running MS Windows apps in Linux and macOS, announced new stable 8.0 release after 1 year of development.

Wine 8.0 has finally completed PE conversion. All modules can be built in PE format. Meaning various features to be supported, such as copy protection, 32-bit applications on 64-bit hosts, Windows debuggers, x86 applications on ARM, etc.

Wow64 (Microsoft’s subsystem for running 32 bit applications on 64-bit Windows) is implemented for essentially all Unix libraries. Once the legacy calls removed, it will be possible to run 32-bit Windows applications on Linux without any 32-bit Wine libraries.

Other changes in Wine 8.0 include:

  • Print Processor architecture implemented.
  • Enable light theme for configuration by default.
  • Convert the graphics drivers to run on the Unix side of the syscall boundary.
  • Effects are supported in Direct2D.
  • Direct3D improved with more graphics cards support.
  • Greatly improved the controller hotplug support.
  • Support Sony DualShock and DualSense controllers when the hidraw backend is used.
  • Introduce Windows.Gaming.Input API with hotplug notifications, force feedback effects and haptics, as well as trigger rumble support.
  • Mono engine updated to 7.4.0

How to Install Wine 8.0 in Ubuntu and Linux Mint

Winehq website now has a good tutorial teaching about how to install Wine packages in Ubuntu based systems. And, here is a re-write with more descriptions.

1. First, press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run command:

sudo dpkg --add-architecture i386

This command makes it possible to install 32-bit packages in 64-bit Ubuntu, since Wine at the moment still requires a lot of 32-bit libraries.

2. Then, run command in terminal to create “keyrings” folder under ‘/etc/apt’ directory for storing the keys. With -p flag, it ignores error if that folder already exist.

sudo mkdir -p /etc/apt/keyrings

3. Next, use wget command line downloader to download the GPG key for winehq repository, and store in the folder you created in last step.

sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

4. Now, run command to download the config file for Winehq apt repository and store in ‘/etc/apt/sources.list.d/’.

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -sc)/winehq-$(lsb_release -sc).sources

IMPORTANT: This command is for Ubuntu 23.04, 22.04, 20.04, 18.04 only! For Linux Mint, Zorin OS, etc, you have to replace the “$(lsb_release -sc)” in command with the codename of Ubuntu version your system is based on:

  • For Ubuntu 23.04 based system, use lunar.
  • For Ubuntu 22.04 based system (e.g., Linux Mint 21), use jammy instead.
  • For Ubuntu 20.04 based (e.g., Zorin OS 16.x), use focal.
  • For Ubuntu 18.04 based system, use bionic

5. After setting up the Wine’s official apt repository, run the command below to fetch package index:

sudo apt update

In the output, there should be a output line indicates Get x https://dl.winehq.org/wine-builds/ubuntu xxxxx InRelease.

6. Finally, install Wine stable 8.0, as well as dependency libraries via command:

sudo apt install --install-recommends winehq-stable

7. After successfully installed Wine packages, run command to generate the config files and open the configuration dialog.

winecfg

There you can verify Wine version and change the settings of this layer.

8 Finally, right-click on your EXE file in file manager and select “Open With Wine Windows Program Loader” (or select it from open with other applications dialog). See if Wine supports your Windows app.

How to Remove Wine 8.0

To remove the software package as well as dependency libraries, simply open terminal and run command:

sudo apt remove --autoremove winehq-stable

Also, remove the Wine apt repository by removing the source file:

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

And remove the key file via:

sudo rm /etc/apt/keyrings/winehq-archive.key

Finally, remember to refresh package index via sudo apt update command.

To run Microsoft Windows applications in Ubuntu Linux, Wine or CrossOver (paid version) is a good choice. And here’s how to install and use Wine in Ubuntu 22.04 LTS, Ubuntu 24.04, and Ubuntu 20.04

In this tutorial, you’ll see 2 ways to install Wine in Ubuntu. Choose either one that you prefer.

NOTE: NOT all Windows apps can install & run through Wine. See this page for the list of apps compatible with Wine.

Option 1: Install Wine from Ubuntu repository:

Ubuntu included Wine package in its own repository, though it’s old. User may simply press Ctrl+Alt+T on keyboard to open terminal and run command to install it:

sudo dpkg --add-architecture i386 && sudo apt install wine

Type user password (no asterisk feedback) and hit Enter to authentication for sudo.

After installed package run winecfg in terminal to generate configuration file. And, run command to make link the .desktop file:

sudo ln -s /usr/share/doc/wine/examples/wine.desktop /usr/share/applications/

Finally, you may right-click on an EXE file to run via “Wine Windows Program Loader” option:

Option 2: Install Latest Wine 9.x from its official repository:

The Wine developer team provides an official apt repository for Debian/Ubuntu based systems. Now the repository contains Wine 9.0.x stable, and 9.x Dev versions.

The repository so far supports Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 24.04! It also works for Ubuntu 16.04 and Ubuntu 18.04, but old versions will be installed (Wine 5.0.3 for 16.04, and Wine 8.0.1 for 18.04).

1. Install Wine key

The repository now has updated with new method to install the key to follow Debian policy, as apt-key is deprecated. However, it’s still ASCII-armored key so far.

Press Ctrl+Alt+T on keyboard to open terminal. When it opens, create the directory for storing the keys:

sudo mkdir -p /etc/apt/keyrings

Then, run the single command to download the key, dearmor, and move to “/etc/apt/keyrings” directory:

wget -qO - https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor | sudo tee /etc/apt/keyrings/winehq-archive.key

Type user password (no visual feedback) when it asks. And, the command should output unreadable text as the screenshot below shows you:

2. Add Wine repository:

Next run the commands below one by one to download the repository setup file and move to “/etc/apt/sources.list.d” directory.

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -sc)/winehq-$(lsb_release -sc).sources

NOTE: This command is for Ubuntu only. “$(lsb_release -sc)” returns system’s code-name. For Linux Mint and other Ubuntu based system, replace it with jammy (22.04), focal (20.04), or noble (24.04) depends on which Ubuntu edition your system is based on.

If you don’t know which Ubuntu edition you system is based on, run cat /etc/os-release to tell through UBUNTU_CODENAME section.

3. Update cache

Before installing any package from that repository, you need to refresh system cache by running command in terminal:

sudo apt update

4. Install Wine:

The Wine repository provides three Wine packages:

  • winehq-stable – the stable version (v9.0.x so far)
  • winehq-devel – the latest development release.
  • winehq-staging – the testing version with patches applied on top of the corresponding wine-devel

Select install one of the packages by running command below in terminal:

  • To install the stable edition use command:
    sudo apt install winehq-stable
  • Install wine development release via:
    sudo apt install winehq-devel
  • Or install wine-staging via command:
    sudo apt install winehq-staging

NOTE: It does not re-build old packages for new Linux systems. winehq-stable so far is not available for Ubuntu 22.04, since the new LTS is released after wine stable 7.0. User may wait for the next stable release (v7.0.1 or v8.0).

After installation, right-click on your EXE file and start it via Wine program loader option. See if your app works with wine.

How to Remove Wine:

1. To remove the Wine package, simply open terminal and run commands:

sudo apt remove wine winehq-stable winehq-staging winehq-devel

There will be local configuration files and app data left under .wine and .local/share/applications. They are hidden folders, press Ctrl+H in file manager to toggle display and remove them as you want.

2. To remove the Wine repository, open terminal (Ctrl+Alt+T) and run command:

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

And remove the repository key via command:

sudo rm /etc/apt/keyrings/winehq-archive.key

Finally apply changes by running sudo apt update to refresh system package cache.

Wine 7.4, the new development of the compatibility layer capable of running Windows apps on Linux, is out.

The new release bundled Vkd3d, 3D graphics library built on top of Vulkan, for its implementation of Direct3D 12.

Other changes include defaults to ‘Light’ theme, WineD3D, D3D12 and DXGI modules converted to PE, more large scale cleanups to support ‘long’ type. And, there more than a dozen of bug-fixes. See more here.

How to install Wine 7.4 in Ubuntu:

The official Wine repository provides the packages for Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.10, Linux Mint 20, and their derivatives.

NOTE: Installing Wine Dev release will replace the stable package (if installed from same repository) in your system if any.

1. Enable 32 bit architecture

For modern 64-bit systems, you may first make sure the ability to install 32-bit app packages has been enabled.

To do so, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command:

sudo dpkg --add-architecture i386

2. Install the key:

To make your system trust the package from Wine repository, you have to download & install the key.

It’s can be done simply by running the command below in terminal:

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

Though the apt-key command is deprecated, it’s still working and the most efficient so far.

NOTE: The command may stuck with blinking cursor after downloading the key, if you run this command in another window or a few minutes after the last. It’s waiting for you to type password for ‘sudo’ authentication. Just type your password (no visual feedback) in mind and hit Enter.

3. Add Wine Repository:

Now in terminal window, run command to add the Wine repository (replace focal accordingly!):

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

NOTE: the command above is for ‘Ubuntu 20.04’ and ‘Linux Mint 20’ only!!! For other Ubuntu edition (check via lsb_release -a command), do change focal in the code with:

  • bionic for Ubuntu 18.04.
  • impish for Ubuntu 21.10.

Say you’re running Ubuntu 21.10, the command will be:

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

4. Install Wine 7.4:

Finally, refresh system package cache by running command:

sudo apt update

And, install Wine 7.4 via:

sudo apt install --install-recommends winehq-devel

Unmet dependency is a common issue while installing Wine in Ubuntu. In my Ubuntu 20.04, I never had the issue after manually installing the following packages:

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

Also, you may use aptitude (install it via sudo apt install aptitude) instead to print workarounds:

sudo aptitude install winehq-devel

Uninstall Wine 7.4:

To remove the wine packages, use command in terminal:

sudo apt remove --auto-remove winehq-devel

And remove the Wine repository using ‘Software & Updates‘ utility at Other Software tab.

That’s all. Enjoy!

The first development release after Wine stable 7.0 was out. Here’s what’s new and how to install in Ubuntu Linux.

Wine 7.1 comes with the latest Vulkan 3D graphics v1.3 support for running high-performance real-time 3D graphics applications. The new driver features dynamic rendering, additional dynamic state, improved synchronization API, and device profiles.

Other changes include:

  • A number of theming fixes.
  • WebSocket improvements.
  • Improved cursor clipping on macOS.
  • IDL compiler fixes for C++.

There are as well a total of 42 bug-fixes for Windows apps including Siemens SIMATIC STEP 7, Final fantasy 7, Arx Fatalis, Rising Kingdoms, Far Cry 5, Age of Empires 3, and more!

Wine 7.1 configuration

How to install Wine 7.1 in Ubuntu:

The official Wine repository provides the packages for Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.04, Ubuntu 21.10, Linux Mint 20, and their derivatives.

NOTE: Installing Wine Dev release will replace the stable package (if installed from same repository) in your system if any.

1. Enable 32 bit architecture

For modern 64-bit systems, you may first make sure the ability to install 32-bit app packages has been enabled.

To do so, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command:

sudo dpkg --add-architecture i386

2. Install the key:

To make your system trust the package from Wine repository, you have to download & install the key.

It’s can be done simply by running the command below in terminal:

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

Though the apt-key command is deprecated, it’s still working and the most efficient so far.

NOTE: The command may stuck with blinking cursor after downloading the key, if you run this command in another window or a few minutes after the last. It’s waiting for you to type password for ‘sudo’ authentication. Just type your password (no visual feedback) in mind and hit Enter.

3. Add Wine Repository:

Now in terminal window, run command to add the Wine repository:

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

NOTE: the command above is for ‘Ubuntu 20.04’ and ‘Linux Mint 20’ only!!! For other Ubuntu edition (check via lsb_release -a command), do change focal in the code with:

  • bionic for Ubuntu 18.04.
  • hirsute for Ubuntu 21.04.
  • impish for Ubuntu 21.10.

Say you’re running on Ubuntu 21.10, the command will be:

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

4. Install Wine 7.1:

Finally, refresh system package cache by running command:

sudo apt update

And, install Wine 7.1 via:

sudo apt install --install-recommends winehq-devel

Unmet dependency is a common issue while installing Wine in Ubuntu. In my Ubuntu 20.04, I never had the issue after manually installing the following packages:

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

Also, you may use aptitude (install it via sudo apt install aptitude) instead to print workarounds:

sudo aptitude install winehq-devel

Uninstall Wine 7.1:

To remove the wine packages, use command in terminal:

sudo apt remove --auto-remove winehq-devel

And remove the Wine repository using ‘Software & Updates‘ utility at Other Software tab.

That’s all. Enjoy!

Wine Stable

The wine team announced the new wine development version 6.2 with a few new features and various bug-fixes.

According to the release note, Wine 6.2 updated Mono engine to version 6.0.0, with DirectX support.

Other changes include:

  • Support for NTDLL debugger APIs.
  • More WinRT support in WIDL.
  • Xbox One controller fixes on Mac.
  • Bug fixes to Paint.NET, Earth 2160, Foxit Reader, Google SketchUp 13, and many other applications.

How to Install Wine 6.2 in Ubuntu:

The Wine team has made in the Linux packages for Ubuntu 18.04, Ubuntu 20.04, and Ubuntu 20.10. And you can install it by doing the steps below one by one.

Open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching for ‘terminal’ from system application menu. When it opens, run following steps one by one.

Install Wine Development version via following commands will replace the latest stable Wine release package if installed.

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 via command (for Ubuntu 20.04 and Linux Mint 20):

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

NOTE: You may replace focal in the code with:

  • groovy for Ubuntu 20.10.
  • bionic for Ubuntu 18.04 and Linux Mint 19.x

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.2 via command:

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

Uninstall wine:

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

To remove wine 6.2, run command in terminal:

sudo apt remove --auto-remove winehq-devel

Wine Stable

The new wine development version 6.1 was released with new features and dozens of bug-fixes.

Wine 6.1 release highlights:

  • Arabic text shaping.
  • More WinRT support in WIDL.
  • VKD3D version 1.2 is used for Direct3D 12.
  • Support for Rosetta’s memory layout on M1 Macs.
  • Support for Thumb-2 mode on ARM.

As usual, there are many bug-fixes to applications including Dark Sector, LabVIEW 2014, Skyrim SE, The Witcher 3, Still Life 2, The Sims 3, and more.

How to Install Wine 6.1 in Ubuntu:

Open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching for ‘terminal’ from system application menu. When it opens, run following steps one by one.

Install Wine Development version via following commands will replace the latest stable Wine release package if installed.

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 via command (for Ubuntu 20.04 and Linux Mint 20):

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

NOTE: You may replace focal in the code with:

  • groovy for Ubuntu 20.10.
  • bionic for Ubuntu 18.04 and Linux Mint 19.x

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.1 via command:

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

Uninstall wine:

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

To remove wine 6.1, run command in terminal:

sudo apt remove --auto-remove winehq-devel

Wine 5.17 Released with Initial NDIS Network Driver

Last updated: September 12, 2020

Wine Stable

Wine 5.17, a new development release of the compatibility layer allows to run Windows apps on Linux and Mac OS, was released with new features and various bug-fixes.

Wine 5.17 release highlights:

  • ADVAPI32 library converted to PE.
  • Beginnings of an NDIS network driver.
  • Still more restructuration of the console support.
  • Various bug fixes.

How to Install Wine 5.17 in Ubuntu:

Open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching for ‘terminal’ from system application menu. When it opens, run following steps one by one.

1.) Run command to enable 32 bit architecture (if you haven’t already):

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 via command (for Ubuntu 20.04 and Linux Mint 20):

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

NOTE: You may replace focal in the code with:

  • bionic for Ubuntu 18.04 and Linux Mint 19.x
  • xenial for Ubuntu 16.04

4.) Add PPA for the required libfaudio0 library:

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

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

5.) Finally install Wine 5.17 via command:

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

NOTE: installing the latest development release will automatically remove the stable version (if installed).

And for the unmet dependencies issue installing 32-bit libraries, try running command:

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

(Optional) After successfully installed Wine 5.17, you may remove the PPAs by launching Software & Updates utility and navigating to Other Software tab.