How To Install url-dispatcher on Ubuntu 18.04

In this tutorial we learn how to install url-dispatcher on Ubuntu 18.04. url-dispatcher is service to allow sending of URLs and get handlers started

Introduction

In this tutorial we learn how to install url-dispatcher on Ubuntu 18.04.

What is url-dispatcher

url-dispatcher is:

Allows applications to request a URL to be opened and handled by another process without seeing the list of other applications on the system or starting them inside its own Application Confinement.

This package provides a service for the URL Dispatcher

There are three methods to install url-dispatcher on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install url-dispatcher Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install url-dispatcher

Install url-dispatcher Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install url-dispatcher

Install url-dispatcher 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install url-dispatcher

How To Uninstall url-dispatcher on Ubuntu 18.04

To uninstall only the url-dispatcher package we can use the following command:

sudo apt-get remove url-dispatcher

Uninstall url-dispatcher And Its Dependencies

To uninstall url-dispatcher and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove url-dispatcher

Remove url-dispatcher Configurations and Data

To remove url-dispatcher configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge url-dispatcher

Remove url-dispatcher configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge url-dispatcher

References

Summary

In this tutorial we learn how to install url-dispatcher package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.