lbry-sdk/INSTALL.md

41 lines
908 B
Markdown
Raw Normal View History

2015-08-20 17:27:15 +02:00
Prerequisites
-------------
To use the LBRYWallet, which enables spending and accepting LBRYcrds in exchange for data, the
LBRYcrd application (insert link to LBRYcrd website here) must be installed and running. If
this is not desired, the testing client can be used to simulate trading points, which is
built into LBRYnet.
on Ubuntu:
2015-12-05 22:25:20 +01:00
```
2015-08-20 17:27:15 +02:00
sudo apt-get install libgmp3-dev build-essential python-dev python-pip
2015-12-05 22:25:20 +01:00
```
2015-08-20 17:27:15 +02:00
Getting the source
------------------
Don't you already have it?
Setting up the environment
--------------------------
It's recommended that you use a virtualenv
2015-12-05 22:25:20 +01:00
```
2015-08-20 17:27:15 +02:00
sudo apt-get install python-virtualenv
cd <source base directory>
virtualenv .
source bin/activate
2015-12-05 22:25:20 +01:00
```
2015-08-20 17:27:15 +02:00
(to deactivate the virtualenv, enter 'deactivate')
2015-12-05 22:25:20 +01:00
```
2015-08-20 17:27:15 +02:00
python setup.py install
2015-12-05 22:25:20 +01:00
```
2015-08-20 17:27:15 +02:00
this will install all of the libraries and a few applications
2015-12-05 22:25:20 +01:00
For running the file sharing application, see [RUNNING](RUNNING.md)