====== Wine ======
To install the latest Wine version from WineHQ in Debian, follow these commands:
sudo dpkg --add-architecture i386
wget -q https://dl.winehq.org/wine-builds/winehq.key -O- | sudo apt-key add -
sudo apt-add-repository https://dl.winehq.org/wine-builds/debian/
sudo apt-get update
sudo apt-get install --install-recommends winehq-stable
wine --version
For Ubuntu Jammy / Mint 21.2
wget -q https://dl.winehq.org/wine-builds/winehq.key -O- | sudo apt-key add -
echo "deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main" | sudo tee /etc/apt/sources.list.d/winehq.list
sudo apt-get update
sudo apt-get install --install-recommends winehq-stable
https://wiki.winehq.org/Debian
===== Disable debug output =====
To disable wine debug messages, either prefix wine with the environment variable like
WINEDEBUG=-all wine command
or add into .bashrc or profile
# disable all wine debug messages
export WINEDEBUG=-all