How To Install mktorrent on Debian 10

Learn how to install mktorrent on Debian 10 with this tutorial. mktorrent is simple command line utility to create BitTorrent metainfo files

Introduction

In this tutorial we learn how to install mktorrent on Debian 10.

What is mktorrent

mktorrent is:

mktorrent is a text-based utility to create BitTorrent metainfo files used by trackers and torrent clients. It can create metainfo files for single files or complete directories in a fast way.

It supports:

  • multiple trackers,
  • embedding custom comments into torrent files,
  • multi-threaded hashing.

It also supports setting the “private” flag, which advises the BitTorrent agents to refrain from using alternative peer discovery mechanisms, such as Distributed Hash Table (DHT), Local Peer Discovery (LPD), or Peer Exchange.

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

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

sudo apt-get update

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

sudo apt-get -y install mktorrent

Install mktorrent Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mktorrent

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

sudo aptitude -y install mktorrent

How To Uninstall mktorrent on Debian 10

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

sudo apt-get remove mktorrent

Uninstall mktorrent And Its Dependencies

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

sudo apt-get -y autoremove mktorrent

Remove mktorrent Configurations and Data

To remove mktorrent configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge mktorrent

Remove mktorrent configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mktorrent

Dependencies

mktorrent have the following dependencies:

References

Summary

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