# How to update on linux?

**URL:** <https://forums.ankiweb.net/t/how-to-update-on-linux/47129>\
**Category:** Help\
**Created:** [July 16, 2024, 3:34pm UTC](https://forums.ankiweb.net/t/how-to-update-on-linux/47129 "2024-07-16T15:34:35Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![tracker](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@tracker](https://forums.ankiweb.net/u/tracker)\
**Post date:** [July 16, 2024, 3:34pm UTC](https://forums.ankiweb.net/t/how-to-update-on-linux/47129/1 "2024-07-16T15:34:35Z")

</div>

Hiya all,

I use Anki on Fedora KDE, using the official installation method on ankiweb. net. Anki is at ~/Applications/anki-24.06.2-linux-qt6.

I see that the latest version in 24.06.3, while I’m on 24.06.2. The instructions for upgrading say:

> If you’re upgrading from a previous package, simply repeat the installation steps to upgrade to the latest version. Your user data will be preserved.

I’ve downloaded the latest qt6 release. How exactly should I update? Should I delete the folder for 24.06.2, then install 24.06.3?

I’m not sure what to do.

Thanks so much for any help.

---

<div class="post-metadata">

**Author:** ![tatsumoto](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/tatsumoto/32/5411_2.png) [@tatsumoto](https://forums.ankiweb.net/u/tatsumoto)\
**Post date:** [July 16, 2024, 3:52pm UTC](https://forums.ankiweb.net/t/how-to-update-on-linux/47129/2 "2024-07-16T15:52:07Z")

</div>

Is there a reason why you installed the package from the website? It’s better to install using your system’s package manager, or using `pipx`. Manual installation is rather difficult.  
See [this article](https://tatsumoto.neocities.org/blog/setting-up-anki#installation).

---

<div class="post-metadata">

**Author:** ![Aleksej](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Aleksej](https://forums.ankiweb.net/u/Aleksej)\
**Post date:** [July 16, 2024, 4:11pm UTC](https://forums.ankiweb.net/t/how-to-update-on-linux/47129/3 "2024-07-16T16:11:25Z")

</div>

@tatsumoto, there is nothing particularly difficult about it: it is just an archive with files, one of which is executable. Like DOS and Windows users would do unless there is an installer.  
You just need to know how to unpack an archive and how to start a file. Unless you have /home mounted with `noexec`, which is not the case here.

---

<div class="post-metadata">

**Author:** ![Aleksej](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Aleksej](https://forums.ankiweb.net/u/Aleksej)\
**Post date:** [July 16, 2024, 4:17pm UTC](https://forums.ankiweb.net/t/how-to-update-on-linux/47129/4 "2024-07-16T16:17:19Z")

</div>

@tracker, it seems that you don’t know where your collection is located, which might mean that you haven’t done backups yet. Nothing custom is stored in the directory you created by unpacking the Anki package, so you can just start the new version, and even start an older version again. But you must make backups frequently even if you don’t update.

[https://docs.ankiweb.net/files.html](https://docs.ankiweb.net/files.html)  
[https://docs.ankiweb.net/backups.html](https://docs.ankiweb.net/backups.html)

---

<div class="post-metadata">

**Author:** ![chrislg](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/chrislg/32/32411_2.png) [@chrislg](https://forums.ankiweb.net/u/chrislg)\
**Post date:** [July 16, 2024, 4:41pm UTC](https://forums.ankiweb.net/t/how-to-update-on-linux/47129/5 "2024-07-16T16:41:49Z")

</div>

I just run the ./uninstall.sh script in the folder of the previous release. Then I execute the ./install script of the new release 🙂

---

<div class="post-metadata">

**Author:** ![tatsumoto](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/tatsumoto/32/5411_2.png) [@tatsumoto](https://forums.ankiweb.net/u/tatsumoto)\
**Post date:** [July 17, 2024, 6:21pm UTC](https://forums.ankiweb.net/t/how-to-update-on-linux/47129/6 "2024-07-17T18:21:04Z")

</div>

> [@Aleksej](#):
>
> there is nothing particularly difficult about it: it is just an archive with files, one of which is executable.

Yes, of course. It is difficult to update the installed package. I recommended using a package manager because it automates everything. You install the package once, and then the package manager checks and installs updates without requiring manual interaction.

---

<div class="post-metadata">

**Author:** ![tracker](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@tracker](https://forums.ankiweb.net/u/tracker)\
**Post date:** [July 20, 2024, 7:28pm UTC](https://forums.ankiweb.net/t/how-to-update-on-linux/47129/7 "2024-07-20T19:28:15Z")

</div>

I use the package from the website because it is the official one, and the most up-to-date one. Also anki isn’t in the fedora repos.

---

<div class="post-metadata">

**Author:** ![tracker](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@tracker](https://forums.ankiweb.net/u/tracker)\
**Post date:** [July 20, 2024, 7:40pm UTC](https://forums.ankiweb.net/t/how-to-update-on-linux/47129/8 "2024-07-20T19:40:43Z")

</div>

Thanks. I exported my collection as a .colpkg file, which I think is the recommended way of backing up everything, including media. Is that right? Should I back up ~/.local/share/Anki2/User 1/ too?  
@chrislg I did what you suggested, and I’ve successfully updated anki. Thanks.

---

<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:** [July 24, 2024, 2:08pm UTC](https://forums.ankiweb.net/t/how-to-update-on-linux/47129/9 "2024-07-24T14:08:48Z")

</div>

You can back up that folder if you wish. It includes your current add-ons and previous collection backups.

---

<div class="post-metadata">

**Author:** ![tatsumoto](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/tatsumoto/32/5411_2.png) [@tatsumoto](https://forums.ankiweb.net/u/tatsumoto)\
**Post date:** [July 24, 2024, 4:37pm UTC](https://forums.ankiweb.net/t/how-to-update-on-linux/47129/10 "2024-07-24T16:37:13Z")

</div>

If I’m not mistaken, the package on PyPi is also official (i.e. uploaded by dae), although I think it doesn’t matter that much.

---

<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:** [August 23, 2024, 4:38pm UTC](https://forums.ankiweb.net/t/how-to-update-on-linux/47129/11 "2024-08-23T16:38:11Z")

</div>

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