I recently installed Ubuntu 16.10 and unsuccessfully tried installing qbittorrent from Software center as I would do usually till 16.04, but it showed up some error.
1 Answer
With the new release of 16.10, I had few problems installing qbittorrent from the Ubuntu Software center as well as from the .tar.gz installation file obtained from original website of qbittorrent. However I got a way to compile it locally in my system, though it showed some warnings, eventually, it happened to be working properly.
First try installing it thorugh this method :
sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable
sudo apt-get update && sudo apt-get install qbittorrent
hopefully everything should be good and QbitTorrent should get installed successfully. If not then try compiling it from its source files as follows :
First you must install the required dependencies :
General required dependencies
sudo apt-get install libboost-dev libboost-system-dev build-essential
Qt4 libraries (optional and only if it exists in your distro's repo)
sudo apt-get install libqt4-dev
Qt5 libraries
sudo apt-get install qtbase5-dev qttools5-dev-tools
Python (Run time only dependency, for the search engine)
sudo apt-get install python
Optional Dependencies Geoip Database (For peer country resolution, strongly advised)
sudo apt-get install geoip-database
Libtorrent : Libtorrent is a library written by Arvid Norberg that qBittorrent depends on. It is necessary to compile and install libtorrent before compiling qBittorrent. If your distro packages at least libtorrent 0.16.19 or 1.0.6 you can install it. Otherwise you'll need to compile it yourself.
sudo apt-get install libtorrent-rasterbar-dev
If this dowsn't work, you might probably have to compile it too from its source. Find more instructions here " https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu "
Compiling qBittorrent
First, obtain the qBittorrent source code. Either download and extract a .tar archive from www.qbittorrent.org or clone this git repo (git clone https://github.com/qbittorrent/qBittorrent) :
Extract the files in a folder and open a terminal in that location
executre the configure file with this command in the directory containing the extracted files
sudo ./configure --prefix=/usr
if shows any error, probably try
sudo ./configure --prefix=/usr --with-qt4
execute
make
- then
sudo make install
Hopefully this should install qbittorrent in your latest Ubuntu 16.10.
For this answer, I would like to thank Github users Arvid Noberg, Mike Tzou and Diego de las Heras who actively maintain the Github Repo qbittorrent. The instruction I got from the repo's instructions were deephly helpful.
For any other help, refer the source here : How to compile qbittorrrent from source
sudo apt-get install -f qbittorrent
and edit your question to include the output of that command.