How To Install ed2k-hash on Ubuntu 18.04

In this tutorial we learn how to install ed2k-hash on Ubuntu 18.04. ed2k-hash is tool for generating ed2k-links

Introduction

In this tutorial we learn how to install ed2k-hash on Ubuntu 18.04.

What is ed2k-hash

ed2k-hash is:

This tool is useful for people who want to know the ed2k-links of files they are not currently sharing, or who want the ed2k-links for all files in certain directories etc. You can hash single files, multiple files, whole directories, or whole directory trees.

ed2k-hash can be used for several activities, as forensics investigations.

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

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

sudo apt-get update

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

sudo apt-get -y install ed2k-hash

Install ed2k-hash Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ed2k-hash

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

sudo aptitude -y install ed2k-hash

How To Uninstall ed2k-hash on Ubuntu 18.04

To uninstall only the ed2k-hash package we can use the following command:

sudo apt-get remove ed2k-hash

Uninstall ed2k-hash And Its Dependencies

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

sudo apt-get -y autoremove ed2k-hash

Remove ed2k-hash Configurations and Data

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

sudo apt-get -y purge ed2k-hash

Remove ed2k-hash configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ed2k-hash

References

Summary

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