我已经在 Windows Subsystem for Linux 2 shell 上安装了适用于 Ubuntu 20.04 的 MikTex:
user@machine:/mnt/c/Users/user/OneDrive/Documents/project$ sudo initexmf --register-root=/mnt/c/Users/user/OneDrive/Documents/texmf
initexmf: security risk: running with elevated privileges
user@machine:/mnt/c/Users/user/OneDrive/Documents/project$ sudo initexmf --update-fndb
initexmf: security risk: running with elevated privileges
user@machine:/mnt/c/Users/user/OneDrive/Documents/project$ ls /mnt/c/Users/user/OneDrive/Documents/texmf/bibtex/bib/
library.bib
user@machine:/mnt/c/Users/user/OneDrive/Documents/project$ biber project-file
INFO - This is Biber 2.16
INFO - Logfile is 'project-file.blg'
INFO - Reading 'project-file.bcf'
INFO - Found 13 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'library.bib' for section 0
ERROR - Cannot find 'library.bib'!
INFO - ERRORS: 1
biber: major issue: So far, you have not checked for MiKTeX updates.