Running Linux programs on Windows

run linux programs under windows
run linux programs under windows

Last updated: July 3, 2022

To have Linux on your PC you can install it on a dedicated partition or use a Live CD. But if you don't have your Live CD and want to test an application, there is still the solution from theemulator.

Of course there is WINE, but the latter emulates the whole Linux system (which is heavy) while Foreign Linux will simply translate requests from the Linux system to their Windows equivalent.

Foreign LINUX is an open source tool that allows you to launch Linux binaries on Windows. The goal is to run Linux programs in a 100% Windows environment.

To use it, start with download the package then unzip the archive on your desktop. Then launch the run_bash.cmd file.

foreign-linux-windows
Foreign Linux interface

Then type the following command to install the program you want to have:

pacman -S

The Foreign Linux development team implemented the kernel system calls and mapped them to the Windows ones so that the binaries could launch on Windows. Of course this is very experimental so you have to be careful, but it allows for the moment running small utilities like nano, vim, bash, wget, curl, ssh, games like pacman, nethack and dev tools like python or gcc ... etc.

For the moment, Foreign Linux does not allow management of file permissions, process management, multitasking, etc. So programs that ask for this stuff will not be able to work.