From 7d67e5aac9cd671aaf50131271c4e1527534dbb3 Mon Sep 17 00:00:00 2001 From: Kunht Kun Date: Thu, 17 Mar 2022 20:08:20 -0400 Subject: 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] --- README.md | 24 +++++++++++++----------- 1 file 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 -- cgit v1.2.3