Archives For wine

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!

After a year of development, Wine, the software for running Windows apps on Linux finally released new stable 7.0 version with over 9,100 individual changes.

What’s New in Wine 7.0:

In Wine 7.0, most modules have been converted to PE format (Portable Executable, the Windows binary format) instead of ELF. This helps various copy protection schemes that check that the on-disk and in-memory contents of system modules are identical.

This release also implemented 64-bit Windows-on-Windows (WoW64) architecture, enables ability to run a 32-bit Windows application inside a 64-bit Unix host process. Once all modules converted to PE format, it will be possible to run 32-bit applications without installing 32-bit Unix libraries.

All the builtin applications and common controls now support theming, as well as High DPI rendering. A “Light” theme is included, with the color variants “Blue” and “Classic Blue”.

The 7.0 release also introduced the new kernel side Win32u graphics library. The graphics drivers (e.g., winex11.drv and winemac.drv) will be migrated to this library in next releases.

Other changes in Wine 7.0 include:

  • Some initial support for Direct2D effects.
  • Multiple displays support for Direct3D apps.
  • More graphics cards recognized via Direct3D database:
    • AMD Radeon RX 5500M
    • AMD Radeon RX 6800/6800 XT/6900 XT
    • AMD Van Gogh
    • Intel UHD Graphics 630
    • NVIDIA GT 1030
  • Vastly improved HID stack and joystick support.
  • Update Mono to v7.0.0 with many improvements.
  • The ‘faudio’ now bundled in the source, which means Ubuntu 18.04 no longer needs adding separate PPA for the dependency (NOT tested as I don’t have 18.04 at hand).
  • See announcement for more details.

How to Install Wine 7.0 in Ubuntu & Linux Mint:

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.

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.0:

Finally, refresh system package cache by running command:

sudo apt update

And, install Wine 7.0 via:

sudo apt install --install-recommends winehq-stable

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-stable

Uninstall Wine 7.0:

To remove the wine packages, use command in terminal:

sudo apt remove --auto-remove winehq-stable

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

That’s all. Enjoy!

The first release candidate for the upcoming Wine 7.0 was released a few days ago. Here’s what’s new and how to install it in Ubuntu.

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

  • Reimplementation of the WinMM joystick driver.
  • All Unix libraries converted to the syscall-based interface.
  • Various bug fixes to win apps including Sea of Thieves, EVE Online Client, World of Warships, and more.

How to Install Wine 7.0 RC1 in Ubuntu:

Press Ctrl+Alt+T key combination on keyboard to open terminal, then run the commands below one by one to get the Wine package in Ubuntu 20.04, Ubuntu 21.04, and Ubuntu 21.10. Ubuntu 18.04 is also supported, though user has to first add the faudio PPA.

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. Add Wine repository to your system:

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/share/keyrings/winehq.gpg] https://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -sc) main" >> /etc/apt/sources.list.d/winehq.list'

NOTE: the command above is only for Ubuntu user. For Linux Mint, Elementary OS, Zorin OS and other Ubuntu based systems, you have to replace $(lsb_release -sc) with the Ubuntu code-name (e.g., focal and bionic) that your system based on.

3. 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!

Open terminal and run single command below to download the key, convert it into un-readable gpg file, and finally store in “/usr/share/keyrings”.

wget -O - https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor | sudo tee /usr/share/keyrings/winehq.gpg

4. Install Wine package:

Finally refresh system package cache via command:

sudo apt update

And install the Wine 7.0 RC1 by running command:

sudo apt install winehq-devel

NOTE: Wine 7.0 RC1 staging package is also available. It contains bug fixes and features, which have not been integrated into the development branch yet. You may install the it by replacing winehq-devel with winehq-staging in last command.

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 7.0 RC1, 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/share/keyrings/winehq.gpg

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