# Ubuntu 16.04 (xenial) install issue

**URL:** <https://uzu.lurk.org/t/ubuntu-16-04-xenial-install-issue/1450>\
**Category:** TidalCycles\
**Tags:** installation\
**Created:** [15 June 2020 20:30 UTC](https://uzu.lurk.org/t/ubuntu-16-04-xenial-install-issue/1450 "2020-06-15T20:30:09Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![nik](https://uzu.lurk.org/user_avatar/uzu.lurk.org/nik/32/796_2.png) [@nik](https://uzu.lurk.org/u/nik)\
**Post date:** [15 June 2020 20:30 UTC](https://uzu.lurk.org/t/ubuntu-16-04-xenial-install-issue/1450/1 "2020-06-15T20:30:09Z")

</div>

I'd like to get Tidal running on my linux laptop, running Ubuntu 16.04.6 LTS.

I installed cabal-install with apt-get, and tried to "cabal install tidal." The installation fails because of a problem with hosc-0.18.

I'm new to haskell and cabal. Can anyone suggest a workaround? Thanks.

```
cabal: Error: some packages failed to install:
hosc-0.18 failed during the building phase. The exception was:
ExitFailure 1
tidal-1.6.0 depends on hosc-0.18 which failed to install.

```

the buildlog says:

> Configuring hosc-0.18...  
> Building hosc-0.18...  
> Preprocessing library hosc-0.18...  
> [1 of 18] Compiling Sound.OSC.Wait ( Sound/OSC/Wait.hs, dist/build/Sound/OSC/Wait.o )  
> [2 of 18] Compiling Sound.OSC.Coding.Convert ( Sound/OSC/Coding/Convert.hs, dist/build/Sound/OSC/Coding/Convert.o )  
> [3 of 18] Compiling Sound.OSC.Time ( Sound/OSC/Time.hs, dist/build/Sound/OSC/Time.o )  
> [4 of 18] Compiling Sound.OSC.Datum ( Sound/OSC/Datum.hs, dist/build/Sound/OSC/Datum.o )  
> [5 of 18] Compiling Sound.OSC.Packet ( Sound/OSC/Packet.hs, dist/build/Sound/OSC/Packet.o )  
> [6 of 18] Compiling Sound.OSC.Coding.Cast ( Sound/OSC/Coding/Cast.hs, dist/build/Sound/OSC/Coding/Cast.o )  
> [7 of 18] Compiling Sound.OSC.Coding.Byte ( Sound/OSC/Coding/Byte.hs, dist/build/Sound/OSC/Coding/Byte.o )
> 
> Sound/OSC/Coding/Byte.hs:37:32:  
> Not in scope: ‘Put.putInt16le’  
> Perhaps you meant ‘Put.putWord16le’ (imported from Data.Binary.Put)

---

<div class="post-metadata">

**Author:** ![mashaal](https://uzu.lurk.org/user_avatar/uzu.lurk.org/mashaal/32/2100_2.png) [@mashaal](https://uzu.lurk.org/u/mashaal)\
**Post date:** [15 June 2020 22:08 UTC](https://uzu.lurk.org/t/ubuntu-16-04-xenial-install-issue/1450/2 "2020-06-15T22:08:43Z")

</div>

I ran into this issue on a fresh install last night. I had to install tidal 1.5.2, which installs an older version of hosc. After that install succeeded I was able to upgrade to 1.6.0

```
cabal install tidal-1.5.2
```

---

<div class="post-metadata">

**Author:** ![nik](https://uzu.lurk.org/user_avatar/uzu.lurk.org/nik/32/796_2.png) [@nik](https://uzu.lurk.org/u/nik)\
**Post date:** [15 June 2020 23:37 UTC](https://uzu.lurk.org/t/ubuntu-16-04-xenial-install-issue/1450/3 "2020-06-15T23:37:08Z")

</div>

Thanks! That worked for me too.

After

```
cabal install tidal-1.5.2

```

I could upgrade to 1.6.0 with

```
cabal install tidal
```

---

<div class="post-metadata">

**Author:** ![cleary](https://uzu.lurk.org/user_avatar/uzu.lurk.org/cleary/32/177_2.png) [@cleary](https://uzu.lurk.org/u/cleary)\
**Post date:** [16 June 2020 01:12 UTC](https://uzu.lurk.org/t/ubuntu-16-04-xenial-install-issue/1450/4 "2020-06-16T01:12:49Z")

</div>

awesome, thanks for posting this - I'm working on some installation automation using ansible, and [ran into the same error on Mint 19.3](https://club.tidalcycles.org/t/new-ansible-method-for-installing-on-ubuntu-20-04-focal-debian-10-buster-and-potentially-other-debian-based-linux-distros-not-mint-19-3/544/33)

I may be able to add support all the way back to 16.04 now 🙂

---

<div class="post-metadata">

**Author:** ![mashaal](https://uzu.lurk.org/user_avatar/uzu.lurk.org/mashaal/32/2100_2.png) [@mashaal](https://uzu.lurk.org/u/mashaal)\
**Post date:** [16 June 2020 01:37 UTC](https://uzu.lurk.org/t/ubuntu-16-04-xenial-install-issue/1450/5 "2020-06-16T01:37:36Z")

</div>

Not sure what the hosc bug is, but maybe tidal can pin the older dependency until it’s resolved?

@yaxu [https://github.com/tidalcycles/Tidal/commit/d6bdf993254847dca150b12c7d09b777c63e4d0a](https://github.com/tidalcycles/Tidal/commit/d6bdf993254847dca150b12c7d09b777c63e4d0a)

---

<div class="post-metadata">

**Author:** ![lxyxpx](https://uzu.lurk.org/user_avatar/uzu.lurk.org/lxyxpx/32/19_2.png) [@lxyxpx](https://uzu.lurk.org/u/lxyxpx)\
**Post date:** [16 June 2020 08:47 UTC](https://uzu.lurk.org/t/ubuntu-16-04-xenial-install-issue/1450/6 "2020-06-16T08:47:33Z")

</div>

Hi all,

We're looking at this problem and how to fix it here:  
[https://github.com/rd--/hosc/pull/2](https://github.com/rd--/hosc/pull/2)

For now a workaround would be to install hosc-0.17 before tidal (effectively this is what installing a prior version of tidal does):

```nohighlight
cabal install hosc-0.17 --lib
cabal install tidal --lib

```

---

<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 June 2020 12:21 UTC](https://uzu.lurk.org/t/ubuntu-16-04-xenial-install-issue/1450/7 "2020-06-16T12:21:58Z")

</div>

hosc-0.18.1 is out now which hopefully solves this issue

---

<div class="post-metadata">

**Author:** ![mashaal](https://uzu.lurk.org/user_avatar/uzu.lurk.org/mashaal/32/2100_2.png) [@mashaal](https://uzu.lurk.org/u/mashaal)\
**Post date:** [16 June 2020 13:16 UTC](https://uzu.lurk.org/t/ubuntu-16-04-xenial-install-issue/1450/8 "2020-06-16T13:16:02Z")

</div>

It works, thanks!

---

<div class="post-metadata">

**Author:** ![cleary](https://uzu.lurk.org/user_avatar/uzu.lurk.org/cleary/32/177_2.png) [@cleary](https://uzu.lurk.org/u/cleary)\
**Post date:** [17 June 2020 00:50 UTC](https://uzu.lurk.org/t/ubuntu-16-04-xenial-install-issue/1450/9 "2020-06-17T00:50:46Z")

</div>

Thanks @yaxu and @lxyxpx!

---

<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 June 2020 07:30 UTC](https://uzu.lurk.org/t/ubuntu-16-04-xenial-install-issue/1450/10 "2020-06-17T07:30:57Z")

</div>

The mysterious @lxyxpx was me accidentally using a test account 🙂

---

<div class="post-metadata">

**Author:** ![cleary](https://uzu.lurk.org/user_avatar/uzu.lurk.org/cleary/32/177_2.png) [@cleary](https://uzu.lurk.org/u/cleary)\
**Post date:** [17 June 2020 10:45 UTC](https://uzu.lurk.org/t/ubuntu-16-04-xenial-install-issue/1450/11 "2020-06-17T10:45:30Z")

</div>

You could've had some fun with that .. ah well 😉
