Windows Apps und Games mit Linux

Das Arbeitstier

Beinahe schon unverzichtbar; Mit Wine lassen sich ganz einfach gesagt Windows Programme auf Linux laufen - und wenn noch aktuell mit Darwine auch auf einem Mac.

Nützliches aus dem Notizblock

env WINEPREFIX=/home/user/.wine/ wine

NVidia Bibliotheken

WINEPREFIX=/home/user/.wine/ ./setup_nvlibs.sh install

WINEPREFIX=/home/user/.wine/ wine bin/nvapi64-tests.exe

 

Nützliche Commands

  1. winecfg
  2. wine uninstaller
  3. wine control

 

Installationsmethoden

Entweder Wine direkt über die Anwendungsverwaltung laden oder mit dem Installieren von Steam Proton wird Wine gleich mitinstalliert.

Alternativ lässt sich das natürlich auch mit sudo apt install --install-recommends winehq-staging

 

Wine-Staging

Für erweiterten GPU-Support.

sudo dpkg --add-architecture i386
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo apt update
sudo apt install --install-recommends winehq-staging
sudo apt install wine-desktop-files

 

To run Wine Staging without compatibility symlinks always type /opt/wine-staging/bin/wine, for example:

bash
cd ~/.wine/drive_c/<your path>/
/opt/wine-staging/bin/wine game.exe

You also have to add /opt/wine-staging/bin/ when running other wine related programs, here are some additional examples:

bash
# Initialize the wine prefix
/opt/wine-staging/bin/wineboot

# Open the wine configuration
/opt/wine-staging/bin/winecfg

# Run winepath to convert paths
/opt/wine-staging/bin/winepath --unix 'c:\Windows'

# Kill the running wineserver instance
/opt/wine-staging/bin/wineserver -k

Wineprefix

Unless you specify a special WINEPREFIX environment variable, Wine Staging will use the same wineprefix ~/.wine (in your home directory) like regular Wine. This allows you to use your already installed programs directly, without much effort or re-installing them.

Was this helpful?

0 / 0

Schreibe einen Kommentar 0

Your email address will not be published. Required fields are marked *


WeltenSchmid Knowledge Base Skip to content