modified: Install-MMGen-on-Linux.md
parent
5e3a3caa04
commit
a8e0890304
1 changed files with 19 additions and 15 deletions
|
|
@ -6,21 +6,21 @@ altcoin support, additional installation steps are required. See*
|
|||
|
||||
For computers with no Internet connection, see **Note for offline machines** below.
|
||||
|
||||
#### Install required packages:
|
||||
### Install required packages:
|
||||
|
||||
##### Debian/Ubuntu:
|
||||
#### Debian/Ubuntu:
|
||||
|
||||
```text
|
||||
$ sudo apt-get install curl git gcc libtool make autoconf libgmp-dev libssl-dev libpcre3-dev libmpfr-dev libmpc-dev python3-dev python3-pip
|
||||
```
|
||||
|
||||
##### Arch Linux:
|
||||
#### Arch Linux:
|
||||
|
||||
```text
|
||||
$ sudo pacman -S curl git gcc libtool make autoconf automake autogen pcre python-pip
|
||||
```
|
||||
|
||||
#### Upgrade the build tools:
|
||||
### Upgrade the build tools:
|
||||
|
||||
```text
|
||||
$ python3 -m pip install --user --upgrade pip setuptools build wheel
|
||||
|
|
@ -31,7 +31,20 @@ for example), add `--break-system-packages` to the command line. Note that this
|
|||
will not in fact break any system packages, as pip installs all packages under
|
||||
the user’s home directory when `--user` is in effect.
|
||||
|
||||
#### Install MMGen:
|
||||
### Install MMGen:
|
||||
|
||||
#### Stable version:
|
||||
|
||||
```text
|
||||
$ python3 -m pip install --user --upgrade mmgen-wallet # see 'Install Note' below
|
||||
```
|
||||
|
||||
#### Development version:
|
||||
|
||||
**Note:** While the development version is always tested on Linux before being
|
||||
pushed to the public repository, security vulnerabilities are more likely to be
|
||||
present in new code than in a stable release. In addition, new code may require
|
||||
dependencies or installation steps not yet covered in the documentation.
|
||||
|
||||
Make sure that `~/.local/bin` is in `PATH`. Existing MMGen users should delete
|
||||
any old installations under `/usr` or `/usr/local`.
|
||||
|
|
@ -39,20 +52,11 @@ any old installations under `/usr` or `/usr/local`.
|
|||
```text
|
||||
$ git clone https://github.com/mmgen/mmgen.git
|
||||
$ cd mmgen
|
||||
$ git checkout stable_linux # see 'Note' below
|
||||
$ python3 -m build --no-isolation
|
||||
$ python3 -m pip install --user --upgrade dist/*.whl # see 'Install Note' below
|
||||
$ cd ..
|
||||
```
|
||||
|
||||
**Note:** if you want to use features that have appeared since the latest
|
||||
`stable_linux` release, then you can omit the `git checkout` step and remain on
|
||||
the `master` branch. Please bear in mind, however, that while the tip of
|
||||
`master` is always tested on Linux before being pushed to the public repository,
|
||||
security vulnerabilities are more likely to be present in new code than in a
|
||||
stable release. In addition, new code may require dependencies or installation
|
||||
steps not yet covered in the documentation.
|
||||
|
||||
**Install Note:** The `--force` and `--no-deps` options also come in handy
|
||||
on occasion.
|
||||
|
||||
|
|
@ -62,7 +66,7 @@ Refer to the [Test Suite][ts] wiki page for details.
|
|||
Install your coin daemon(s). To install prebuilt binaries, go [here][01]. To
|
||||
install from source, go [here][02].
|
||||
|
||||
##### Note for offline machines:
|
||||
#### Note for offline machines:
|
||||
|
||||
The computer you’ve designated for offline use must be connected to the
|
||||
Internet to retrieve and install the above packages as described above. This
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue