Install libgd-svg-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libgd-svg-perl
Description:
Seamlessly enable SVG output from scripts written using GD
GD::SVG painlessly enables scripts that utilize GD to export scalable vector graphics (SVG). It accomplishes this task by wrapping SVG.pm with GD-styled method calls. To enable this functionality, one need only change the "use GD" call to "use GD::SVG" (and initial "new" method calls).
Homepage: https://metacpan.org/release/GD-SVG
Version: 0.33-2
Section: universe/perl