oai_browser command not found

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

Introduction

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

oai_browser: command not found

or when using sudo you get the following error message

sudo: oai_browser: command not found

Solutions to oai_browser: command not found

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

In Ubuntu oai_browser is provided by libhttp-oai-perl package.

libhttp-oai-perl is:

HTTP::OAI is a Perl library implementing an API to use the Open Archives Initiative Protocol for Metadata Harvesting (OAI-PMH). See http://www.openarchives.org/OAI/openarchivesprotocol.html for more information.

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

sudo apt-get -y install libhttp-oai-perl

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

You can also use apt command to install libhttp-oai-perl.

sudo apt -y install libhttp-oai-perl

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

sudo aptitude install libhttp-oai-perl

Summary

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