this post was submitted on 17 Jul 2026
7 points (100.0% liked)

Linux Questions

4052 readers
41 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 3 years ago
MODERATORS
 

On Mint. Tried installing Anki from the app store, but the web was unhappy with that version's time zone handling, so I couldn't sync.

I downloaded the tarball from the developer and it installed fun, but when I run it I get:

 Starting Anki 26.05...
Qt warning: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. 
Qt info: Could not load the Qt platform plugin "xcb" in "" even though it was found. 
Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, offscreen, xcb, minimalegl, eglfs, vkkhrdisplay, minimal, vnc, wayland-brcm, wayland-egl, wayland.
 
Aborted (core dumped)

The Qt debug's only issue is this:

Qt debug: Got keys from plugin meta data QList("wayland", "wayland-egl", "wayland-brcm") 
Qt debug: checking directory path "/home/alex/Downloads/anki-linux/platforms" ... 
Qt debug: "/home/alex/Downloads/anki-linux/app_packages/PyQt6/Qt6/plugins/platforms/libqxcb.so" cannot load: Cannot load library /home/alex/Downloads/anki-linux/app_packages/PyQt6/Qt6/plugins/platforms/libqxcb.so: libxcb-cursor.so.0: cannot open shared object file: No such file or directory 
Qt debug: QLibraryPrivate::loadPlugin failed on "/home/alex/Downloads/anki-linux/app_packages/PyQt6/Qt6/plugins/platforms/libqxcb.so" : "Cannot load library /home/alex/Downloads/anki-linux/app_packages/PyQt6/Qt6/plugins/platforms/libqxcb.so: libxcb-cursor.so.0: cannot open shared object file: No such file or directory" 
Qt warning: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. 
Qt info: Could not load the Qt platform plugin "xcb" in "" even though it was found. 
Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

I've checked that location and libqxcb.so is exactly there where it should be, so I'm not sure why it can't read.

I've uninstalled and reinstalled and still have this problem.

Any ideas?

Edit: Solution:

Try installing the packages mentioned here: https://docs.ankiweb.net/platform/linux/installing.html#requirements

you are viewing a single comment's thread
view the rest of the comments
[โ€“] moonpiedumplings@programming.dev 1 points 1 day ago (1 children)

Try installing the packages mentioned here: https://docs.ankiweb.net/platform/linux/installing.html#requirements

sudo apt install libxcb-xinerama0 libxcb-cursor0 libnss3 libxcb-icccm4 libxcb-keysyms1

[โ€“] schipelblorp@sh.itjust.works 1 points 5 hours ago* (last edited 5 hours ago)

Ah, the magic of reading directions. Thanks. This fixed it.