Запуск win-программ из Linux
Запуск win-программ из Linux
winetricks
Re: Запуск win-программ из Linux
playonlinux -> параметры wine -> диспетчер задач
Re: Запуск win-программ из Linux
wine start /unix "$HOME/iso/AUTORUN.exe"
This version needs winetricks -q vb6run comctl32ocx and download CodeMax 2.1
Extract cmax20.ocx from the zip file to ~/.wine/drive_c/windows/system32
Register the ocx with wine regsvr32 cmax20.ocx $ wget kegel.com/wine/winetricks
$ sh winetricks vb6run
This version needs winetricks -q vb6run comctl32ocx and download CodeMax 2.1
Extract cmax20.ocx from the zip file to ~/.wine/drive_c/windows/system32
Register the ocx with wine regsvr32 cmax20.ocx $ wget kegel.com/wine/winetricks
$ sh winetricks vb6run
Re: Запуск win-программ из Linux
Добавление архитектуры x86
dpkg --add-architecture i386 && apt-get update && apt-get install wine32
Инициализация вайны:
wineboot --init
Запуск программ:
wine программа.exe
Установить .NET Framework 4.0
apt-get install winetricks
winetricks dotnet40
Настройка wine:
q4wine
Библиотека dotnet3.0:
libgtk-dotnet3.0-cil
This software may collect information about you and your use of the software, and send that to Microsoft.
Please visit http://aka.ms/dotnet-cli-eula for more information.
Welcome to .NET!
---------------------
Learn more about .NET: https://aka.ms/dotnet-docs
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
Configuring...
--------------
A command is running to populate your local package cache to improve restore speed and enable offline access. This command takes up to one minute to complete and only runs once.
Обрабатываются триггеры для man-db (2.9.4-2) …
dpkg --add-architecture i386 && apt-get update && apt-get install wine32
Инициализация вайны:
wineboot --init
Запуск программ:
wine программа.exe
Установить .NET Framework 4.0
apt-get install winetricks
winetricks dotnet40
Настройка wine:
q4wine
Библиотека dotnet3.0:
libgtk-dotnet3.0-cil
Код: Выделить всё
Install .NET on Debian 11
Step 1. You need to have wget installed.
sudo apt install wget
Step 2. Download the Microsoft packages for Debian 11.
wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
Step 3. Install dotnet.
sudo dpkg -i packages-microsoft-prod.deb
Step 4. Remove the deb file.
rm packages-microsoft-prod.deb
Step 5. Install the SDK.
sudo apt-get update
sudo apt-get install -y dotnet-sdk-6.0
Please visit http://aka.ms/dotnet-cli-eula for more information.
Welcome to .NET!
---------------------
Learn more about .NET: https://aka.ms/dotnet-docs
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
Configuring...
--------------
A command is running to populate your local package cache to improve restore speed and enable offline access. This command takes up to one minute to complete and only runs once.
Обрабатываются триггеры для man-db (2.9.4-2) …
Re: Запуск win-программ из Linux
https://wiki.winehq.org/Debian
Remove ~/.wine if it was already created in the 64-bit mode. (WARNING: This removes all stuff you have installed under Wine. Move it aside instead if you want to avoid dataloss.)
Set the WINEARCH environment variable to win32 i.e. export WINEARCH=win32
Then run wine (or winetricks, etc.)
apt-get install cabextract texlive-latex-extra
Remove ~/.wine if it was already created in the 64-bit mode. (WARNING: This removes all stuff you have installed under Wine. Move it aside instead if you want to avoid dataloss.)
Set the WINEARCH environment variable to win32 i.e. export WINEARCH=win32
Then run wine (or winetricks, etc.)
apt-get install cabextract texlive-latex-extra
Код: Выделить всё
This package (xact_x64) does not work on a 32-bit installation. You must use a prefix made with WINEARCH=win64.
Re: Запуск win-программ из Linux
apt install winetricks WINEARCH=win32 WINEPREFIX=/home/gt/.wine winetricks
Re: Запуск win-программ из Linux
Код: Выделить всё
[Desktop Entry]
Name=Heroes III
Exec=env WINEPREFIX="/home/gt/.local/share/wineprefixes/win32" wine explorer /desktop=name,800x600 C:\\\\users\\\\Public\\\\Desktop\\\\Heroes\\ III.lnk
Type=Application
StartupNotify=true
Path=/home/gt/.local/share/wineprefixes/win32/dosdevices/c:/Program Files/3DO/Heroes3
Icon=9757_heroes3.0
StartupWMClass=heroes3.exe
Re: Запуск win-программ из Linux
Репозиторий wine
https://wiki.winehq.org/Debian
https://wiki.winehq.org/Debian
Код: Выделить всё
#!/bin/bash
dpkg --add-architecture i386
mkdir -pm755 /etc/apt/keyrings
wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
pause 2
wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources
pause 2
apt update
pause 2
apt install --install-recommends winehq-stable