Skip to content

Commit

Permalink
Merge pull request #4454 from cuileri/doc_update
Browse files Browse the repository at this point in the history
Update development_on_linux.rst
  • Loading branch information
devos50 authored Apr 5, 2019
2 parents ec240af + fd5f8b7 commit b42de3f
Showing 1 changed file with 7 additions and 43 deletions.
50 changes: 7 additions & 43 deletions doc/development/development_on_linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,58 +7,22 @@ First, install the required dependencies by executing the following command in y

.. code-block:: none
sudo apt-get install libav-tools libsodium18 libx11-6 python-cherrypy3 python-cryptography python-decorator python-libtorrent python-matplotlib python-meliae python-netifaces python-pil python-psutil python-pyasn1 python-scipy python-twisted python2.7 vlc python-chardet python-configobj python-pyqt5 python-pyqt5.qtsvg python-libnacl
sudo apt install ffmpeg libssl-dev libx11-6 vlc libgmp-dev python2.7 python-minimal python-pip python-cherrypy3 python-libtorrent python-meliae python-pyqt5 python-pyqt5.qtsvg python-scipy
Next, download the latest .deb file from `here <https://jenkins-ci.tribler.org/job/Build-Tribler_Ubuntu-64_devel/lastStableBuild/>`_.

Installing the python-socks on Ubuntu >= 16.10
--------------------------------------------------------------
The python-pysocks package was renamed to python-socks in the Ubuntu repositories from version 16.10 (Yakkety Yak) onwards. Use the following command to resolve this dependency:
Secondly, install python packages

.. code-block:: none
sudo apt-get install python-socks python-networkx python-libnacl
Installing libsodium13 and python-cryptography on Ubuntu 14.04
--------------------------------------------------------------

While installing libsodium13 and python-cryptography on a clean Ubuntu 14.04 install (possibly other versions as well), the situation can occur where the Ubuntu terminal throws the following error when trying to install the dependencies mentioned earlier in the README.rst:

E: Unable to locate package libsodium13
E: Unable to locate package python-cryptography

This means that the required packages are not directly in the available package list of Ubuntu 14.04.

To install the packages, the required files have to be downloaded from their respective websites.

For libsodium13, download ``libsodium13\_1.0.1-1\_<ProcessorType\>.deb`` from `<http://packages.ubuntu.com/vivid/libsodium13](http://packages.ubuntu.com/vivid/libsodium13>`_

For python-cryptography, download ``python-cryptography\_0.8-1ubuntu2\_<ProcessorType\>.deb`` from `<http://packages.ubuntu.com/vivid/python-cryptography>`_.
pip install bitcoinlib chardet configobj decorator dnspython ecdsa feedparser jsonrpclib leveldb matplotlib netifaces networkx pbkdf2 pony protobuf psutil pyaes pyasn1 pysocks requests lz4
**Installing the files**
**Through terminal**

After downloading files go to the download folder and install the files through terminal:

**For amd64:**
Then, install py-ipv8 python dependencies

.. code-block:: none
cd ./Downloads
dpkg -i libsodium13_1.0.1-1_amd64.deb
dpkg -i python-cryptography_0.8-1ubuntu2_amd64.deb
**For i386:**

.. code-block:: none
cd ./Downloads
dpkg -i libsodium13_1.0.1-1_i386.deb
dpkg -i python-cryptography_0.8-1ubuntu2_i386.deb
**Through file navigator:**
cd Tribler/pyipv8
pip install --upgrade -r requirements.txt
Using the file navigator to go to the download folder and by clicking on the .deb files to have the software installer install the packages.
Finally, download the latest tribler .deb file from `here <https://jenkins-ci.tribler.org/job/Build-Tribler_Ubuntu-64_devel/lastStableBuild/>`_.

Now installing the list of dependencies should no longer throw an error.

Expand Down

0 comments on commit b42de3f

Please sign in to comment.