A full-featured utility for managing Windows Subsystem for Linux (WSL).
It would be greatly appreciated if you could make a donation to support development of this project.
Alipay
You can install via Chocolatey choco install lxrunoffline
, Scoop scoop bucket add extras
, scoop install lxrunoffline
, or download the binaries directly:
The right-click menu feature requires the shell extension DLL to be properly registered. This is automatically done if you used Chocolatey to install this project. However, if you downloaded the binaries directly, you need to run regsvr32 LxRunOfflineShellExt.dll
manually to register the DLL file.
See the Wiki to download tar files for different distros, which are used by the LxRunOffline install
command.
Run LxRunOffline
for available actions and run LxRunOffline <action-name>
for available arguments/flags.
This project uses CMake as its build system. MinGW GCC and Visual C++ compilers are supported.
Install Visual Studio 2019, latest Windows SDK, CMake and vcpkg.
Install dependencies.
vcpkg install --triplet x64-windows-static libarchive boost-program-options boost-format boost-algorithm boost-test tinyxml2
mkdir build
cd build
cmake .. ^
-G "NMake Makefiles" ^
-DCMAKE_TOOLCHAIN_FILE=<path-to-vcpkg-dir>/scripts/buildsystems/vcpkg.cmake ^
-DVCPKG_TARGET_TRIPLET=x64-windows-static
nmake
Install MSYS2.
Open the "MSYS2 MinGW 64-bit" shell from Start menu, and install dependencies.
pacman -Sy --needed --noconfirm base-devel git mingw-w64-x86_64-{toolchain,cmake,libarchive,boost,tinyxml2}
mkdir build
cd build
cmake .. -G "MSYS Makefiles"
make
-DLXRUNOFFLINE_STATIC=OFF
to switch to dynamic linking. If you're building with Visual C++, you also need to change vcpkg's triplet to x64-windows
when installing dependencies and invoking CMake.It is strongly recommended to install the April 2018 Update or later and use v3.x releases.