# Installation fails (on Ubuntu 22) when using instruction (via curl): \`curl: (23) Failure writing output to destination\`

**URL:** <https://discourse.julialang.org/t/installation-fails-on-ubuntu-22-when-using-instruction-via-curl-curl-23-failure-writing-output-to-destination/110977>\
**Category:** New to Julia\
**Tags:** juliaup\
**Created:** [February 29, 2024, 10:03pm UTC](https://discourse.julialang.org/t/installation-fails-on-ubuntu-22-when-using-instruction-via-curl-curl-23-failure-writing-output-to-destination/110977 "2024-02-29T22:03:00Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Andy2K11](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andy2k11/32/9967_2.png) [@Andy2K11](https://discourse.julialang.org/u/Andy2K11)\
**Post date:** [March 1, 2024, 8:42am UTC](https://discourse.julialang.org/t/installation-fails-on-ubuntu-22-when-using-instruction-via-curl-curl-23-failure-writing-output-to-destination/110977/5 "2024-03-01T08:42:27Z")

</div>

I have some vague memory of running into problems with the `/tmp` directory under ubuntu.

You might want to try changing your configuration to use a `tmp` directory in your user directory e.g. `~/tmp`

Think you would do `mkdir ~/tmp` and then `export TMPDIR=~/tmp`.

It’s a while since I’ve had to do this so hope I’m not sending you off in the wrong direction, but perhaps worth a shot if nothing else is working.

edit: `TMPDIR` works with debian and the `mktemp` command rather than `TEMP`

---

_[View the full topic](https://discourse.julialang.org/t/installation-fails-on-ubuntu-22-when-using-instruction-via-curl-curl-23-failure-writing-output-to-destination/110977)._
