### How to install Wine on Debian
## Debian 11
wget -O- -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_11/Release.key | sudo apt-key add -
echo "deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_11 ./" | sudo tee /etc/apt/sources.list.d/wine-obs.list
## Check install
## Notepad++ editor install
------------------------------------------------------------------------------------
## Install Winetricks on Debian
Code:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt -y install gnupg2 software-properties-common
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/debian/
sudo apt update
## Debian 11
wget -O- -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_11/Release.key | sudo apt-key add -
echo "deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_11 ./" | sudo tee /etc/apt/sources.list.d/wine-obs.list
Code:
sudo apt update
sudo apt install --install-recommends winehq-stable
## Check install
Code:
sudo wine --version
## Notepad++ editor install
Code:
cd ~/Downloads
wget https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.1.9/npp.8.1.9.Installer.exe
wine ./npp.8.1.9.Installer.exe
------------------------------------------------------------------------------------
## Install Winetricks on Debian
Code:
cd "${HOME}/Downloads"
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
sudo cp winetricks /usr/local/bin