How to Install qBittorrent on CentOS 7

r00t February 8, 2018

Install qBittorrent on CentOS 7

In this tutorial we’ll learn how to install qBittorrent on CentOS 7. We will also install and configure its prerequisites. qBittorrent is a torrent client, similar to µTorrent, which was recently ported to the Linux systems. Among others, qBittorrent has a built-in search engine for searching in the popular BitTorrent sites, has torrent queueing and prioritizing features, has IP Filtering options, provides a tool for creating torrents and bandwidth limitations.

I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install qBittorrent on CentOS 7

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

yum clean all
yum install epel-release -y
yum update -y

Step 2. Installing qBitTorrent.

Install qBitTorrent using following command:

yum install qbittorrent-nox.x86_64

Step 3. Creating Systemctl Script.

First, Create a script so that we can control qbittorrent with systemctl:

nano /usr/lib/systemd/system/qbittorrent.service

Enterito enter insert mode then paste the code below, change <username> to the user you want to run qbittorrent with. Note that you can’t run as user nobody:

Description=qbittorrent torrent server

Reload systemctl, this will make systemd take notice of the new script:

systemctl daemon-reload

Next, Start qbittorrent and accept the user agreement sudo qbittorrent-nox, press y then Enter. Now close qbittorrent Ctrl-C and Finally Start the qbittorrent service:

systemctl enable qbittorrent

Congratulation’s! You have successfully install and configured qBittorrent on your CentOS 7 server. Thanks for using this tutorial for installing qBittorrent torrent client on CentOS 7 system.

The Tags:

Leave a Comment

Comments are closed.