Instal wine
Pastikan anda tersambung ke Internet karena kita perlu mendownload beberapa font
Install di Ubuntu 22.04
apt install wine64
wine --version
Install di Ubuntu 22.04
sudo dpkg --add-architecture i386 apt update wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - apt install software-properties-common sudo apt-add-repository "deb https://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main" apt update
apt install --install-recommends winehq-stable wine --version
Cara 1
dpkg --print-architecture dpkg --print-foreign-architectures sudo dpkg --add-architecture i386 dpkg --print-foreign-architectures
wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo -H gpg -o /etc/apt/trusted.gpg.d/winehq.key.gpg --dearmor winehq.key sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' sudo apt update
sudo apt install --install-recommends winehq-stable wine --version
Cara 2
sudo su apt update dpkg --add-architecture i386 apt update apt -y install wine64 wine32
Cara 3
sudo su dpkg --add-architecture i386 wget -O – https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - add-apt-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ focal main’ apt update apt install --install-recommends winehq-stable
atau
apt --install-recommends winehq-devel
atau
apt install --install-recommends winehq-staging
atau
dpkg-reconfigure wine-<packagename>-amd64 wine-<packagename>
wine-<packagename>-i386
cek run
wine --version