# Best way to have latest SWIPL on Ubuntu 19.10

**URL:** <https://swi-prolog.discourse.group/t/best-way-to-have-latest-swipl-on-ubuntu-19-10/1903>\
**Category:** Installing\
**Tags:** how-to\
**Created:** [February 22, 2020, 5:48am UTC](https://swi-prolog.discourse.group/t/best-way-to-have-latest-swipl-on-ubuntu-19-10/1903 "2020-02-22T05:48:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![borgauf](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/borgauf/32/7116_2.png) [@borgauf](https://swi-prolog.discourse.group/u/borgauf)\
**Post date:** [February 22, 2020, 5:48am UTC](https://swi-prolog.discourse.group/t/best-way-to-have-latest-swipl-on-ubuntu-19-10/1903/1 "2020-02-22T05:48:01Z")

</div>

I’m a rank beginner and I’d like to have the latest version of SWIPL on my Ubuntu 19.10 64-bit. The PPA is out of date (has no 19.10 version). Latest Ubuntu version otherwise is 7.6.4.

---

<div class="post-metadata">

**Author:** ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)\
**Post date:** [February 22, 2020, 8:20am UTC](https://swi-prolog.discourse.group/t/best-way-to-have-latest-swipl-on-ubuntu-19-10/1903/2 "2020-02-22T08:20:48Z")

</div>

There must be something wrong with your PPA setup. All releases are made available for all current Ubuntu versions. See [https://launchpad.net/~swi-prolog/+archive/ubuntu/devel](https://launchpad.net/~swi-prolog/+archive/ubuntu/devel)

They are only available for all Ubuntu versions at the moment of release. So the stable 8.0.3 is probably not around for 19.10. 8.1.22 should be fine though.

---

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [February 22, 2020, 11:51am UTC](https://swi-prolog.discourse.group/t/best-way-to-have-latest-swipl-on-ubuntu-19-10/1903/3 "2020-02-22T11:51:21Z")

</div>

I just installed SWI-Prolog following [Installing from PPA (Ubuntu Personal Package Archive)](https://www.swi-prolog.org/build/PPA.html) onto Ubuntu 18.04.2 LTS which is running in [WSL 1](https://docs.microsoft.com/en-us/windows/wsl/about).

Upon startup

> Welcome to SWI-Prolog (threaded, 64 bits, version 8.1.22)

---

<div class="post-metadata">

**Author:** ![borgauf](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/borgauf/32/7116_2.png) [@borgauf](https://swi-prolog.discourse.group/u/borgauf)\
**Post date:** [February 22, 2020, 2:14pm UTC](https://swi-prolog.discourse.group/t/best-way-to-have-latest-swipl-on-ubuntu-19-10/1903/4 "2020-02-22T14:14:46Z")

</div>

```
Err:26 http://ppa.launchpad.net/swi-prolog/stable/ubuntu eoan Release                   
  404 Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/swi-prolog/stable/ubuntu eoan Release' does not have a Release file.

```

Nothing wrong with my PPA setup.

So I should try the development ppa and not stable?

---

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [February 22, 2020, 2:42pm UTC](https://swi-prolog.discourse.group/t/best-way-to-have-latest-swipl-on-ubuntu-19-10/1903/5 "2020-02-22T14:42:21Z")

</div>

> [@borgauf](#):
>
> So I should try the development ppa and not stable?

Of course, you can’t do worse than not trying.

I have been using the development version for about a year without problems. Unless you are using the code that is actively being developed like `tabling` or `rational numbers` you probably won’t have any problems.

---

<div class="post-metadata">

**Author:** ![borgauf](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/borgauf/32/7116_2.png) [@borgauf](https://swi-prolog.discourse.group/u/borgauf)\
**Post date:** [February 22, 2020, 3:25pm UTC](https://swi-prolog.discourse.group/t/best-way-to-have-latest-swipl-on-ubuntu-19-10/1903/6 "2020-02-22T15:25:19Z")

</div>

So should I do an uninstall/purge on the Ubuntu repo 7.6.4 first?

---

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [February 22, 2020, 3:50pm UTC](https://swi-prolog.discourse.group/t/best-way-to-have-latest-swipl-on-ubuntu-19-10/1903/7 "2020-02-22T15:50:32Z")

</div>

Based on what you have said, you have noting that needs to be saved from the install of any SWI-Prolog so if you are unsure then just delete them. SWI-Prolog can be installed over an existing SWI-Prolog and I have done this without problems numerous times on Windows.

My best advise for you is to just take notes as you go and move on. You seem to be knowledgeable enough to find that if you have a problem you will know it. Try something and if it doesn’t work, try something else. The taking of the notes is so that you are not repeating the same mistake over.

As the quote goes

> A master has done it more ways wrong than a beginner has done it.

---

<div class="post-metadata">

**Author:** ![borgauf](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/borgauf/32/7116_2.png) [@borgauf](https://swi-prolog.discourse.group/u/borgauf)\
**Post date:** [February 22, 2020, 3:57pm UTC](https://swi-prolog.discourse.group/t/best-way-to-have-latest-swipl-on-ubuntu-19-10/1903/8 "2020-02-22T15:57:09Z")

</div>

This all worked. Got 8.1.22 for x86\_64-linux. Thanks.

---

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [February 22, 2020, 4:05pm UTC](https://swi-prolog.discourse.group/t/best-way-to-have-latest-swipl-on-ubuntu-19-10/1903/9 "2020-02-22T16:05:43Z")

</div>

> [@borgauf](#):
>
> Thanks.

No need for the thanks, you did all the work, we just held up some sign post.

A better way to give thanks on this site is to click on the heart. Each response has one so you can click away all you like.
