Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download: installing on arch... #434

Closed
pangoSE opened this issue Nov 20, 2016 · 6 comments
Closed

download: installing on arch... #434

pangoSE opened this issue Nov 20, 2016 · 6 comments
Labels
A-WISH Some kind of improvement request, hare-brained proposal, or plea. docs Documentation-related. site hledger.org website-related.

Comments

@pangoSE
Copy link

pangoSE commented Nov 20, 2016

I tried installing on Arch and tried to document my efforts for the benefit of others interesting in a stable hledger install.
I recommend adding the following to the download-page:

On arch install the stable version with
sudo pacman -S stack ghc && stack setup && stack install --resolver=nightly hledger hledger-ui hledger-web
or the dev-version via the AUR-package hledger-git


Running "stack setup" produces an error if GHC is not installed already.

   $ stack setup
  Run from outside a project, using implicit global project config
  Using resolver: lts-7.9 from implicit global project's config file: /home/egil/.stack/global-project/stack.yaml
  Unable to find installation URLs for OS key: linux32-ncurses6

@simonmichael simonmichael added A-WISH Some kind of improvement request, hare-brained proposal, or plea. docs Documentation-related. site hledger.org website-related. labels Nov 20, 2016
@simonmichael
Copy link
Owner

simonmichael commented Nov 20, 2016

Thanks! Do you know if the stack setup failure has been reported to the stack tracker ?

There is a question about whether to include stack setup in the command line. We recently removed it from the source instructions, instead saying "run stack setup if stack install tells you to", because doing it preemptively that way won't necessarily get you the required GHC version, so the user would get another request to run stack setup and have to do it a second time (or something like that, there was confusion).

@simonmichael
Copy link
Owner

Plus, since you have installed ghc with pacman, won't stack install use it automatically, requiring no stack setup step ?

@simonmichael
Copy link
Owner

I will add hledger-api to the command line, unless there's some reason you left it out.

@simonmichael
Copy link
Owner

And... hmm, this command does not install a packaged version, so probably doesn't belong in the top section. Perhaps it should be mentioned somewhere in the installing from source section.

@simonmichael
Copy link
Owner

Linked this issue from B1.

@simonmichael
Copy link
Owner

@egils-verkstad, @mstksg, Arch users: do you think the "On Arch, you may need to also install GHC manually" note is still needed at http://hledger.org/download.html#b ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-WISH Some kind of improvement request, hare-brained proposal, or plea. docs Documentation-related. site hledger.org website-related.
Projects
None yet
Development

No branches or pull requests

2 participants