EdrawMax 2021 is for new Linux kernels. For the best experience on Ubuntu 22.04 LTS or newer, consider:
Below is a complete piece you can use.
sudo dpkg --add-architecture i386 sudo apt update sudo apt install wine64 wine32 wine-stable install edrawmax ubuntu 2021
Always keep a backup of your diagrams in .eddx (native) and .vsdx (Visio) formats for cross-platform portability. EdrawMax 2021 is for new Linux kernels