surfraw command not found

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

Introduction

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

surfraw: command not found

or when using sudo you get the following error message

sudo: surfraw: command not found

Solutions to surfraw: command not found

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

In Ubuntu surfraw is provided by surfraw package.

surfraw is:

Surfraw - Shell Users’ Revolutionary Front Rage Against the World Wide Web

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

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

You can also use apt command to install surfraw.

sudo apt -y install surfraw

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

sudo aptitude install surfraw

Summary

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