dpkg-deb --build mypackage sudo dpkg -i mypackage.deb : You now have a .deb that, when installed, runs your EXE through Wine. However, the original EXE inside remains unchanged. Option 2: Using Deepin Wine or CrossOver (Commercial) The Deepin Linux team has created a modified version of Wine called Deepin Wine , which packages many popular Windows apps (like WeChat or Photoshop) into .deb files directly. These are pre-converted for you.
git clone https://github.com/zq1997/deepin-wine.git cd deepin-wine ./install.sh These scripts download pre-built .deb packages that contain EXE+Wine. You are not doing the conversion yourself, but you benefit from the result. how to convert exe to deb link
| Windows EXE | Native Linux .deb Alternative | |-------------|-------------------------------| | Photoshop | GIMP, Krita | | Microsoft Office | LibreOffice, OnlyOffice | | Adobe Illustrator | Inkscape | | Notepad++ | Notepadqq, Sublime Text | | WinRAR | File Roller, Ark | dpkg-deb --build mypackage sudo dpkg -i mypackage
Package: my-windows-app Version: 1.0 Section: utils Priority: optional Architecture: all Depends: wine Description: Windows app packaged for Linux Then build: These are pre-converted for you