Safe & stupid simple API for XML canonicalization, built on libxml2.
See requirements for the libxml package.
Long story short, on Ubuntu/Debian, you need
commandline sudo apt install libxml2-dev