This section contains information about setting up a Tribler development environment on Linux systems.

Debian/Ubuntu/Mint

Install the required dependencies by executing the following command in your terminal:

sudo apt install git libssl-dev libx11-6 libgmp-dev python3 python3-minimal python3-pip python3-libtorrent python3-pyqt5 python3-pyqt5.qtsvg python3-scipy

Clone the Tribler repo:

git clone https://github.com/tribler/tribler

Install python packages:

pip3 install --upgrade -r tribler/requirements.txt

Run Tribler by executing the following commands:

tribler/src/tribler.sh  > tribler.log

Alternatively, you can run the latest stable version of Tribler by downloading and installing the .deb file from here. This option is only recommended for running Tribler and is not suitable for development.

Fedora/CentOS/RedHat

Install the required dependencies by executing the following command in your terminal:

sudo dnf install python3-devel python3-pip git

Clone the Tribler repo:

git clone https://github.com/tribler/tribler

Install python packages:

pip3 install --upgrade -r tribler/requirements.txt

Run Tribler by executing the following commands:

tribler/src/tribler.sh  > tribler.log

If there are any problems with the guide above, please feel free to fix any errors or create an issue so we can look into it.