-1

At the WineHQ site I followed the first step to enable 32-bit architecture by entering this command sudo dpkg --add-architecture i386, but an error appeared.

dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'
karel
  • 122,292
  • 133
  • 301
  • 332
Epaan
  • 1

1 Answers1

0

Open the terminal and type:

sudo add-apt-repository --remove 'deb https://dl.winehq.org/wine-builds
/ubuntu/ focal main' 
sudo add-apt-repository universe
sudo apt update  
sudo apt install -y wine32 wine64 wine-stable 

Other suggested packages to install along with wine-stable are: dosbox playonlinux winbind wine-binfmt winetricks

karel
  • 122,292
  • 133
  • 301
  • 332