Note: since this utility was written, the maintainers of Poppler have written a utility that works on the same principle: pdftocairo. I recommend that you use their utility since it is better maintained than mine.
The default repositories for CentOS 9 provide pdftocairo, but not pdf2svg.
According to the upstream URL of pdf2svg:
The default repositories for CentOS 9 provide pdftocairo, but not pdf2svg.