The new wine development version 5.22 was released a day ago. Here’s how to install it in Ubuntu 20.04, Ubuntu 20.10.
Wine 5.22 release highlights:
- C runtime libraries converted to PE.
- Use fontconfig cache for faster startup.
- Video playback improvements.
- 3DES cipher support.
There are also various bug-fixes to programs including Rome Total War, Cobra 11 Nitro, Rainbow Six, Age Of Empires III, Call of Duty, WinRar, Black Ops 4, and more.
How to Install Wine 5.22 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:
- 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 5.22 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).
You may remove the PPA by launching Software & Updates utility and navigating to Other Software tab.
To remove wine 5.22, run command in terminal:
sudo apt remove --auto-remove winehq-devel