# Ubuntu install instructions don't work for older ubuntu

**URL:** <https://forum.crystal-lang.org/t/ubuntu-install-instructions-dont-work-for-older-ubuntu/4031>\
**Category:** Help & Support\
**Created:** [November 4, 2021, 6:35am UTC](https://forum.crystal-lang.org/t/ubuntu-install-instructions-dont-work-for-older-ubuntu/4031 "2021-11-04T06:35:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rogerdpack](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/rogerdpack/32/117_2.png) [@rogerdpack](https://forum.crystal-lang.org/u/rogerdpack)\
**Post date:** [November 4, 2021, 6:35am UTC](https://forum.crystal-lang.org/t/ubuntu-install-instructions-dont-work-for-older-ubuntu/4031/1 "2021-11-04T06:35:42Z")

</div>

On 15.10:

```auto
curl -fsSL https://crystal-lang.org/install.sh | sudo bash
crystal is already the newest version.
$ crystal -v
Crystal 0.35.1 [5999ae29b] (2020-06-19)

LLVM: 8.0.0

```

Might be nice to spit out a warning or something instead? Thanks.

---

<div class="post-metadata">

**Author:** ![straight-shoota](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/straight-shoota/32/36_2.png) [@straight-shoota](https://forum.crystal-lang.org/u/straight-shoota)\
**Post date:** [November 4, 2021, 9:51am UTC](https://forum.crystal-lang.org/t/ubuntu-install-instructions-dont-work-for-older-ubuntu/4031/2 "2021-11-04T09:51:56Z")

</div>

Ubuntu 15.10 has been EOL for 5 years now. You should not expect any support for that.

This behaviour looks odd. The output doesn’t look like it would come from the latest installer. It should definitely fail because we don’t have a repository for Ubuntu 15.10 on OBS. However, I can’t even reproduce this issue because the distro packages seem to be no longer available.

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/rogerdpack/32/117_2.png) [@rogerdpack](https://forum.crystal-lang.org/u/rogerdpack)\
**Post date:** [November 4, 2021, 2:38pm UTC](https://forum.crystal-lang.org/t/ubuntu-install-instructions-dont-work-for-older-ubuntu/4031/3 "2021-11-04T14:38:04Z")

</div>

OK looks like it is actually 15.04.

I had removed the “set -eu” from the install script since my repo’s are messed up.

I think I was using some old deb repo or something, before.

Other clues:

No package found gpg (even after cleaning up my deb repo’s)

W: Failed to fetch [http://download.opensuse.org/repositories/devel:languages:crystal/xUbuntu\_15.04/Packages](http://download.opensuse.org/repositories/devel:languages:crystal/xUbuntu_15.04/Packages) 404 Not Found [IP: 195.135.221.134 80]

So maybe if I’d cleaned up my deb repo’s that would have been enough of a clue.

Manually changing /etc/apt/sources.list.d/crystal.list to

deb [Index of /repositories/devel:/languages:/crystal/xUbuntu\_14.04](http://download.opensuse.org/repositories/devel:languages:crystal/xUbuntu_14.04/) /

seems to at least give me 1.1, so I’m good for now, thanks!

---

<div class="post-metadata">

**Author:** ![straight-shoota](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/straight-shoota/32/36_2.png) [@straight-shoota](https://forum.crystal-lang.org/u/straight-shoota)\
**Post date:** [November 4, 2021, 3:28pm UTC](https://forum.crystal-lang.org/t/ubuntu-install-instructions-dont-work-for-older-ubuntu/4031/4 "2021-11-04T15:28:36Z")

</div>

Note you can also use the `DISTRO_REPO` environment variable with the installer:

```auto
$ DISTRO_REPO=xUbuntu_14.04 ./install.sh

```

That should definitely install 1.2.1, though. Not 1.1. Unless you pinned the package to `crystal1.1`.

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/rogerdpack/32/117_2.png) [@rogerdpack](https://forum.crystal-lang.org/u/rogerdpack)\
**Post date:** [November 5, 2021, 3:38am UTC](https://forum.crystal-lang.org/t/ubuntu-install-instructions-dont-work-for-older-ubuntu/4031/5 "2021-11-05T03:38:11Z")

</div>

> [@straight-shoota](#):
>
> `DISTRO_REPO=xUbuntu_14.04 ./install.sh`

That worked thanks.  
[http://download.opensuse.org/repositories/devel:/languages:/crystal/xUbuntu\_14.04/i386/](http://download.opensuse.org/repositories/devel:/languages:/crystal/xUbuntu_14.04/i386/)

I assumed it wasn’t there because 32 bit was deprecated or something? :)

---

<div class="post-metadata">

**Author:** ![straight-shoota](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/straight-shoota/32/36_2.png) [@straight-shoota](https://forum.crystal-lang.org/u/straight-shoota)\
**Post date:** [November 5, 2021, 10:09am UTC](https://forum.crystal-lang.org/t/ubuntu-install-instructions-dont-work-for-older-ubuntu/4031/6 "2021-11-05T10:09:48Z")

</div>

You never mentioned this is for 32-bit architecture. From 1.2 on we’re not publishing any distribution packages for i386 anymore ([Preparing for Crystal 1.2 - The Crystal Programming Language](https://crystal-lang.org/2021/09/30/preparing-1.2.html))
