How to install wine 5.0.3 stable from winehq on Linux Mint 20 or Ubuntu

The wine package in the Ubuntu Linux repository is version 5, but running applications from it, cannot connect to the internet. It was found that upgrading to wine version 5.0.3 in the winehq repository solved this error. To install wine version 5.0.3 from winehq, open a terminal window and enter the following commands:

$ sudo dpkg --add-architecture i386 <enter>

$ wget -nc https://dl.winehq.org/wine-builds/winehq.key <enter>
$ sudo apt-key add winehq.key <enter>

Add the repository
$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' <enter>

$ sudo apt-get update <enter>

$ sudo apt install --install-recommends winehq-stable <enter>

After installing wine-5.0.3 version, the network error is resolved.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s