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

Comments

Projects
None yet
2 participants
@pangoSE

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

This comment has been minimized.

Show comment
Hide comment
@simonmichael

simonmichael Nov 20, 2016

Owner

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).

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

This comment has been minimized.

Show comment
Hide comment
@simonmichael

simonmichael Nov 20, 2016

Owner

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

Owner

simonmichael commented Nov 20, 2016

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

@simonmichael

This comment has been minimized.

Show comment
Hide comment
@simonmichael

simonmichael Nov 20, 2016

Owner

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

Owner

simonmichael commented Nov 20, 2016

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

@simonmichael

This comment has been minimized.

Show comment
Hide comment
@simonmichael

simonmichael Nov 20, 2016

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.

Owner

simonmichael commented Nov 20, 2016

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

This comment has been minimized.

Show comment
Hide comment
@simonmichael

simonmichael Nov 20, 2016

Owner

Linked this issue from B1.

Owner

simonmichael commented Nov 20, 2016

Linked this issue from B1.

mstksg added a commit to mstksg/hledger that referenced this issue Feb 3, 2017

@simonmichael

This comment has been minimized.

Show comment
Hide comment
@simonmichael

simonmichael Jul 21, 2017

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 ?

Owner

simonmichael commented Jul 21, 2017

@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