rdf2dot command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rdf2dot: command not found
or when using sudo you get the following error message
sudo: rdf2dot: command not found
Solutions to rdf2dot: command not found
How To Fix rdf2dot: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rdf2dot is provided by python-rdflib-tools package.
python-rdflib-tools is:
RDFLib is a Python library for working with the RDF W3C standard. The library contains RDF parsers/serializers and both in-memory and persistent Graph backend.
This package contains some executable tools.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python-rdflib-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python-rdflib-tools.
sudo apt -y install python-rdflib-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install python-rdflib-tools
Summary
In this tutorial we learn how to fix rdf2dot command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.