I have just installed the latest version of wine using:
sudo apt-get install --install-recommends winehq-stable
If I run it again, it tells me winehq-stable is already the newest version (4.0~bionic)
.
But if I run wine --version
or any of the variants(wine64, wineserver, etc) they're showing me that version is 3.7. Why would that happen? How do I fix this?
In case you trying to install wine 4.0 on your ubuntu: Add repo key:
Add repo:
And install:
After those steps wine --version will print the correct version.