在Linux(Ubuntu)執行Windows的.exe程式

Wine

Step 1 — Setup PPA

sudo dpkg --add-architecture i386
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
### Ubuntu 19.10
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'

### Ubuntu 18.04
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport


### Ubuntu 16.04
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'

Step 2 — Install Wine on Ubuntu

sudo apt update
sudo apt install --install-recommends winehq-stable
### If you face unmet dependencies error during installation, use the following commands to install winehq using aptitude.sudo apt install aptitude
sudo aptitude install winehq-stable

Step 3 — Check Wine Version

wine --version

How to Use Wine?

### After that Download a windows .exe file like PuTTY on your system and open it with Wine as below screenshot or use following command.wine putty.exe

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store