Skip to content

Commit

Permalink
Merge pull request #6536 from drew2a/fix/6516
Browse files Browse the repository at this point in the history
Update development on linux
  • Loading branch information
drew2a authored Nov 10, 2021
2 parents 27745a0 + 87e2a45 commit 0cfc935
Showing 1 changed file with 31 additions and 22 deletions.
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.

0 comments on commit 0cfc935

Please sign in to comment.