Anki is a great software, but unfortunately it is quite difficult to install on Linux systems. Almost all packages on major distros are by now years out of date or kicked out, because Anki changed its build systems so many times, that the existing package maintainers simply dropped it: https://github.com/ankitects/anki/issues/1378
Nowadays, the Anki version in Ubuntu is from 2019! The snaps are also hopelessly outdated.
Just to add another perspective, I use the anki package on apt/ubuntu and yum/fedora, and both repos work for me. I ran into one small issue on fedora that was really annoying, but it was fixable. The sync from the cloud worked on both
I’ve used their tarballed installer, which is straightforward. The app itself then checks for updates, and displays a reminder when there’s a new version.
Not as nice as having an updated version in apt, but it’s a trivial amount of work for something I personally get so much value out of.
It’s also a pain to get working right with fractional scaling on non-GTK desktops.
I had been using GNOME on my little “study pod” ThinkPad X1 Nano (which has a screen that requires 1.5x UI scale) but Anki was a real pain under that and so started using KDE instead. Anki runs well there but KDE isn’t quite my cup of tea. Wish it were more DE-agnostic.
There is no Anki package for Debian 12, and the binaries on the Anki website are only 64bit, so on my 32bit system I use the online version on ankiweb.net, which actually works pretty well.
Nowadays, the Anki version in Ubuntu is from 2019! The snaps are also hopelessly outdated.