How to Install Wine (winehq) i386 Architecture on Ubuntu

Firstly add 32 bit architecture to your OS with below command;

[pastacode lang=”bash” manual=”sudo%20dpkg%20–add-architecture%20i386″ message=”” highlight=”1″ provider=”manual”/]

Add the public key with;

[pastacode lang=”bash” manual=”wget%20-qO%20-%20https%3A%2F%2Fdl.winehq.org%2Fwine-builds%2Fwinehq.key%20%7C%20sudo%20apt-key%20add%20-” message=”” highlight=”1″ provider=”manual”/]

Add the related repository;

[pastacode lang=”bash” manual=”sudo%20apt-add-repository%20’deb%20https%3A%2F%2Fdl.winehq.org%2Fwine-builds%2Fubuntu%2F%20bionic%20main'” message=”” highlight=”1″ provider=”manual”/]

And finally update the apt cache then install the winehq stable packages with command below;

[pastacode lang=”bash” manual=”sudo%20apt-get%20update%0Asudo%20apt-get%20install%20–install-recommends%20winehq-stable” message=”” highlight=”1-2″ provider=”manual”/]

ref: tecadmin