How To Install golang-github-mvdan-xurls-dev on Debian 10

Learn how to install golang-github-mvdan-xurls-dev on Debian 10 with this tutorial. golang-github-mvdan-xurls-dev is extract urls from text

Introduction

In this tutorial we learn how to install golang-github-mvdan-xurls-dev on Debian 10.

What is golang-github-mvdan-xurls-dev

golang-github-mvdan-xurls-dev is:

Extract urls from text using regular expressions.

There are three methods to install golang-github-mvdan-xurls-dev on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install golang-github-mvdan-xurls-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install golang-github-mvdan-xurls-dev using apt-get by running the following command:

sudo apt-get -y install golang-github-mvdan-xurls-dev

Install golang-github-mvdan-xurls-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install golang-github-mvdan-xurls-dev using apt by running the following command:

sudo apt -y install golang-github-mvdan-xurls-dev

Install golang-github-mvdan-xurls-dev 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 golang-github-mvdan-xurls-dev using aptitude by running the following command:

sudo aptitude -y install golang-github-mvdan-xurls-dev

How To Uninstall golang-github-mvdan-xurls-dev on Debian 10

To uninstall only the golang-github-mvdan-xurls-dev package we can use the following command:

sudo apt-get remove golang-github-mvdan-xurls-dev

Uninstall golang-github-mvdan-xurls-dev And Its Dependencies

To uninstall golang-github-mvdan-xurls-dev and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove golang-github-mvdan-xurls-dev

Remove golang-github-mvdan-xurls-dev Configurations and Data

To remove golang-github-mvdan-xurls-dev configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge golang-github-mvdan-xurls-dev

Remove golang-github-mvdan-xurls-dev configuration, data, and all of its dependencies

We can use the following command to remove golang-github-mvdan-xurls-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge golang-github-mvdan-xurls-dev

Dependencies

golang-github-mvdan-xurls-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install golang-github-mvdan-xurls-dev package on Debian 10 using different package management tools: apt, apt-get and aptitude.