Edit INSTALL.md, - update binary links

This commit is contained in:
Lee Miller 2023-09-14 23:28:44 +03:00
parent 05253a574b
commit 4752bd4f43
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -1,40 +1,46 @@
# PyBitmessage Installation Instructions # PyBitmessage Installation Instructions
- Binary (no separate installation of dependencies required) - Binary (64bit, no separate installation of dependencies required)
- windows (32bit only): https://download.bitmessage.org/snapshots/ - Windows: https://download.bitmessage.org/snapshots/
- linux (64bit): https://appimage.bitmessage.org/releases/ - Linux AppImages: https://artifacts.bitmessage.at/appimage/
- mac (64bit, not up to date): https://github.com/Bitmessage/PyBitmessage/releases/tag/v0.6.3 - Linux snaps: https://artifacts.bitmessage.at/snap/
- Mac (not up to date): https://github.com/Bitmessage/PyBitmessage/releases/tag/v0.6.1
- Source - Source
git clone git://github.com/Bitmessage/PyBitmessage.git `git clone git://github.com/Bitmessage/PyBitmessage.git`
## Helper Script for building from source ## Helper Script for building from source
Go to the directory with PyBitmessage source code and run: Go to the directory with PyBitmessage source code and run:
``` ```
python checkdeps.py python checkdeps.py
``` ```
If there are missing dependencies, it will explain you what is missing and for many Unix-like systems also what you have to do to resolve it. You need to repeat calling the script until you get nothing mandatory missing. How you then run setuptools depends on whether you want to install it to user's directory or system. If there are missing dependencies, it will explain you what is missing
and for many Unix-like systems also what you have to do to resolve it. You need
to repeat calling the script until you get nothing mandatory missing. How you
then run setuptools depends on whether you want to install it to
user's directory or system.
### If checkdeps fails, then verify manually which dependencies are missing from below ### If checkdeps fails, then verify manually which dependencies are missing from below
Before running PyBitmessage, make sure you have all the necessary dependencies Before running PyBitmessage, make sure you have all the necessary dependencies
installed on your system. installed on your system.
These dependencies may not be available on a recent OS and PyBitmessage may not build on such systems. These dependencies may not be available on a recent OS and PyBitmessage may not
Here's a list of dependencies needed for PyBitmessage based on operating system build on such systems. Here's a list of dependencies needed for PyBitmessage
based on operating system
For Debian-based (Ubuntu, Raspbian, PiBang, others) For Debian-based (Ubuntu, Raspbian, PiBang, others)
``` ```
python2.7 openssl libssl-dev git python-msgpack python-qt4 python-six python2.7 openssl libssl-dev python-msgpack python-qt4 python-six
``` ```
For Arch Linux For Arch Linux
``` ```
python2 openssl git python2-pyqt4 python-six python2 openssl python2-pyqt4 python-six
``` ```
For Fedora For Fedora
``` ```
python python-qt4 git openssl-compat-bitcoin-libs python-six python python-qt4 openssl-compat-bitcoin-libs python-six
``` ```
For Red Hat Enterprise Linux (RHEL) For Red Hat Enterprise Linux (RHEL)
``` ```
python python-qt4 git openssl-compat-bitcoin-libs python-six python python-qt4 openssl-compat-bitcoin-libs python-six
``` ```
For GNU Guix For GNU Guix
``` ```
@ -42,9 +48,10 @@ python2-msgpack python2-pyqt@4.11.4 python2-sip openssl python-six
``` ```
## setuptools ## setuptools
This is now the recommended and in most cases the easiest procedure for installing PyBitmessage. This is now the recommended and in most cases the easiest way for
installing PyBitmessage.
There are 3 options for running setuptools: root, user, venv There are 2 options for installing with setuptools: root and user.
### as root: ### as root:
``` ```
@ -58,7 +65,7 @@ python setup.py install --user
~/.local/bin/pybitmessage ~/.local/bin/pybitmessage
``` ```
### as venv: ## pip venv (daemon):
Create virtualenv with Python 2.x version Create virtualenv with Python 2.x version
``` ```
virtualenv -p python2 env virtualenv -p python2 env
@ -69,19 +76,11 @@ Activate env
source env/bin/activate source env/bin/activate
``` ```
Install requirements.txt
```
pip install -r requirements.txt
```
Build & run pybitmessage Build & run pybitmessage
``` ```
python setup.py install pip install .
pybitmessage pybitmessage -d
``` ```
## Alternative way to run PyBitmessage, without setuptools (this isn't recommended) ## Alternative way to run PyBitmessage, without setuptools (this isn't recommended)
run `src/bitmessagemain.py`. run `./start.sh`.
```
cd PyBitmessage/ && python src/bitmessagemain.py
```