Mar 30.2021Linux written by Razvan Iancu
A perfect software to switch from Windows to Linux. If you are used to Windows software, and have switched to a Linux system, there is no problem, because you can run Windows software directly from Linux using WineHQ.
Before installing Wine, make sure that there is no older version of Wine on your system.
Some Linux distributions have WineHQ packages already installed, but due to rapid software development, they are old and often broken. It is best to uninstall the packages from your distribution and use the latest versions of Wine.
1. Uninstall the old version of WineHQ
If you have a WineHQ version installed, you should first check the version.
$ wine --version
If the version does not meet your requirements, then you can uninstall it with the command below.
$ sudo apt-get remove --auto-remove winehq-stable
$ sudo apt-get autoremove
2. Downloading packages from the server
Acum puteti trece la instalarea noi versiuni WineHQ, dar mai inainte trebuie sa activati arhitectura pe 32 de biti, in cazul in care sistemul dvs. este pe 64 de bii:
$ sudo dpkg --add-architecture i386
Let's start by adding the deposit key:
$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
$ sudo apt-key adaug winehq.key
In Ubuntu, regardless of the version, adding this repository can be done with the command:
$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -sc) main'
Otherwise, depending on your version of Ubuntu or Linux Mint, do:Ubuntu 18.04 / Linux Mint 19.x
$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'Ubuntu 20.04 / Linux Mint 20.x
$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'Ubuntu Ubuntu 20.10
$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'
We tested the version for Ubuntu 20.04 / focal main
After adding the packages, call the command:
$ sudo apt update
3. Install the new version for WineHQ
Now you need to install a package, we recommend the stable package for the best possible operation.
$ sudo apt install --install-recommends winehq-stable
Differences between Wine Stable, Development & Staging versions
* Stable versions - is a version that has fewer bugs and has better stability.
* Development - is the next stable, but developing version and receives updates every two weeks.
Now that the WineHQ software is installed you can check the version and configure it.
$ wine --version