Skip to main content

How To Use Torrench To Search And Download Torrent Files Using Terminal (Linux, Mac, Windows)


In this article, I’ll be telling you how to search and download torrents using terminal via Torrench.

What is Torrench? — Brief Review

Torrench is a command line-based tool that can be used to search and download torrents from different torrent-hosting websites. This torrent search tool isn’t limited to Linux–it’s available for Windows and macOS as well. On a side note, Torrench is a combination of words Torrent + Search.
Torrench lets you search and download a torrent file from the internet. Its sources are mentioned below. The developers of Torrench have promised to add more websites to this list.
  • Linuxtracker
  • DistroWach
  • The Pirate Bay
  • KickassTorrents
  • SkyTorrents
Click to enlarge
It goes without saying that popular torrent websites like KickassTorrents, SkyTorrents, The Pirate Bay, etc., are widely used to download illegal media. Upon doing so, a user can end up inviting trouble. So, by default, the developer has disabled the searching on these websites using Torrench. However, you can enable it as told in the steps mentioned ahead in the tutorial.

How to install Torrench on your device?

For installing Torrench to download torrents using terminal on macOS or Linux, you need to have Python 3 pre-installed on your machine. If you’re running newer/updated release of Python, Python 3.x would be already installed on your computer. For Windows, no additional package is required to be installed.
Torrench installation on Linux and macOS
In Ubuntu, Fedora, SUSE, etc., users can install Torrench using pip. In case pip isn’t installed, here’s how you can do it on Ubuntu or apt-based systems. Similar commands can also be used to install Torrench on macOS.
After that, you can install Torrench using pip by running this command:
Note: The above step should install Torrench successfully on your system but I faced a little problem. As I ran a torrent search, it gave an error “ImportError: No module named configparser.” Upon looking the log, I found that the package was probably getting installed using Python 2.7. So, I ran the following command to fix this:
Alternatively, you can use python-setuptools for building from the source.
Torrench installation on Windows
Installing Torrench on Windows is pretty straightforward. Simply download the .exe file using this link and install it.

How to configure Torrench on your device?

Configuration on Linux devices
To finish the Torrench configuration to download torrents using the terminal, you need to put a config.ini file in $HOME/.config/torrench location. Download the file from here. Copy the file as follows:
In case the path is not defined, you can create the directory using this command:
Configuration on macOS devices
In macOS, you can copy the config.ini file in $XDG_CONFIG_HOME/torrench/ folder as follows:
In case, If $XDG_CONFIG_HOME is not defined, make torrench directory by this command:
Configuration on Windows devices
First, you need to create the required directories. Take a look at this path and create the absent directories: C:\Users\<user>\.config\torrench\
After that copy the config.ini file to this path. That’s it.

How to use Torrench to search and download files?

Before telling you how to use Torrench utility for searching torrent files and downloading them, let me tell you how to enable it. For doing so, open the copied-pasted config.ini file and set enable=1 at the end of the file. Now save and exit.
To use Torrench, you need to open terminal or command prompt and use torrench command followed by the search term. Let me show you how to do this. Additional features and arguments can be found here on GitHub page.
Searching LinuxTracker
It displays tons of Linux distros in organized and tabular form. You can also search using categories:
Searching Distrowatch
Searching The Pirate Bay
Searching KickassTorrents
Searching SkyTorrents:
Note: To search phrases, i.e., more than one word, you need to enclose your query in inverted commas, i.e., “SEARCH TERM”.
You can find more details and Torrench search tricks on this free and open source software’s GitHub page. Do use it to search and download torrents using the terminal and share your experiences with us.

Comments

Follow Us

WHAT'S HOT

How To Speed Up Windows Using ReadyBoost And USB Drive? Does It Still Work?

In Microsoft Windows, ReadyBoost is a software feature that speeds up the system by storing application files and data as cache in a USB drive. This is beneficial in case the system is running a slow hard drive. The ReadyBoost works with USB drives, SD cards, and CF cards. However, it may not be able to deliver considerable performance in the

How To Install Ubuntu MATE For The Raspberry Pi 2 and Raspberry Pi 3

Ubuntu MATE:  We have done what we can to optimise the build for the Raspberry Pi 2 and Raspberry Pi 3, you can comfortably use applications such as LibreOffice and Firefox. But the microSDHC I/O throughput is a bottleneck so  we  highly  recommend that you use a Class 6 or Class 10 microSDHC  card.  Ubuntu MATE 16.04 also fully supports the built-in Bluetooth and Wifi on

Which Is The Best Operating System For Gaming Among SteamOS , Ubuntu And Windows 10

Years ago, MS-DOS was the ‘go to’ operating system when you wanted to engage in prolonged gaming sessions but its complexity required that a better alternative should be provided to the masses that will also feature a unique interface for easy use. After years of

Windows Subsystem For Linux Is Beta No More, Gets “Full Support” In Windows 10 Fall Creators Update

As we told you earlier, WSL on Windows 10  moved out of beta  in August. It still carries the beta tag in Windows 10 Creators Update. Also, it won’t require people to enable developer