How to Configure Linux Mint 22/21 Automatic Updates

Keep your Linux Mint installation up-to-date and bug-free with automatic updates. Learn how to set them up with our step-by-step guide.

Linux Mint is a popular Ubuntu-based Linux distribution known for its with-user-in-mind approach, user-friendly interface, and stability. One of the key Mint’s features is its ability to update itself automatically, ensuring that your system is always up-to-date with the latest security patches and software updates.

However, while keeping your system updated with the latest security patches and bug fixes is always a good idea, manually checking for updates and installing them can be tedious and time-consuming.

For this reason, this tutorial will guide you through configuring automatic updates onย Linux Mint 22 or 21 so your system stays secure and up-to-date, eliminating the need for constant manual interventions.

(Optional) Set Automated System Backup

We strongly recommend you set up automated system backups before configuring automatic updates on your Linux Mint system. This ensures that you can quickly restore the system to its previous working state if something goes wrong with the updates.

Linux Mint offers a great tool for this, which is included by default in the distro โ€“ the Timeshift app. It is a system restore tool that allows users to take snapshots of their system at different points in time. In addition, Timeshift can also be used to back up and restore user data, such as documents, pictures, and music.

Launch the application and click the โ€œSettingsโ€ button to set automatic backups with Timeshift.

Timeshift app.
Timeshift app.

Set the backup type on the “Schedule” tab. We recommend you choose “Weekly,” which is entirely reasonable. Finally, click the “OK” button.

Set automated system backup on Linux Mint 21 with Timeshift.
Set automated system backup on Linux Mint 21 with Timeshift.

Remember that the system snapshots are saved into a newly created โ€œtimeshiftโ€ directory on the root โ€œ/โ€ partition, so make sure you have enough free space. Because system snapshots are incremental, only the first snapshot takes up a lot of space. After that, all subsequent ones only take up space for changed files.

Setting Automatic Updates on Linux Mint 22/21

Configuring automatic updates on your Linux Mynt system is easy and can be done through the Update Manager application. Select โ€œAdministrationโ€ from the start menu to open it, then pick โ€œUpdate Manager.โ€œ

Launch the Update Manager app.
Launch the Update Manager app.

When the application opens, choose “Preferences” from the “Edit” menu.

Open Update Manager preferences.
Open Update Manager preferences.

Select the โ€œAutomationโ€ tab, then turn on the toggle switch for โ€œApply updates automatically.โ€œ The Update Manager app will ask you for your password. Enter it and hit the โ€œAuthenticateโ€ button to confirm.

Setting up Linux Mint automatic updates.
Setting up Linux Mint automatic updates.

You’re almost ready. Switch on the other three options listed on the screen below; explanations of each are provided below. Finally, close the window.

Setting up additional automatic updates.
Setting up additional automatic updates.

Mint’s Cinnamon spices are additional software components that can be installed on top of the Cinnamon desktop environment in Linux Mint. These spices can add new features, enhance existing ones, or customize the desktop experience according to the user’s preferences.

Some Linux Mint Cinnamon Spices examples include applets, desklets, extensions, themes, and icons. Enabling the โ€œUpdate Cinnamon spices automaticallyโ€ option ensures youโ€™ll always have the most up-to-date, bug-free user experience.

โ€œUpdate Flatpaks automaticallyโ€ is another helpful feature in Linux Mint. As a result, any extra Flatpak applications you install will always stick to their latest versions.

Over time, new Linux kernel updates appear. However, when you install them, the older versions are not automatically removed, and even though they are no longer in use, they use disk space.

The โ€œRemove obsolete kernels and dependenciesโ€ option automatically removes unused Linux kernel versions from your Mint system. But donโ€™t worry โ€“ your manually installed kernels will not be removed automatically.

Allow Mint’s Automatic Updates Using Command Line

In addition to the graphical interface of the Update Manager application, Linux Mint lets you set automatic updates via the command line with a single command.

sudo mintupdate-automation upgrade enableCode language: Bash (bash)
Setting up automatic updates on Linux Mint using the command line.
Setting up automatic updates on Linux Mint using the command line.

However, only automatic updates will be enabled; the other three options, updating Cinnamon spices, Flatpak apps, and automatically cleaning up old Kernel versions, will remain disabled by default.

Setting up Linux Mint automatic updates.
Setting up Linux Mint automatic updates.

To enable them, follow the above steps via the Update Manager GUI.

Conclusion

Configuring automatic updates in Linux Mint is essential to maintaining your system’s security and stability. By enabling them, you can ensure your system is always up-to-date with the latest security patches and bug fixes without manually checking for updates.

It is worth noting that while automatic updates can help ensure your system’s security and stability, they can also introduce new issues or conflicts.

That’s why, it is always recommended to have a backup plan in place, such as regularly backing up your data or creating system restore points, in case any issues arise during the update process. We’ve shown you how to do this using the Timeshift app.

I hope you found this guide helpful. Any suggestions and comments are welcome in the comments section below.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%