WSL Debian install

Settings

How to Run a Linux Desktop Using the Windows Subsystem for Linux

Move WSL to another location

Download

C:\> whoami
test\jaime

C:\> icacls D:\wsl /grant "jaime:(OI)(CI)(F)"

C:\wsl> lxrunoffline move -n Ubuntu-18.04 -d d:\wsl\installed\Ubuntu-18.04

C:\wsl> lxrunoffline get-dir -n Ubuntu-18.04
d:\wsl\installed\Ubuntu-18.04

Stack Overflow question

commands

update

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install nano build-essential patch software-properties-common

Python3

sudo apt-get install python python3 python-pip python3-pip
pip3 install pylint pb_tool

dev

sudo apt-get install zlib1g libxml2 zlib1g-dev liblzma-dev
sudo apt install curl g++ gcc autoconf automake bison libc6-dev libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev libtool libyaml-dev make pkg-config sqlite3 zlib1g-dev libgmp-dev libreadline-dev libssl-dev

Ruby


gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
curl -sSL https://get.rvm.io | bash -s stable

source ~/.rvm/scripts/rvm

rvm install 2.5.1
rvm use 2.5.1 --default
sudo gem install jekyll bundler

GIS

sudo add-apt-repository -s 'deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic main'

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 314DF160 
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 089ebe08314df160

sudo add-apt-repository -s 'deb https://qgis.org/debian buster main'

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 51F523511C7028C3

sudo apt-get update
gdal-bin
sudo apt-get install qgis qgis-plugin-grass