By Sheldon L | Published at 2019-10-17 | Updated at 2019-10-17 |
# add repo source
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
# update repo
sudo apt-get update
# if update return 'not signed' ERROR:
# set options in /etc/apt/sources.list like this:
# 'deb [trusted=yes] https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt-get update # will got a PUBKEY '76F1A20FF987672F'
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 76F1A20FF987672F
# now the app can be installed and used
sudo apt-get install --install-recommends winehq-stable
wine -version
How to Install Wine 4.0 on Ubuntu 18.04 LTS