Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update development on linux #6536

Merged
merged 1 commit into from
Nov 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 31 additions & 22 deletions doc/development/development_on_linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,65 +3,74 @@ This section contains information about setting up a Tribler development environ
Debian/Ubuntu/Mint
------------------

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

.. code-block:: bash

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

Secondly, install python packages
Clone the Tribler repo:

.. code-block:: bash

cd src
pip3 install --upgrade -r requirements.txt
git clone https://github.com/tribler/tribler --recursive


Then, install py-ipv8 python dependencies
Install python packages:

.. code-block:: bash

cd src/pyipv8
pip3 install --upgrade -r requirements.txt
pip3 install --upgrade -r tribler/src/requirements.txt


You can now clone the Tribler source code, and run Tribler by executing the following commands:
Install py-ipv8 python dependencies:

.. code-block:: bash

git clone https://github.com/tribler/tribler --recursive
cd tribler/src
./tribler.sh > tribler.log
pip3 install --upgrade -r tribler/src/pyipv8/requirements.txt

Run Tribler by executing the following commands:

.. code-block:: bash

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 <https://github.com/tribler/tribler/releases/>`__. This option is only recommended for running Tribler and is not suitable for development.


Fedora/CentOS/RedHat
------------------
First, install the required dependencies by executing the following command in your terminal:

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

.. code-block:: bash

sudo dnf install python3-devel
sudo dnf install python3-devel python3-pip git

Secondly, install python packages
Clone the Tribler repo:

.. code-block:: bash

pip3 install aiohttp aiohttp_apispec chardet configobj decorator libnacl matplotlib netifaces networkx pony psutil pyasn1 requests lz4 pyqtgraph pyyaml Faker sentry_sdk lbry-libtorrent yappi
git clone https://github.com/tribler/tribler --recursive


Then, install py-ipv8 python dependencies
Install python packages:

.. code-block:: bash

cd src/pyipv8
pip3 install --upgrade -r requirements.txt
pip3 install --upgrade -r tribler/src/requirements.txt

You can now clone the Tribler source code, and run Tribler by executing the following commands:

Install py-ipv8 python dependencies

.. code-block:: bash

git clone https://github.com/tribler/tribler --recursive
cd tribler/src
./tribler.sh > tribler.log
pip3 install --upgrade -r tribler/src/pyipv8/requirements.txt

Run Tribler by executing the following commands:

.. code-block:: bash

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 <https://github.com/Tribler/tribler/issues/new>`_ so we can look into it.