Openhab2 2.4.0-M2

Use the command

sudo apt-cache madison openhab2

To see the latest packages, then use the version that’s on the top of the list.