You’re probably using a very ancient version from your package manager. Please try the official builds from https://apps.ankiweb.net/
Note: if you have trouble getting the latest stable to run on Ubuntu 22.04, you can try the new beta, which is known to work there: