4 Ways to Run Linux Apps and Games on Windows
Pinterest Whatsapp
Advertisement

Need to run Linux software within Windows? Stuck using Microsoft’s operating system when you need to access the terminal? Worry no longer. You have several options to enjoy a Linux environment and even run Linux software within Windows.

1. Bash and Windows Subsystem for Linux

Need a Linux environment within Windows? In 2016, Microsoft teamed up with Canonical to create a working version of Bash that runs in Windows. Capable of running commands and tools like grep, ssh, and nano, Bash on Windows can be enabled with ease A Quick Guide to Linux Bash Shell in Windows 10 A Quick Guide to Linux Bash Shell in Windows 10 You can now run Linux on Windows. Learn more about Bash on Windows, from how and why you should install it, to hidden features you probably didn't know about. Read More .

Similarly, the Windows Subsystem for Linux is waiting to be “switched on”, and this can provide you with a graphic user interface. While it might look like “full Linux”, this isn’t necessarily the case.

However, work continues on developing this environment, and eventually it is planned to be as useful as having a Linux PC in front of you. Following the success of the Canonical project, other Linux distros have teamed up with Microsoft to get their environments bundled into Windows.

It goes the other way, too: you can now install Windows PowerShell in Linux How to Install and Use PowerShell on Linux How to Install and Use PowerShell on Linux In 2016, Microsoft open-sourced PowerShell and debuted a cross-platform iteration. In this article I'm going to show you how to install, run, and use PowerShell on Linux! Read More !

2. Run Linux in a Virtual Machine

how to run linux apps in windows

Not all versions of Windows can run Bash or get a GUI using the Windows Subsystem for Linux. Fortunately, there is an alternative: virtualization!

Using a virtual machine such as VMware Player or VirtualBox VirtualBox vs. VMware Player: The Best Virtual Machine for Windows VirtualBox vs. VMware Player: The Best Virtual Machine for Windows Are you struggling to decide which virtual machine software to use? VirtualBox and VMware Workstation Player are both free. But which one is best for you? Let us help you find out! Read More , you can create a virtual hardware environment (limited only by the physical hardware constrains of your computer).

Within this virtual machine, you can then install Linux (a lightweight distro is recommended in most cases). With a version of Linux running within Windows, you can add and remove your favorite Linux apps and games as needed.

For those who use Linux regularly, having a Linux virtual machine in Windows can be preferable to dual booting Dual Boot vs. Virtual Machine: Which One Is Right for You? Dual Boot vs. Virtual Machine: Which One Is Right for You? If you want to run multiple operating systems on one machine, you can either dual boot or use a virtual machine. But which option is better for your case? Read More .

3. coLinux

Cooperative Linux (shortened to coLinux) is a port of the Linux kernel, designed to allow it to run alongside another operating system (cooperatively). With coLinux, you can run Linux on a Windows computer without relying on virtualization. There is also support for BSD and macOS.

What this means is that you can run Linux apps and other software on your PC alongside your Windows software. They literally share screen space as separate apps, making the task of quickly switching to a Linux app as easy as it gets.

With a compact 7.5MB download, coLinux is worth installing to find out if it will support the sort of activity you have in mind. If not, other solutions are open to you.

4. Remotely Access an Existing Linux Computer

how to run linux apps in windows

While not an exact definition of “running Linux apps on Windows”, using remote tools is still an option. Three are commonly available:

  • Remote Desktop Protocol (RDP)
  • Virtual Network Computing (VNC)
  • Secure Shell (SSH)

With RDP and VNC, you can connect to a remote Linux computer (which might be in the next room, or even thousands of miles away) and access it via an application window. Here, software can be launched and the terminal accessed as you would expect.

SSH, meanwhile, gives remote access to a terminal session, enabling you to use the command line to manage files and folders, update and install software, etc.

Of these three potential solutions, RDP is probably the best option. The RDP tool is already built into Windows 10 (unlike VNC, which requires additional software), so all you need to do is install xrdp on your target Linux device. However, if SSH is already enabled on Linux, then you’ll be able to easily remote connect to the command line via an SSH tool like PuTTY.

See our guide for all three methods of remotely accessing Linux from Windows How to Remote Control Linux From Windows How to Remote Control Linux From Windows Read More for more information.

Is the App Already Available for Windows?

If nothing you’ve read or tried so far is working for you, there is another choice: find the Windows version! Many apps that are released on Linux are also available on Windows. This might be because the tools have been ported across, or they’ve been recompiled to run in Windows.

Also, many apps are written on cross-platform code such as Java, which means the exact same app that runs in Linux will also run in Windows (and, probably macOS and other).

The best way to find out if the app is available for Windows is to contact the developer. If they don’t maintain their own Windows version, he or she may be aware of a project fork that offers support for Windows.

Now You Can Run Linux Software in Windows

Running Linux software within Windows isn’t as hard as you thought, is it? While it might be better to run these apps within their native environment, you nevertheless have five ways to play with Linux on a Windows PC.

To recap, these are:

  • Linux subsystem for Windows
  • Virtual machine
  • coLinux
  • Ported, recompiled, and cross-platform software
  • RDP, VNC or SSH connection to a Linux device

Of these, the Linux subsystem for Windows, and a virtual machine, are arguably the most reliable. However, if you’re lucky enough to find an app that has been ported, or is cross-platform, then this should afford the best experience.

As useful as all of these options are, dual booting Linux and Windows is more reliable 7 Reasons Why You Should (and Shouldn't) Dual Boot Linux 7 Reasons Why You Should (and Shouldn't) Dual Boot Linux Often, making the choice of installing Linux over Windows can be tricky to justify. But why not opt for both? Here are five reasons to dual boot and two reasons you shouldn't. Read More . Meanwhile, if all you need is a Linux machine that you can easily access from time to time, why not consider dedicated Linux box?

Enjoyed this article? Stay informed by joining our newsletter!

Enter your Email

Leave a Reply

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

  1. John Smith
    July 4, 2018 at 7:49 pm

    You can also use Docker for windows, Vagrant (which uses any hypervizor you tell it to), on Windows.

  2. gfd
    July 3, 2018 at 5:28 pm

    It would appear that CoLinux hasn't been updated since 2011, so I'm not sure it's viable today.