Credit: Raspberry Pi Projects and More on YouTube
https://docs.google.com/document/d/1XtbqjCTOfGtsyspwCBwishfb9LrJaeWjDng0Crwq9Eg/edit
cd ~/Downloads
wget https://dl.winehq.org/wine-builds/debian/dists/buster/main/binary-i386/wine-devel-i386_5.21~buster_i386.deb
wget https://github.com/chunky-milk/pi-bashscripts-files/raw/main/wine_on-RPiOS/wine-devel_5.21%7Ebuster_i386.deb
dpkg-deb -xv wine-devel-i386_5.21~buster_i386.deb wine-installer
dpkg-deb -xv wine-devel_5.21~buster_i386.deb wine-installer
sudo mv wine-installer/opt/wine-devel ~/wine
sudo ln -s ~/wine/bin/wine /usr/local/bin/wine
sudo ln -s ~/wine/bin/winecfg /usr/local/bin/winecfg
sudo ln -s ~/wine/bin/wineserver /usr/local/bin/wineserver
wine wineboot
cd ~/Downloads
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
sudo chmod +x winetricks
sudo cp winetricks /usr/local/bin
sudo apt-get install cabextract -y
BOX86_NOBANNER=1 winetricks dotnet20sp2