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

Yanwei Liu
1 min readAug 18, 2019

--

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

--

--