This blog is NOT OFFICIAL website of Kali Linux. We just share Tutorials to learn Cybersecurity.

How to Run Windows Application and Games on Kali Linux


There are so many users recently switched in Kali Linux from Windows, some of them and they want to run Windows programs and games in Kali Linux. So in our today's tutorial we will describe how to run Windows programs and games in Kali Linux.

run windows apps in Kali Linux

We can easily do this via wine. Wine is a program by using it we can run Windows programs in Linux environment (Linux, macOS, & BSD). The full from of wine is Wine Is Not an Emulator. Really it is not an emulator or virtual machine, wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing us to cleanly integrate Windows applications into our desktop.

How to Install Wine in Kali Linux

In our Kali Linux system we can install wine by simply using following command:

sudo apt-get install wine

The following screenshot shows that we already have wine's latest version.

Wine instaling in Kali Linux
Wine is already installed in our case
We can't run it now, we need another tool that is called wine-32. Wine-32 requires for 32 bit packages but it is necessary to run wine tool.

We can install wine32 by simply using apt-get install command but first we need to add 32 bit architecture in our machine. To do this we use following command:

sudo dpkg --add-architecture i386

After this we need to update our system for new architecture's repository by applying following command:

sudo apt-get update

Then we can install wine32 in our system, so we run the apt-get command:

sudo apt-get install wine32

It may take some minutes depending on our internet speed and system performance. Then it will ask for restarting some libraries, we click here yes(Tab key might be useful). Then after completing the process we restart/reboot our PC.

restarting some libraries

Then we need to configure our wine to run Windows applications. To do that we open wine configuration by applying command:


It will open the configuration window of wine. As shown in  the following screenshot:

wine configuration

Here we can configure wine. We can set Windows version, Libraries, Graphics, Audio, Drivers, Audio etc, but for now we leave these on default configuration. 

Run Windows Application in Kali Linux

Now we are all set to run Windows applications and games in Kali Linux. We just need to type wine name-of-installer.exe in terminal.

For an example we are going to install notepad++ in our Kali Linux.

We need to open our terminal where the notepad++ setup file or exe file stored (In our case it's in our /Downloads directory, as we can see the directory in the following screenshot) and type following command:

wine npp.7.8.8.Installer.x64.exe

Then it will start it's installing process and we can complete it as we do in Windows OS, as we can see in the following screenshot.

notepad ++ installing in Kali Linux using wine
After complete installation during the funny next next way (Windows installation process LMAO) we check on create desktop icon and we got notepad++ icon on our desktop.
Notepad++ on Kali Linux Desktop
Notepad++ on Kali Linux Desktop

Now we can launch Notepad++ from directly our desktop. Isn't it really cool ??

We also can start it from Application Menu>Wine>Programs>Notepad++

Notepad ++ on Kali Linux

Now if we want that we don't wanna use terminal and we need to open every exe file through wine directly. We just skip the terminal then we need to set wine program loader as default for exe files. We need to create a symbolic link of it. To do it we use following command:

sudo ln -s /usr/share/doc/wine/examples/wine.desktop /usr/share/applications

Then the link will be created, now we need to set it default for all exe files. To do so we right click on any exe file and choose "open with another application".

exe file opening with another application

Now we scroll down very lower (or we can press wine on our keyboard) to find "Wine Windows Program Loader". We need to select it and must check ✅ on the box "Use as default for this kind of file" as we did in the following screenshot:

Choosing Wine Windows Program Loader as a default

Then we need to click on open. After this point our system will open every exe file via wine as default.

This is how we can install any application in Kali Linux such as Adobe Photoshop, Microsoft Office. Nowadays we can run latest versions of Windows programs in Linux even we can install Adobe Photoshop CS 2020.

Wine creates file systems like Windows in our home directory but it is a hidden directory. Anyways we have opened it in the next screenshot.

wine file system

Here we can see the file system is just like Windows. Wine creates an entire system like Windows that's why we can run Windows application in Linux, not like virtual machine or emulator they creates another virtual system inside our system.

Additional Wine

Another tool is called "Winetricks", it helps us to install various Windows games, application, dll libraries, fonts etc.

Lets install Winetricks by using following command:

sudo apt-get install winetricks

This is a very small tool should install in some seconds.

installing wine tricks

After installing it we run this tool by using following command:


After this the menu opens like the following screenshot:

winetricks menu

From here we can easily install application, games and much more things.

Some wine tricks applications

Here is some winetricks applications list. We can see MS Office versions here. The MS Office 2013 is available for direct download via winetricks.



This is how we can install & run Wine in our Kali Linux system and install Windows applications and games in Kali Linux. Found it useful? Need more articles and article updates? Make sure to follow us to get all our articles directly on notification. We are also available on Twitter and GitHub, we post article updates there. To join our KaliLinuxIn family, join our Whatsapp Channel & Telegram Group. We are trying to build a community for Linux and Cybersecurity. For anything we always happy to help everyone on the comment section. As we know our comment section is always open to everyone. We read each and every comment and we always reply.

Kali Linux


Post a Comment
  • Mohd Wasim photo
    Mohd WasimJanuary 12, 2021 at 9:40 PM

    Showing illegal instruction

    Delete Comment
    • Kali Linux photo
      Kali LinuxJanuary 13, 2021 at 11:07 AM

      ON which step? Can you share the full details ti us then we can help you.

      Delete Comment
    • AnonymousJanuary 13, 2021 at 10:36 PM

      Hi when i open Legion,the window size is bigger and i cant see its options.what to do?

      Delete Comment
      • Kali Linux photo
        Kali LinuxJanuary 14, 2021 at 12:28 PM

        Same problem from everyone. In this case we can just Right click on Legion (Upper window panel) and choose Move. Then the window will move. See the process here, in this screenshot.

        Delete Comment
      • Shashwat photo
        ShashwatSeptember 9, 2021 at 4:59 PM

        Give any easier way

        Delete Comment
      • AnonymousJune 14, 2024 at 8:51 PM

        tnx bro

        Delete Comment