mktorrent command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mktorrent: command not found
or when using sudo you get the following error message
sudo: mktorrent: command not found
Solutions to mktorrent: command not found
How To Fix mktorrent: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mktorrent is provided by mktorrent package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mktorrent
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mktorrent.
sudo apt -y install mktorrent
Or if you have aptitude installed you can use the following command.
sudo aptitude install mktorrent
Summary
In this tutorial we learn how to fix mktorrent command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.