How to install wine32 on Ubuntu 20.04

Words
59
Reading
1 min
5y
Listen to this post
~1 min

A lot of people have noticed apt fails to install wine32 on Ubuntu 20.04. There is a lot of workarounds on internet involving adding third-party repositories, but it's also possible with just the official repositories.

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y --allow-downgrades wine32 libpcre2-8-0=10.34-7 libpcre2-8-0:i386=10.34-7 libodbc1=2.3.6-0.1build1 libodbc1:i386=2.3.6-0.1build1

Allowing apt to downgrade packages makes sure it can match the package versions of amd64 and i386 architectures even if some packages were installed already.

How to install wine32 on Ubuntu 20.04 | Ecency