opensearch-discover command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
opensearch-discover: command not found
or when using sudo you get the following error message
sudo: opensearch-discover: command not found
Solutions to opensearch-discover: command not found
How To Fix opensearch-discover: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu opensearch-discover is provided by surfraw-extra package.
surfraw-extra is:
surfraw-extra contains extra website search tools for surfraw that have large dependency trees. Currently surfraw-extra only contains support tools for the opensearch elvi:
opensearch-discover - find an opensearch link from a URL. opensearch-genquery - construct a search URL from an opensearch description
Surfraw provides a fast unix command line interface to a variety of popular WWW search engines and other artifacts of power. It reclaims google, altavista, dejanews, freshmeat, research index, slashdot and many others from the false-prophet, pox-infested heathen lands of html-forms, placing these wonders where they belong, deep in unix heartland, as god loving extensions to the shell.
Surfraw abstracts the browser away from input. Doing so lets it get on with what it’s good at. Browsing. Interpretation of linguistic forms is handed back to the shell, which is what it, and human beings are good at. Combined with incremental text browsers, such as links, w3m (or even lynx), and screen(1), or netscape-remote a Surfraw liberateur is capable of research speeds that leave GUI tainted idolaters agape with fear and wonder.
To fix this problem, we can install more using the command below.
sudo apt-get -y install surfraw-extra
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install surfraw-extra.
sudo apt -y install surfraw-extra
Or if you have aptitude installed you can use the following command.
sudo aptitude install surfraw-extra
Summary
In this tutorial we learn how to fix opensearch-discover command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.