# Problems with Ubuntu 24.04 overcome?

**URL:** <https://forums.ankiweb.net/t/problems-with-ubuntu-24-04-overcome/44142>\
**Category:** Help\
**Created:** [April 27, 2024, 11:17pm UTC](https://forums.ankiweb.net/t/problems-with-ubuntu-24-04-overcome/44142 "2024-04-27T23:17:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![pinnerup](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/pinnerup/32/52_2.png) [@pinnerup](https://forums.ankiweb.net/u/pinnerup)\
**Post date:** [April 27, 2024, 11:17pm UTC](https://forums.ankiweb.net/t/problems-with-ubuntu-24-04-overcome/44142/1 "2024-04-27T23:17:43Z")

</div>

The [Installing & Upgrading Anki on Linux](https://docs.ankiweb.net/platform/linux/installing.html#installing--upgrading-anki-on-linux) page says:

> If you’re on Ubuntu 24.04, please see [this thread](https://forums.ankiweb.net/t/issues-running-on-ubuntu-24-04/40974).

However, installing Anki (`anki-24.04.1-linux-qt6.tar.zst`) on a fresh install of (the finally released) Ubuntu 24.04, I see no problems. Anki runs as expected. This is the output from running (and manually closing) Anki on my recent install:

```auto
pinnerup@ergi:~/Downloads$ anki
Anki starting...
Initial setup...
Preparing to run...
Qt warning: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix 
2024-04-28 01:06:59,387:INFO:aqt.mediasrv: Serving on http://127.0.0.1:32971
Starting main loop...
2024-04-28 01:07:02,081:WARNING:waitress: unhandled close event

```

Therefore, whatever issue caused Anki to core dump on earlier (beta?) versions of Ubuntu 24.04 may have been overcome, so there might no longer be good reason to instruct people to run the given command, unless they’re having persistent problems.

---

<div class="post-metadata">

**Author:** ![MrMNight](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/mrmnight/32/18928_2.png) [@MrMNight](https://forums.ankiweb.net/u/MrMNight)\
**Post date:** [April 28, 2024, 8:12am UTC](https://forums.ankiweb.net/t/problems-with-ubuntu-24-04-overcome/44142/2 "2024-04-28T08:12:37Z")

</div>

Hi!

I agree, that problem I had with daily build (not even alpha =) ) of Ubuntu 24.04 seems gone. I did not check particularly Anki, however similar problem with Zoom, for example, gone so I expect Anki also will work without any problems

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [April 29, 2024, 6:41am UTC](https://forums.ankiweb.net/t/problems-with-ubuntu-24-04-overcome/44142/3 "2024-04-29T06:41:56Z")

</div>

Thanks for the heads up; I’ve added a qualifier to that sentence.

---

<div class="post-metadata">

**Author:** ![ojchris](https://avatars.discourse-cdn.com/v4/letter/o/9fc348/32.png) [@ojchris](https://forums.ankiweb.net/u/ojchris)\
**Post date:** [April 30, 2024, 3:24am UTC](https://forums.ankiweb.net/t/problems-with-ubuntu-24-04-overcome/44142/4 "2024-04-30T03:24:02Z")

</div>

Can you detail the steps you took to have it install on Ubuntu?

I tried Ubuntu on WSL and ended up with this build error [Need support for building / packaging - #10 by ojchris](https://forums.ankiweb.net/t/need-support-for-building-packaging/41892/10)

I want to attempt on a direct Ubuntu virtual machine.

---

<div class="post-metadata">

**Author:** ![pinnerup](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/pinnerup/32/52_2.png) [@pinnerup](https://forums.ankiweb.net/u/pinnerup)\
**Post date:** [April 30, 2024, 7:36am UTC](https://forums.ankiweb.net/t/problems-with-ubuntu-24-04-overcome/44142/5 "2024-04-30T07:36:08Z")

</div>

> [@ojchris](#):
>
> Can you detail the steps you took to have it install on Ubuntu?

I did only what’s lined out on the install page (linked above). That is to say:

I downloaded `anki-24.04.1-linux-qt6.tar.zst` to `~/Downloads`.

I ran `sudo apt install libxcb-xinerama0 libxcb-cursor0 libnss3` to install the required libraries.

I ran the following commands as given on the install page:

```auto
tar xaf Downloads/anki-24.04.1-linux-qt6.tar.zst
cd anki-24.04.1-linux-qt6
sudo ./install.sh

```

And then I simply typed `anki` to run the program.

---

<div class="post-metadata">

**Author:** ![ojchris](https://avatars.discourse-cdn.com/v4/letter/o/9fc348/32.png) [@ojchris](https://forums.ankiweb.net/u/ojchris)\
**Post date:** [May 2, 2024, 3:23pm UTC](https://forums.ankiweb.net/t/problems-with-ubuntu-24-04-overcome/44142/6 "2024-05-02T15:23:34Z")

</div>

Oh I see you meant installing the packaged version. I have no problem with that. I am trying to setup the web version source on github [GitHub - ankitects/anki: Anki's shared backend and web components, and the Qt frontend](https://github.com/ankitects/anki) to make development contribution.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [May 3, 2024, 1:05pm UTC](https://forums.ankiweb.net/t/problems-with-ubuntu-24-04-overcome/44142/7 "2024-05-03T13:05:18Z")

</div>

If you get stuck after following the guide in docs/, please create a new thread.

---

<div class="post-metadata">

**Author:** ![ojchris](https://avatars.discourse-cdn.com/v4/letter/o/9fc348/32.png) [@ojchris](https://forums.ankiweb.net/u/ojchris)\
**Post date:** [May 6, 2024, 10:27am UTC](https://forums.ankiweb.net/t/problems-with-ubuntu-24-04-overcome/44142/8 "2024-05-06T10:27:16Z")

</div>

Noted. Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [June 5, 2024, 10:27am UTC](https://forums.ankiweb.net/t/problems-with-ubuntu-24-04-overcome/44142/9 "2024-06-05T10:27:30Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
