Skip to content

Installing and running lich in WSL using ProfanityFE

vtcifer edited this page May 19, 2021 · 4 revisions

WIP - Work in Progress - Not finalized - WIP

This page will go over the required steps and packages needed to install and run lich in WSL (Windows Subsystem for Linux). It is a moderately technical exercise, and you should be comfortable following technical documents/instructions before trying this, as this guide will not duplicate instructions available on other sites (for example setting up WSL itself).

Setup Windows Subsystem for Linux (WSL) environment

Install WSL2

Instructions with some troubleshooting steps for installing WSL on windows are available from microsoft.

Install your chosen Linux Distro from the windows store

It is recommended to go with kali-linux, as this distro also provides win-kex, which provides access to a non-X based gui. While a GUI is not required to run lich on linux, without it you do need to set up your login profiles on another PC which can run lich.

Update your linux install

It is always best to ensure your linux install is up to date after deploying it. As root run the following commands:

  • apt update
  • apt upgrade

Install Lich

Install pre-reqs

The following packages are needed either for lich/profanityFE, or the ruby gems required by lich/profanityFE.

build-essential ruby-dev sqlite3 libsqlite3-dev libncurses5-dev libgirepository1.0-dev libgtk2.0-dev openssl libssl-dev tmux git wget

Use the package manager of your linux distro to install these. For kali-linux and other debian based distros this would be apt. As root, run

  • apt install build-essential ruby-dev sqlite3 libsqlite3-dev libncurses5-dev libgirepository1.0-dev libgtk2.0-dev openssl libssl-dev tmux git wget

Compile and install required ruby gems

As root, run the following commands

  1. gem install rake
  2. gem install sqlite3 curses logger gtk2 fiddle dl time rexml stringio zlib drb resolv openssl

Download lich profanity

Clone this wiki locally