Why Dragonfly inside WSL
The Windows Subsystem for Linux, commonly known as WSL, is an optional feature available on Windows 10 that allows Linux programs to natively run on Windows (inside a Windows 10 version of the Bash shell). WSL was designed by Microsoft in partnership with Canonical, the creators of Ubuntu. Together, they have created a kernel compatibility layer based on Ubuntu. To run WSL you need:
Windows 10 64-bit version 1607 or above
CLICK HERE TO CHECK YOUR WINDOWS VERSION
Using WSL is different from installing a virtual machine (with VMware or Virtual Box), as with WSL the Linux system runs natively on Windows. There is no third party involved and this means that the level of performances is much higher than when using a virtual machine. Despite this, consider that with WSL the performances are still about 20% slower than with a native Ubuntu installation.
1 – Enable WSL in Windows 10
- Open PowerShell as Administrator and run:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
- Restart your computer when prompted (mandatory).
2 – Install Ubuntu inside WSL
Click the following link to automatically install the current Ubuntu LTS release from the Microsoft store:
Ubuntu 18.04 LTS (Bionic).
3 – Install Dragonfly inside Ubuntu
- Open the Ubuntu Terminal via one of the following methods:
- search for UBUNTU inside the Windows Start menu;
- or from the Windows command line using the wsl command;
- or from the Windows command line launching the command: ubuntu1804
- Launch these commands inside the terminal:
sudo apt-get update sudo apt install unzip sudo apt install make cmake
- Now it is important to close the Ubuntu Terminal and re-open it again.
- Download the latest version of Dragonfly with this command:
- Launch these commands to install Dragonfly:
unzip dragonfly-installation-linux-2.3.zip cd dragonfly-linux ./install.sh # At this stage, you will be asked for superuser credentials for installation. The installation of the Dragonfly Java App, Web UI and all the dependencies could take a while. Be patient.