Preface: this walkthrough is a hand-holdy step by step tutorial to enable SocketCan on your WSL2 instance (Ubuntu 20.04).
The goalposts keep moving... You can check this link for reference!
To enable SocketCAN's can-utils on WSL we need to enable the CAN interface module in the WSL, to do so requires a re-building of the WSL kernel.
Requirements:
- WSL2
- back up your wsl image (optional) follow here (wsl2-backup-and-restore-images)