How To Install urlview on Debian 9

In this tutorial we learn how to install urlview on Debian 9. urlview is Extracts URLs from text

Introduction

In this tutorial we learn how to install urlview on Debian 9.

What is urlview

urlview is:

This utility is used to extract URL from text files, especially from mail messages in order to launch some browser to view them. This used to be a part of mutt but has now become an independent tool.

There are three methods to install urlview 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 urlview Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install urlview

Install urlview Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install urlview using apt by running the following command:

sudo apt -y install urlview

Install urlview 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 urlview using aptitude by running the following command:

sudo aptitude -y install urlview

How To Uninstall urlview on Debian 9

To uninstall only the urlview package we can use the following command:

sudo apt-get remove urlview

Uninstall urlview And Its Dependencies

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

sudo apt-get -y autoremove urlview

Remove urlview Configurations and Data

To remove urlview configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge urlview

Remove urlview configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge urlview

Dependencies

urlview have the following dependencies:

References

Summary

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