Configuring wireguard on matrixraspberry pi 3

Hi everyone:)
I have been searching this forum and the internet for days now, but fail to find instructions on how to configure wireguard.
I am currently on matrix “Linux osmcMill19 5.10.78-2-osmc #1 SMP PREEMPT Wed Nov 17 03:44:59 UTC 2021 armv7l GNU/Linux”
I found this post: [TESTING] Kodi v19 builds for Raspberry Pi 2/3/4 - #300 by dillthedog
Great, I can confirm that this works!
However how do I proceed from here, to configure the wireguard interface?
All instructions I come across in my searching describes using the wg command (fx. “wg setconf wg0 myconfig.conf” ), but the wg command is not available: “-bash: wg: command not found”
So I try to install it:
“sudo apt-get install wg”
…but get:
“E: Unable to locate package wg”
Quite frustrating!
Please if anyone could help me here, it would be greatly appreciated! -please elaborate any answer, as I am not very experienced in these matters :blush:
Cheers K

The package is called wireguard-tools but it is not in the buster repository but only the buster-backports repository.

So you either have to add the buster-backports repository to your apt sources.list or need to wait till OSMC moves to bullseye which should be not too far out.

Thanks. After quite a bit of mocking about, I got it working :partying_face: