Using latex/luatex in WSL, you may find yourself wanting to grab fonts you're used to working with, like TimesNewRoman. Microsoft Fonts aren't available and usable by default.
I believe there's a way to make WSL see the existing Windows system fonts, but here's another quick fix that will work on any Ubuntu/Debian install.
The error:
Package fontspec Error: The font "TimesNewRoman" cannot be found.
To fix, install ttf-mscorefonts-installer:
sudo apt install ttf-mscorefonts-installer
#latex #lualatex #fontsspec #timesnewroman #setmainfont #wsl #wsl2