For modern 64-bit systems, you may first make sure the ability to install 32-bit app packages has been enabled.
To do so, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command:
sudo dpkg --add-architecture i386
To make your system trust the package from Wine repository, you have to download & install the key.
Itโs can be done simply by running the command below in terminal:
wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
Though theย ```
apt-key
<h4>3. Add Wine Repository:</h4>
Now in terminal window, run command to add the Wine repository:
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ <strong>focal</strong> main'
<h4>4. Install Wine 7.0:</h4>
Finally, refresh system package cache by running command:
sudo apt update
And, install Wine 7.0 via:
sudo apt install --install-recommends winehq-stable