Meld Homepage , Electronic PCB PCBA , Software .NET AVR PLM BOM , Network TCP UDP MQTT , Microcontrollers AVR ARM , Powersupplys Switchmode , Nursecall MC5000 CD2000

Date: 2025-02-12
Updated: 2025-02-24
Author: Erik Leth Danielsen
Winehq Winetricks

Winehq Winetricks


Printscreen of winecfg



Short
Wine is an acronym standing for Wine Is Not an Emulator
Wine is a windows machine running in a folder
The Default wine folder is /home/user/.wine,
there is no limit to the numberes of WINEPREFIXE's / wine Folders
Install Wine, there are 3 wayes to do it on Debian 12
1. install "wine/stable,stable 8.0~repack-4 all" This couldn't run directx 3D
sudo apt install wine 
2. install winehq-stable(Is alwayes the newest version) it also works but will bee updated
sudo apt install winehq-stable //it dos the same as this
3. install winehq-stable/stable,now 10.0.0.0~bookworm-1 amd64 (spesefik version) The one i'm using
apt list winehq-stable --all-versions
sudo apt install winehq-stable=10.0.0.0~bookworm-1
3. install winehq-stable/stable,now 9.0.0.0~bookworm-1 amd64
sudo apt install winehq-stable=9.0.0.0~bookworm-1 wine-stable=9.0.0.0~bookworm-1 wine-stable-amd64=9.0.0.0~bookworm-1 wine-stable-i386=9.0.0.0~bookworm-1
Check Wine Version
wine --version
Uninstall Wine
sudo apt purge wine*
sudo apt purge wine-stable-i386
Create folder "/home/wine/npp" and install notepad++ with Wine
Install NPP:
Download NPP: https://notepad-plus-plus.org/downloads/v8.7.4/
WINEPREFIX=/home/wine/npp wine /home/eld/Downloads/programs/npp.8.7.4.Installer.exe
Run NPP from the windows start menu:
WINEPREFIX=/home/wine/npp wine start "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Notepad++.lnk"
Run uninstaller:
WINEPREFIX=/home/wine/npp wine uninstaller


Other wayes to start npp: WINEPREFIX="/home/wine/npp" wine "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Notepad++.lnk" WINEPREFIX="/home/wine/npp" wine start 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Notepad++.lnk' WINEPREFIX="/home/wine/npp" /opt/wine-stable/bin/wine "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Notepad++.lnk" WINEPREFIX="/home/wine/npp" wine start /Unix /home/wine/npp/dosdevices/c:/ProgramData/Microsoft/Windows/Start\ Menu/Programs/Notepad++.lnk WINEARCH=win32 WINEPREFIX="/home/wine/npp" wine start 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Notepad++.lnk' WINEDEBUG=warn+all WINEPREFIX="/home/wine/npp" wine start 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Notepad++.lnk' Tools for controlling wine WINEPREFIX / Folder WINEPREFIX=/home/wine/xxx winecfg //configurer folder xxx , add dll's WINEPREFIX=/home/wine/xxx wine installation.exe //installer program in folder xxx: WINEPREFIX=/home/wine/xxx wine regedit //run regedit for folder xxx WINEPREFIX=/home/wine/xxx wine uninstaller //run uninstall folder xxx Start Program: WINEPREFIX=/home/wine/xxx wine start c:/ProgramData/Microsoft/Windows/Start\ Menu/Programs/xxx/xxx.lnk WINEPREFIX=/home/wine/xxx wine start /Unix /home/wine/xxx/dosdevices/c:/ProgramData/Microsoft/Windows/Start\ Menu/Programs/xxx/xxx.lnk Start other windows system applications WINEPREFIX=/home/wine/xxx wine notepad.exe WINEPREFIX=/home/wine/xxx wine explorer.exe WINEPREFIX=/home/wine/xxx wine hh.exe WINEPREFIX=/home/wine/xxx wine notepad.exe WINEPREFIX=/home/wine/xxx wine regedit.exe WINEPREFIX=/home/wine/xxx wine rundll.exe WINEPREFIX=/home/wine/xxx wine winhelp.exe WINEPREFIX=/home/wine/xxx wine winhlp32.exe WINEPREFIX=/home/wine/xxx wine "c:/Program Files/Windows NT/Accessories/wordpad.exe" Winetricks is a program there can help setting up wine and run winecfg, regedit, uninstaller WINEPREFIX=/home/wine/xxx Winetricks //Run Wine Tricks WINEARCH=win32 WINEPREFIX=/home/wine/xxx winetricks mdac28 gdiplus corefonts //install 3 packages
List of wine packages on MY Debian 12, after sudo apt install winehq-stable
eld@deb12eld:~$ apt list wine*
Listing... Done
wine-binfmt/stable,stable 8.0~repack-4 all
wine-devel-amd64/stable 10.1~bookworm-1 amd64
wine-devel-dbg/stable 10.1~bookworm-1 amd64
wine-devel-dbg/stable 10.1~bookworm-1 i386
wine-devel-dev/stable 10.1~bookworm-1 amd64
wine-devel-dev/stable 10.1~bookworm-1 i386
wine-devel-i386/stable 10.1~bookworm-1 i386
wine-devel/stable 10.1~bookworm-1 amd64
wine-devel/stable 10.1~bookworm-1 i386
wine-stable-amd64/stable,now 10.0.0.0~bookworm-1 amd64 [installed,automatic]
wine-stable-dbg/stable 10.0.0.0~bookworm-1 amd64
wine-stable-dbg/stable 10.0.0.0~bookworm-1 i386
wine-stable-dev/stable 10.0.0.0~bookworm-1 amd64
wine-stable-dev/stable 10.0.0.0~bookworm-1 i386
wine-stable-i386/stable,now 10.0.0.0~bookworm-1 i386 [installed,automatic]
wine-stable/stable,now 10.0.0.0~bookworm-1 amd64 [installed,automatic]
wine-stable/stable 10.0.0.0~bookworm-1 i386
wine-staging-amd64/stable 10.1~bookworm-1 amd64
wine-staging-dbg/stable 10.1~bookworm-1 amd64
wine-staging-dbg/stable 10.1~bookworm-1 i386
wine-staging-dev/stable 10.1~bookworm-1 amd64
wine-staging-dev/stable 10.1~bookworm-1 i386
wine-staging-i386/stable 10.1~bookworm-1 i386
wine-staging/stable 10.1~bookworm-1 amd64
wine-staging/stable 10.1~bookworm-1 i386
wine32-preloader/stable 8.0~repack-4 i386
wine32-tools/stable 8.0~repack-4 i386
wine32/stable 8.0~repack-4 i386
wine64-preloader/stable 8.0~repack-4 amd64
wine64-tools/stable 8.0~repack-4 amd64
wine64/stable 8.0~repack-4 amd64
wine/stable,stable 8.0~repack-4 all
winehq-devel/stable 10.1~bookworm-1 amd64
winehq-devel/stable 10.1~bookworm-1 i386
winehq-stable/stable,now 10.0.0.0~bookworm-1 amd64 [installed]
winehq-stable/stable 10.0.0.0~bookworm-1 i386
winehq-staging/stable 10.1~bookworm-1 amd64
winehq-staging/stable 10.1~bookworm-1 i386
eld@deb12eld:~$ 

