Windows API for Linux

Ambar Prajapati
2 min readMay 17, 2021

--

WineHQ- Running Windows program on Linux

https://www.winehq.org/

Wine means “Wine Is Not a Windows Emulator.” It doesn’t emulate Windows; it’s an implementation of the Windows API for Linux, Mac OS X, Solaris, and the BSD family of operating systems.

See steps here for installing Wine on Ubuntu
https://wiki.winehq.org/Ubuntu

Here are some more helpful instructions for Ubuntu
https://help.ubuntu.com/community/Wine

To add the Wine Ubuntu repository:

Open a terminal and run these commands:

wget https://dl.winehq.org/wine-builds/winehq.key

sudo apt-key add winehq.key

sudo apt-add-repository ‘https://dl.winehq.org/wine-builds/ubuntu/

Enabling Windows C-Drive

The command below creates a fake C-drive on the Linux file system.
Create the drive before using Wine

winecfg

Executing a Windows executable using Wine

Copy a .exe to Linux file system and open it with Wine Windows Program Loader

Locating installed files after executing a .exe /MSI file

In your user/home folder make sure to enable — Show Hidden Files

And locate windows drive-C

--

--

No responses yet