Please note I've not been able to test this on a clean install since my linux computer is old and already has an HTK installed on it!
These instructions are for installing HTK on your own computer. It's fine just to use the remote desktop though! If you use the remote desktop you don't have to install anything.
I got HTK to work Ubuntu WSL 2 by installing a bunch of packages. To be honest, I'm not sure if I needed all of them, but I'll list them all here anyway.
First you need to make sure you are running WSL version 2. You can find out which version you are using by opening Powershell in Windows and typing