summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKunht Kun <kunhtkun@gmail.com>2022-03-17 20:08:20 -0400
committerMartin Michlmayr <tbm@cyrius.com>2022-03-18 13:34:52 +0800
commit7d67e5aac9cd671aaf50131271c4e1527534dbb3 (patch)
treef2ee8041242ab7bf122ac5a7f7212f3ba2eb7dd0
parentf3fd025a35b7328f66e21db1eccfe774cae4cf70 (diff)
downloadfork-ledger-7d67e5aac9cd671aaf50131271c4e1527534dbb3.tar.gz
fork-ledger-7d67e5aac9cd671aaf50131271c4e1527534dbb3.tar.bz2
fork-ledger-7d67e5aac9cd671aaf50131271c4e1527534dbb3.zip
README.md: Fix for Homebrew and Conda
In README we provide instructions for how to build Ledger instead of how to use Ledger. So the sections for Homebrew and Conda are currently inconsistent with others. Therefore, we update the two sections to provide installation instructions for build dependencies. [ci skip]
-rw-r--r--README.md24
1 files changed, 13 insertions, 11 deletions
diff --git a/README.md b/README.md
index 2d571a0c..34f92964 100644
--- a/README.md
+++ b/README.md
@@ -72,18 +72,14 @@ Dependency | Version (or greater)
### macOS
-You can use [Homebrew] or [MacPorts] to install Ledger easily on macOS.
+You can use [Homebrew] or [MacPorts] to install build dependencies for Ledger
+easily on macOS.
#### 1. Homebrew
-You can see the parameters you can pass while installing with brew by the command `brew options ledger`. To install ledger, simply type the following command:
-
- $ brew install ledger
-
-If you to want to startup python, use the following command:
-
- $ ledger python
+If you use Homebrew, to install the dependencies you would run:
+ $ brew install cmake boost boost-python3 gmp mpfr
#### 2. MacPorts
@@ -99,10 +95,13 @@ run:
### Conda
-Ledger is also available through [Conda](https://conda.io) from the
-[conda-forge](https://conda-forge.org) channel:
+The dependencies for building Ledger are available from [conda-forge] on certain
+platforms (for example, `linux-64`), which can be used with [Conda] or [mamba].
+
+With Conda you could run:
- $ conda install -c conda-forge ledger
+ $ conda install -c conda-forge python=3 cmake boost gmp mpfr \
+ gettext libedit texinfo doxygen graphviz
### Ubuntu
@@ -198,3 +197,6 @@ hack as much as you like, then send me a pull request via GitHub.
[expat]: http://www.libexpat.org
[libxml2]: http://xmlsoft.org
[openhub]: https://www.openhub.net/p/ledger
+[conda-forge]: https://conda-forge.org
+[Conda]: https://conda.io
+[mamba]: https://github.com/mamba-org/mamba