Install golang-dbus-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-dbus-dev
Description:
Go client bindings for D-Bus
Package "dbus" is a simple library that implements native Go client bindings for the D-Bus message bus system. . This package contains the source.
Homepage: https://github.com/godbus/dbus
Version: 4.1.0-1
Section: universe/devel