# Problem with stack install

**URL:** https://uzu.lurk.org/t/problem-with-stack-install/542
**Category:** TidalCycles
**Tags:** installation
**Created:** [18 April 2020 15:25 UTC](https://uzu.lurk.org/t/problem-with-stack-install/542 "2020-04-18T15:25:18Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Dan](https://uzu.lurk.org/user_avatar/uzu.lurk.org/dan/32/367_2.png) [@Dan](https://uzu.lurk.org/u/Dan)
#### Post date: [18 April 2020 15:25 UTC](https://uzu.lurk.org/t/problem-with-stack-install/542/1 "2020-04-18T15:25:18Z")

</div>

OK looks like I'm having trouble with the update 😣

When I installed tidal I used `stack`... Does anybody know how to remove it or in other words where did `stack` put tidal in the first place? I'm on Ubuntu.

I think I messed things up and would like to remove/uninstall and try again.

thanks!

---

<div class="post-metadata">

### Author: ![yaxu](https://uzu.lurk.org/user_avatar/uzu.lurk.org/yaxu/32/2_2.png) [@yaxu](https://uzu.lurk.org/u/yaxu)
#### Post date: [18 April 2020 15:27 UTC](https://uzu.lurk.org/t/problem-with-stack-install/542/2 "2020-04-18T15:27:05Z")

</div>

I'm not super familiar with stack but understand it can work well.. Did you try `stack update; stack install tidal` ? Or maybe `stack install tidal-1.4.9`

Otherwise I have a feeling that stack and cabal can co-exist fine. Probably you have something like `stack ghci` set up in your atom config and can just remove that to go back to the default.

---

<div class="post-metadata">

### Author: ![Dan](https://uzu.lurk.org/user_avatar/uzu.lurk.org/dan/32/367_2.png) [@Dan](https://uzu.lurk.org/u/Dan)
#### Post date: [18 April 2020 15:48 UTC](https://uzu.lurk.org/t/problem-with-stack-install/542/3 "2020-04-18T15:48:54Z")

</div>

> [@yaxu](#):
>
> Did you try `stack update; stack install tidal` ? Or maybe `stack install tidal-1.4.9`

Yeah I tried `stack update; stack install tidal` but looks like it didn't do much.  
I now tried `stack install tidal-1.4.9` and it did start compiling this time, and ends with a message like ` Registering library for tidal-1.4.9..` (so looks OK)

The problem is that once I start playing in the editor, `tidal_version` still says `1.4.8`.  
Sounds like there are both versions around and it keeps picking `1.4.8`.

> [@yaxu](#):
>
> Otherwise I have a feeling that stack and cabal can co-exist fine. Probably you have something like `stack ghci` set up in your atom config and can just remove that to go back to the default.

Yep good point. I'll give it one more go and if it fail I'll try this hopefully will work.

---

<div class="post-metadata">

### Author: ![yaxu](https://uzu.lurk.org/user_avatar/uzu.lurk.org/yaxu/32/2_2.png) [@yaxu](https://uzu.lurk.org/u/yaxu)
#### Post date: [18 April 2020 15:58 UTC](https://uzu.lurk.org/t/problem-with-stack-install/542/4 "2020-04-18T15:58:08Z")

</div>

How about if you do this from the commandline:

```auto
stack ghci
import Sound.Tidal.Context
tidal_version

```

If that says 1.4.9, maybe your editor isn't actually using the stack version

---

<div class="post-metadata">

### Author: ![Dan](https://uzu.lurk.org/user_avatar/uzu.lurk.org/dan/32/367_2.png) [@Dan](https://uzu.lurk.org/u/Dan)
#### Post date: [18 April 2020 16:26 UTC](https://uzu.lurk.org/t/problem-with-stack-install/542/5 "2020-04-18T16:26:25Z")

</div>

> [@yaxu](#):
>
> If that says 1.4.9, maybe your editor isn't actually using the stack version

hmm... it still says `1.4.8` 🤔  
Not sure what I've done to mess it up tbh.

Well I've now disabled the "use stack ghci" option from the editor and reinstalled tidal via cabal, works perfectly and it's `1.4.9`. Will stick to this now. Thanks for your help @yaxu!

---

<div class="post-metadata">

### Author: ![nmiya.sylvester](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/n/71e660/32.png) [@nmiya.sylvester](https://uzu.lurk.org/u/nmiya.sylvester)
#### Post date: [16 August 2020 12:43 UTC](https://uzu.lurk.org/t/problem-with-stack-install/542/6 "2020-08-16T12:43:59Z")

</div>

Trouble with the update here, too. I wasn't able to get cabal and supercollider to work together when I first started, so I went with the stack installation.

I'm at the same place Dan was at before he disabled "use stack ghci" and reinstalled via cabal -- my editor is using 1.4.8 even through I was able to install with `stack install tidal-1.4.9`.

Is there any way to update the version used by Atom with stack?

Thanks.

---

<div class="post-metadata">

### Author: ![yaxu](https://uzu.lurk.org/user_avatar/uzu.lurk.org/yaxu/32/2_2.png) [@yaxu](https://uzu.lurk.org/u/yaxu)
#### Post date: [16 August 2020 13:25 UTC](https://uzu.lurk.org/t/problem-with-stack-install/542/7 "2020-08-16T13:25:11Z")

</div>

Hi Miya! The latest tidal version is now 1.6.1 -- does `stack install tidal-1.6.1` do something?

---

<div class="post-metadata">

### Author: ![nmiya.sylvester](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/n/71e660/32.png) [@nmiya.sylvester](https://uzu.lurk.org/u/nmiya.sylvester)
#### Post date: [17 August 2020 06:21 UTC](https://uzu.lurk.org/t/problem-with-stack-install/542/8 "2020-08-17T06:21:26Z")

</div>

> [@yaxu](#):
>
> stack install tidal-1.6.1

Hey! I tried that and the steps given for the commandline still result in "1.4.8".

I was able to install tidal-1.6.1 with cabal before and switched to stack because cabal wasn't allowing sound with supercollider.

I ended up downloading tidal twice without thinking, and that made things confusing with two versions of tidal-1.6.1 referenced by cabal.

There was a toplap chat topic that went into duplicate installations and how to remove a file for it, but I couldn't figure it out. Is there anything I could do in stack?

Thank you.

---

<div class="post-metadata">

### Author: ![yaxu](https://uzu.lurk.org/user_avatar/uzu.lurk.org/yaxu/32/2_2.png) [@yaxu](https://uzu.lurk.org/u/yaxu)
#### Post date: [17 August 2020 08:49 UTC](https://uzu.lurk.org/t/problem-with-stack-install/542/9 "2020-08-17T08:49:06Z")

</div>

Hi Miya,

Hm so you have things set up in atom to use stack rather than cabal? Really this should work so I'm scratching my head here. Also there shouldn't be a big difference between a stack install and a cabal install, so one option would be to switch back to using cabal (changing the settings for the tidalcycles package in atom so the ghci path is the default), and try to work out what was going on there.

---

<div class="post-metadata">

### Author: ![nmiya.sylvester](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/n/71e660/32.png) [@nmiya.sylvester](https://uzu.lurk.org/u/nmiya.sylvester)
#### Post date: [26 August 2020 17:40 UTC](https://uzu.lurk.org/t/problem-with-stack-install/542/11 "2020-08-26T17:40:16Z")

</div>

Fixed it! 👍
