Setting up WSL

less than 1 minute read

Cleaning up manually the WSL instance

For any reason you failed to install WSL from Microsoft store, you might need to clean up manually the downloaded WSL instance, the default location is at: $env:LOCALAPPDATA\Packages

For example, Ubuntu v1804 is at: C:\Users\xiang\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\

Just delete the folder then reinstall it from Microsoft store.

Changing the default ls output directory color

# add to ~/.bashrc
export LS_COLORS="ow=0;36;40"

ow = (OTHER_WRITABLE) Directory that is other-writable (o+w) and not sticky

Installing Python3.7 on Ubuntu 1804

Installing Python3.7 will automatically prompt you to update libssl.

sudo apt update
sudo apt install python3.7 python3.7-venv python3-venv

Tags: ,


Leave a comment