Packer version on Ubuntu 22 too old

The docs say that you need packer to build images. It should also mention what version(s) are supported or are known to work, because the one that I installed for Ubuntu 22 using apt install did not have the init option.