eld@deb12eld:~$ apt list winehq-stable --all-versions
Listing... Done
winehq-stable/stable,now 10.0.0.0~bookworm-1 amd64 [installed]
winehq-stable/stable 9.0.0.0~bookworm-1 amd64
winehq-stable/stable 8.0.2~bookworm-1 amd64
winehq-stable/stable 8.0.1~bookworm-1 amd64
winehq-stable/stable 8.0.0.0~bookworm-1 amd64
winehq-stable/stable 7.0.2~bookworm-1 amd64
winehq-stable/stable 7.0.1~bookworm-1 amd64
winehq-stable/stable 7.0.0.0~bookworm-1 amd64
winehq-stable/stable 6.0.4~bookworm-1 amd64
winehq-stable/stable 6.0.3~bookworm-1 amd64
winehq-stable/stable 6.0.2~bookworm-1 amd64

winehq-stable/stable 10.0.0.0~bookworm-1 i386
winehq-stable/stable 9.0.0.0~bookworm-1 i386
winehq-stable/stable 8.0.2~bookworm-1 i386
winehq-stable/stable 8.0.1~bookworm-1 i386
winehq-stable/stable 8.0.0.0~bookworm-1 i386
winehq-stable/stable 7.0.2~bookworm-1 i386
winehq-stable/stable 7.0.1~bookworm-1 i386
winehq-stable/stable 7.0.0.0~bookworm-1 i386
winehq-stable/stable 6.0.4~bookworm-1 i386
winehq-stable/stable 6.0.3~bookworm-1 i386
winehq-stable/stable 6.0.2~bookworm-1 i386
eld@deb12eld:~$ 
Back

Sources
Winehq: https://gitlab.winehq.org/wine/wine/-/wikis/Debian-Ubuntu
Winetricks: https://gitlab.winehq.org/wine/wine/-/wikis/Winetricks
Check dpkg-architecture: https://askubuntu.com/questions/852115/how-to-check-if-dpkg-architecture-list-has-all-the-architectures
Download NPP: https://notepad-plus-plus.org/downloads/v8.7.4/
Wine News: https://www.winehq.org/news/
Privacy Policy © MELDCO APS | skovsgaardsparken 6 | 8362 hoerning | E-mail: info2@meldco.dk | VAT ID: 34576149 473460