
If you’ve already attempted the install, and it failed (otherwise, why would you be reading this article?), lets first clean up the mess. libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file '/lib/modules/4.19.84-microsoft-standard/' modprobe: ERROR: could not insert 'wireguard': Exec format error Cleanup libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.19.84-microsoft-standard/' modprobe: FATAL: Module wireguard not found in directory /lib/modules/4.19.84-microsoft-standard $ sudo modprobe wireguard modprobe: ERROR.

Text output, for screen readers and SEO: $ sudo ip link add dev wg0 type wireguard RTNETLINK answers: Operation not supported $ sudo modprobe wireguard modprobe: ERROR.
