site: download page updates
[ci skip]
This commit is contained in:
parent
b2b45d827b
commit
6258dc0db3
@ -25,13 +25,16 @@ Packaged versions may lag behind the latest release, but are the quickest to ins
|
|||||||
|
|
||||||
|
|
|
|
||||||
|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
| **Windows:** | Download and run the [latest development builds](developer-guide.html) (-> Appveyor CI)<br>(hledger-ui is not available on Windows)
|
| **Windows:** | Download and run the [latest development builds](developer-guide.html) (-> Appveyor CI)
|
||||||
| **Mac:** | `brew install hledger` (hledger-ui/web/api are not yet in homebrew)
|
| **Mac:** | `brew install hledger`
|
||||||
| **Debian, Ubuntu:** | `sudo apt install hledger hledger-ui hledger-web`
|
| **Debian, Ubuntu:** | `sudo apt install hledger hledger-ui hledger-web`
|
||||||
| **Fedora, RHEL:** | `sudo dnf install hledger` (hledger-ui/web/api are not yet in Fedora)
|
| **Fedora, RHEL:** | `sudo dnf install hledger`
|
||||||
| **Gentoo:** | `sudo layman -a haskell && sudo emerge hledger hledger-ui hledger-web`
|
| **Gentoo:** | `sudo layman -a haskell && sudo emerge hledger hledger-ui hledger-web`
|
||||||
| **NixOS:** | `nix-env -iA nixpkgs.haskellPackages.hledger \`<br> `nixpkgs.haskellPackages.hledger-ui \`<br> `nixpkgs.haskellPackages.hledger-web`
|
| **NixOS:** | `nix-env -iA nixpkgs.haskellPackages.hledger \`<br> `nixpkgs.haskellPackages.hledger-ui \`<br> `nixpkgs.haskellPackages.hledger-web`
|
||||||
|
|
||||||
|
Only some of the hledger tools may be available, eg Homebrew does not yet include
|
||||||
|
hledger-ui, hledger-web or hledger-api (packagers welcome!).
|
||||||
|
|
||||||
<a name="b"></a>
|
<a name="b"></a>
|
||||||
|
|
||||||
## B. I want to build the latest release
|
## B. I want to build the latest release
|
||||||
@ -77,8 +80,7 @@ If you're brand new to cabal, these steps should work on unix-like systems
|
|||||||
5. `mkdir hledger-sandbox`
|
5. `mkdir hledger-sandbox`
|
||||||
6. `cd hledger-sandbox`
|
6. `cd hledger-sandbox`
|
||||||
7. `cabal sandbox init`
|
7. `cabal sandbox init`
|
||||||
8. `cabal install hledger-1.0.1 [hledger-ui-1.0.2] [hledger-web-1.0.1] [hledger-api-1.0]``
|
8. `cabal install hledger-1.0.1 [hledger-ui-1.0.2] [hledger-web-1.0.1] [hledger-api-1.0]`
|
||||||
On Windows, hledger-ui is [not yet available](https://github.com/coreyoconnor/vty/pull/1).
|
|
||||||
9. `mv .cabal-sandbox/bin/hledger* ~/.cabal/bin`
|
9. `mv .cabal-sandbox/bin/hledger* ~/.cabal/bin`
|
||||||
10. `cd ..; rm -rf hledger-sandbox`
|
10. `cd ..; rm -rf hledger-sandbox`
|
||||||
-->
|
-->
|
||||||
@ -93,17 +95,16 @@ The dev version includes not-yet-released features and is stable enough for dail
|
|||||||
1. Install [`stack`](http://haskell-lang.org/get-started) and [git](https://en.wikipedia.org/wiki/Git)
|
1. Install [`stack`](http://haskell-lang.org/get-started) and [git](https://en.wikipedia.org/wiki/Git)
|
||||||
2. `git clone http://code.hledger.org hledger`
|
2. `git clone http://code.hledger.org hledger`
|
||||||
3. `cd hledger`
|
3. `cd hledger`
|
||||||
4. `stack install`
|
4. `stack install`\
|
||||||
|
with the same caveats as mentioned above:
|
||||||
cabal users can use the `./cabal-install.sh` or `cabal.project` instead.
|
|
||||||
|
|
||||||
The caveats mentioned above also apply here:
|
|
||||||
|
|
||||||
- if stack says you need to run `stack setup`, do that first,
|
- if stack says you need to run `stack setup`, do that first,
|
||||||
- if building fails due to missing C libs, install those first
|
- if building fails due to missing C libs, install those first
|
||||||
- if stack warns that `~/.local/bin` (or the Windows equivalent) is not in `$PATH`, fix that
|
- if stack warns that `~/.local/bin` (or the Windows equivalent) is not in `$PATH`, fix that
|
||||||
- warnings about "No packages found in snapshot which provide a hsc2hs executable" can be ignored
|
- warnings about "No packages found in snapshot which provide a hsc2hs executable" can be ignored
|
||||||
|
|
||||||
|
Cabal users can use the `cabal-install.sh` or the `cabal.project` files instead.
|
||||||
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
VM instructions:
|
VM instructions:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user