rsvg-convert command not found

In this troubleshooting guide we learn how to fix rsvg-convert command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

rsvg-convert: command not found

or when using sudo you get the following error message

sudo: rsvg-convert: command not found

Solutions to rsvg-convert: command not found

How To Fix rsvg-convert: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu rsvg-convert is provided by librsvg2-bin package.

librsvg2-bin is:

The rsvg library is an efficient renderer for Scalable Vector Graphics (SVG) pictures.

This package includes a command-line utility to convert the SVG files to the PNG format.

To fix this problem, we can install more using the command below.

sudo apt-get -y install librsvg2-bin

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install librsvg2-bin.

sudo apt -y install librsvg2-bin

Or if you have aptitude installed you can use the following command.

sudo aptitude install librsvg2-bin

Summary

In this tutorial we learn how to fix rsvg-convert command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.