How To Install apturl-common on Ubuntu 20.04

In this tutorial we learn how to install apturl-common on Ubuntu 20.04. apturl-common is install packages using the apt protocol - common data

Introduction

In this tutorial we learn how to install apturl-common on Ubuntu 20.04.

What is apturl-common

apturl-common is:

AptUrl is a simple graphical application that takes an URL (which follows the apt-protocol) as a command line option, parses it and carries out the operations that the URL describes (that is, it asks the user if he wants the indicated packages to be installed and if the answer is positive does so for him).

This package contains the common data shared between the frontends. Task: ubuntu-desktop-minimal, ubuntu-desktop, xubuntu-desktop, ubuntu-mate-core, ubuntu-mate-desktop

There are three methods to install apturl-common on Ubuntu 20.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 apturl-common Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install apturl-common

Install apturl-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install apturl-common

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

sudo aptitude -y install apturl-common

How To Uninstall apturl-common on Ubuntu 20.04

To uninstall only the apturl-common package we can use the following command:

sudo apt-get remove apturl-common

Uninstall apturl-common And Its Dependencies

To uninstall apturl-common and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove apturl-common

Remove apturl-common Configurations and Data

To remove apturl-common configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge apturl-common

Remove apturl-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge apturl-common

References

Summary

In this tutorial we learn how to install apturl-common package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.