Convert PNG image to SVG on Linux

The following does not work very well on some images

apt install potrace
convert yourfile.png yourfile.bmp
potrace -s yourfile.bmp
// result: yourfile.svg

Interesting conversion project in node: https://github.com/jankovicsandras/imagetracerjs#inkscape-extension