rdfns command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rdfns: command not found
or when using sudo you get the following error message
sudo: rdfns: command not found
Solutions to rdfns: command not found
How To Fix rdfns: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rdfns is provided by librdf-ns-perl package.
librdf-ns-perl is:
Hardcoding URI namespaces and prefixes for RDF applications is neither fun nor maintainable. In the end we all use more or less the same prefix definitions, as collected at http://prefix.cc. RDF::NS includes all these prefixes as defined at specific snapshots in time. These snapshots correspond to version numbers of this module. By selecting particular versions, you make sure that changes at prefix.cc won’t affect your scripts.
To fix this problem, we can install more using the command below.
sudo apt-get -y install librdf-ns-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install librdf-ns-perl.
sudo apt -y install librdf-ns-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install librdf-ns-perl
Summary
In this tutorial we learn how to fix rdfns command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.