How to download wine for Ubuntu and how to install wine on Linux Ubuntu. Here is the terminal command to install wine i386 Ubuntu, install Wine on Ubuntu 22.04 and Ubuntu 20.04 and Debian Systems.
Install Wine 7.12 on Ubuntu
Here is how to install Wine 7.12 on Ubuntu 22.04, Ubuntu 20.04, Ubuntu 21.04 and other Ubuntu derivatives. The latest release, Wine 7.12 comes with the following features:
- Theming support for Qt5 applications.
- Bundled vkd3d upgraded to version 1.4.
- Improved effect support in Direct2D.
- QWORD support in registry tools.
It also brings various bug fixes. Total of 13 bugs fixed in Wine 7.12:
- Star Citizen: No mic input audio (used for voip)
- StarCitizen launcher crashes on start with a winmm error
- Shogun Total War 2 crashes on start up. (Main Application.)
- Approach (Smart Suite) crashes when trying to print to cups-pdf
- Argentum 20 RPG Launcher has graphical glitches
- Incorrect display of selected buttons in Light theme.
- Wireshark shows black rectangle on various places if light theme is enabled
- MetaTrader4 stopped working properly with wine 7.10
- Rich edit control becomes unstable or trips assertion after ITextRange::SetFont is called
- Rich edit control becomes unstable or trips assertion after changing TextFont properties
- aria2 needs QueryContextAttributes(SECPKG_ATTR_CIPHER_INFO) to return a valid version
- The 32-bit evr:evr crashes almost systematically on the TestBot’s Wine VMs
- The 32-bit mfplat:mfplat crashes on the TestBot debian11 VM
The source is available at https://dl.winehq.org/wine/source/7.x/wine-7.12.tar.xz The Binary packages for various distributions will be available from https://www.winehq.org/download If you are looking for the documentation, you can find it on https://www.winehq.org/documentation
Terminal commands to install Wine 7.12 in Ubuntu
Open Terminal and run the following set of commands to install Wine 7.12 on Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.04, Ubuntu 22.04, Ubuntu 20.10 and Linux Mint.
sudo dpkg --add-architecture i386 && sudo apt install apt-transport-https
wget -O - https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor | sudo tee /usr/share/keyrings/winehq-archive.key
wget -O - https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -sc)/winehq-$(lsb_release -sc).sources | sudo tee /etc/apt/sources.list.d/winehq-$(lsb_release -sc).sources
sudo apt update
sudo apt install winehq-devel
winecfg
Note: For the command “wget -O – https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -sc)/winehq-$(lsb_release -sc).sources | sudo tee /etc/apt/sources.list.d/winehq-$(lsb_release -sc).sources” you have to replace $(lsb_release -sc) with Ubuntu codename (e.g., jammy, focal, bionic) that your system is based on.
For this version Ubuntu 22.04 Use this command:
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo mv winehq-jammy.sources /etc/apt/sources.list.d/
For this version Ubuntu 21.10 Use this command:
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/impish/winehq-impish.sources
sudo mv winehq-impish.sources /etc/apt/sources.list.d/
For this version Ubuntu 20.04and Linux Mint 20.x Use this command:
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources
sudo mv winehq-focal.sources /etc/apt/sources.list.d/
For this version Ubuntu 18.04 and Linux Mint 19.x Use this command:
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/winehq-bionic.sources
sudo mv winehq-bionic.sources /etc/apt/sources.list.d/
To install Stable branch, use the command:
sudo apt install --install-recommends winehq-stable
To install Development branch, use the command:
sudo apt install --install-recommends winehq-devel
To install Staging branch, use the command:
sudo apt install --install-recommends winehq-staging
Note that if you have previously used the distro packages, the files are installed to /opt/wine-devel, opt/wine-stable, or /opt/wine-staging (depending on which version you installed). Also the menu items are not created for Wine’s builtin programs (winecfg, etc.), and if you are upgrading from a distro package that had added them, they will be removed. You can recreate them yourself using your menu editor.