go2rdfxml command not found

In this troubleshooting guide we learn how to fix go2rdfxml command not found error message

Introduction

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

go2rdfxml: command not found

or when using sudo you get the following error message

sudo: go2rdfxml: command not found

Solutions to go2rdfxml: command not found

How To Fix go2rdfxml: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu go2rdfxml is provided by libgo-perl package.

libgo-perl is:

This is a collection of perl code for dealing with Gene Ontologies (GO) and Open Biomedical Ontologies (OBO) style ontologies. It is part of the ‘go-dev’ distribution, but this Debian package is made from the CPAN archive. This package contains both scripts (which can be used with no knowledge of perl), and libraries which will be of use to perl programmers using GO or OBO.

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

sudo apt-get -y install libgo-perl

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

You can also use apt command to install libgo-perl.

sudo apt -y install libgo-perl

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

sudo aptitude install libgo-perl

Summary

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