Wine 2.17 recently released, is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop. Before we install winehq on ubuntu, lets take a look at the changelog.
Winehq 2.17 Changelog
- Better support for grayscale mode in DirectWrite.
- Per-application StartupWMClass in desktop files.
- Virtual memory compatibility improvements.
- Palette handling improvements in WindowsCodecs.
- Reply messages improvements in WebServices.
- Many games fail to start, or run without audio
- Terris Universal Remote UFB 234 – update database does not work
- Text in Deletion Confirmation MsgBox has wrong background colour
- Steam Store/Uplay/Epic Games Launcher no longer display text in Windows 7 mode
- [See changelog for complete list]
How to install Winehq 2.17 on Ubuntu 17.10, Ubuntu 17.04, Ubuntu 16.04
Method 1: Install Wine via PPA Repository
sudo add-apt-repository ppa:ricotz/unstable sudo apt-get update && sudo apt-get install wine-stable winetricks
Method 2: How to compile Wine on Ubuntu
wget http://dl.winehq.org/wine/source/2.x/wine-2.17.tar.xz tar xjf wine-2.17.tar.xz cd wine-2.17/ # install required dependencies sudo apt-get build-dep wine # For 32bit OS sudo ./configure # For 64-bit OS sudo ./configure --enable-win64 # If encounter Xlib/Xfree86 error, then run the following commands and repeat configure sudo apt-get install libx11-dev:i386 libfreetype6-dev:i386 # Update and Install Wine sudo make sudo make install
How to uninstall Winehq from Ubuntu
sudo apt-get purge wine-stable winetricks && sudo apt autoremove