wine for ubuntu 18.04 code example
Example 1: wine install ubuntu
# Add wine key
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
# Add repository
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
# Update packages
sudo apt update
# Install wine
sudo apt install --install-recommends winehq-stable
Example 2: how to install wine in ubuntu 18.04
sudo apt install wine64 wine32