xxxxxxxxxx
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
xxxxxxxxxx
dpkg --print-architecture
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt install wine64
wine --version
xxxxxxxxxx
sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386
xxxxxxxxxx
### Wine Ubuntu
#If your system is 64 bit, enable 32 bit architecture (if you haven't already):
sudo dpkg --add-architecture i386
#Download and add the repository key:
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo mv winehq.key /usr/share/keyrings/winehq-archive.key
# Ubuntu 22.04
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo mv winehq-jammy.sources /etc/apt/sources.list.d/
#----------------------------------------------------
# Ubuntu 21.10
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/impish/winehq-impish.sources
sudo mv winehq-impish.sources /etc/apt/sources.list.d/
#----------------------------------------------------
# Ubuntu 20.04 | Linux Mint 20.x
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources
sudo mv winehq-focal.sources /etc/apt/sources.list.d/
#----------------------------------------------------
# Ubuntu 18.04 | Linux Mint 19.x
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/winehq-bionic.sources
sudo mv winehq-bionic.sources /etc/apt/sources.list.d/
# Update packages:
sudo apt update
# Then install one of the following packages:
# Stable branch
sudo apt install --install-recommends winehq-stable
#--------------------------------------------------
# Development branch
sudo apt install --install-recommends winehq-devel
#--------------------------------------------------
# Staging branch
sudo apt install --install-recommends winehq-staging
xxxxxxxxxx
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -sc) main'
sudo apt update
sudo apt install --install-recommends winehq-stable
xxxxxxxxxx
$ wget -qO- https://dl.winehq.org/wine-builds/Release.key | sudo apt-key add -