How To Install surfraw-extra on Debian 9

In this tutorial we learn how to install surfraw-extra on Debian 9. surfraw-extra is extra surfraw search tools with heavy dependencies

Introduction

In this tutorial we learn how to install surfraw-extra on Debian 9.

What is surfraw-extra

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 - 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.

There are three methods to install surfraw-extra on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install surfraw-extra Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install surfraw-extra using apt-get by running the following command:

sudo apt-get -y install surfraw-extra

Install surfraw-extra Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install surfraw-extra using apt by running the following command:

sudo apt -y install surfraw-extra

Install surfraw-extra Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install surfraw-extra using aptitude by running the following command:

sudo aptitude -y install surfraw-extra

How To Uninstall surfraw-extra on Debian 9

To uninstall only the surfraw-extra package we can use the following command:

sudo apt-get remove surfraw-extra

Uninstall surfraw-extra And Its Dependencies

To uninstall surfraw-extra and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove surfraw-extra

Remove surfraw-extra Configurations and Data

To remove surfraw-extra configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge surfraw-extra

Remove surfraw-extra configuration, data, and all of its dependencies

We can use the following command to remove surfraw-extra configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge surfraw-extra

Dependencies

surfraw-extra have the following dependencies:

References

Summary

In this tutorial we learn how to install surfraw-extra package on Debian 9 using different package management tools: apt, apt-get and aptitude.