Maybe Inkscape could do that. To install Inkscape in all currently supported versions of Ubuntu open the terminal and type:
sudo apt install inkscape
From Inkscape FAQ: What formats can Inkscape import/export?:
Inkscape natively supports opening or importing SVG, SVGZ (gzipped SVG), PDF, and AI (Adobe Illustrator) formats.
With the help of extensions, Inkscape can open a number other vector formats. For importing PostScript or EPS, you need to install Ghostscript (sudo apt install ghostscript
) and make sure ps2pdf is in your PATH. For formats of Dia, XFig, or Sketch, you need to have these programs installed. For CorelDraw, CGM, and SK1 files, you need to have UniConverter installed.
Inkscape can natively import most raster formats (JPEG, PNG, GIF, etc.) as bitmap images, but it can only export PNG bitmaps.
Inkscape can save as SVG, SVGZ, PDF, Postscript/EPS/EPSi, Adobe Illustrator (*.ai), LaTeX (*.tex), POVRay (*.pov), HPGL, and others.