ddcutil is the standard utility on Linux for that. It is just command line but it’s highly compatible and very easy to use: https://www.ddcutil.com/
I even use it for the network-based DDC in Lunar through a Raspberry Pi when wire-DDC from the Mac is not available: https://alinpanaitiu.com/blog/journey-to-ddc-on-m1-macs/#the...