X
Business
Why you can trust ZDNET : ZDNET independently tests and researches products to bring you our best recommendations and advice. When you buy through our links, we may earn a commission. Our process

'ZDNET Recommends': What exactly does it mean?

ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing.

When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers.

ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form.

Close

How to update Linux Mint to Mint 21

It's not too hard to move from Linux Mint 20.3 to the long-term support of Linux Mint 21. But it's not a walk in the park, either.
Written by Steven Vaughan-Nichols, Senior Contributing Editor
Linux Mint 21

Linux Mint 21

sjvn

As far as I'm concerned, Linux Mint is the best desktop around. Note, I didn't say best Linux desktop, I said desktop, and I mean it. Why? Because its Cinnamon interface is easy to learn and use. It runs quickly on PCs that would choke on Windows 11. And it's fast, secure, and works well. However, upgrading from one major release to another? That's not so easy. But you can do it if you follow these step-by-step instructions. 

Let me give you a word of warning first. This upgrade is not for you if you've never used a Linux terminal. While you can just click your way to upgrading from Mint 20.x to a newer version of Mint 20.x, that's not the case here. This is, as Mint's chief Clement "Clem" Lefebvre said, a "major update," which "can take several hours."

  • Materials needed: USB Pen Drive
  • Estimated time:1 Hour.

Update and backup

To get started, run Update Manager to get your system up to date. Since I have mine set to run every two hours, that's not a problem for me. But if you aren't in the habit of running it automatically, you may have a few minutes of upgrading to go through before moving on to the next step.

First, before upgrading anything, make a backup of your system and files with the Backup Tool. Usually, when I back up my Mint PC, I just make a backup of my personal files. Most of us do it that way. But since you're updating the entire system, including your applications, this time, you should also back up your software selections. That way, if something goes seriously wrong, you'll be able to get back to where you started.

Next, use Timeshift to make a system image. With this, you can recover your system from less drastic problems. 

Download and burn

Now download the live Linux Mint 21 ISO and burn it to a USB stick with at least 4GBs of storage. If your computer doesn't boot properly with Mint 21, you can boot from this USB stick. Then, once your computer is back up and running, you can launch Boot Repair to fix your boot sequence. 

If that doesn't work, reboot from the stick, and launch Timeshift. The Timeshift program will then scan your drives for your system images from the live session. Once you find the image you just made, you can restore your computer using the snapshot image. This way, you'll be back to your earlier version of Mint. 

OK, enough of the worrisome stuff. I believe it's better to be safe than sorry, but I've done many Mint upgrades, and I've yet to run into any show-stopping problems. Let's get started on the actual upgrade.

Get set up for the installation

Your first step is to bring your terminal up. Yes, we need to use a few shell commands. Don't sweat it. There's nothing to it.

Just enter the following commands:

$ apt update

$ apt install mintupgrade

The first command ensures your computer will use the most recent files for your upgrade. The second command installs the program that will manage the update itself.

Then you get the show on the road by running:

$ sudo mintupgrade

That's it for all the shell commands. Linux is hard, isn't it?

Upgrade to Linux Mint

Upgrade to Linux Mint 21
sjvn

The Upgrade Tool itself is a simple graphical program. In the best case, you'll just hit buttons a couple of times, and you'll be done. 

This may take a while. Mint warns it could take several hours. I did much better than that. On my 2020 Dell Precision 3451 with its Intel 8-core 3GHz i7-9700 CPU, 16GBs of RAM, a 512GB SSD, and an AT&T Gigabit internet connection, it took me approximately 45 minutes.

But it wasn't a smooth process. While checking over my system, the upgrade program found several "orphan" programs. These actually weren't orphans. They were programs that I'd installed from outside the Debian/Ubuntu/Mint repositories.

Watch out for orphan program trouble

Linux Mint 21 Orphan Packages
sjvn

Specifically, I had installed Insync, a program that syncs Google Drive, OneDrive, and Dropbox with the Linux desktop;  ProtonVPN, a high-quality Virtual Private Network (VPN) client; QFinder Pro, a QNAP network attached storage (NAS) utility;  and Zoom, the video conferencing program.

ProtonVPN Packages
sjvn

I need all of these programs. The Mint Upgrade program wanted to know, though, what it should do with them since it doesn't know these programs. OK, I can buy that. But I had to manually enter the name of every orphan package I wanted to keep in Preferences. I couldn't select them from the orphan packages list, nor could I copy and paste them. I had to go back and forth to get the name right and then type them in one by one. 

This was annoying. I finally made a screenshot of each program's packages to save time as I typed each in. ProtonVPN, for example, had five different packages.  

I understand the need for this. As Lefebvre explained, when someone asked if he could just skip the check, "No, it's a hard requirement. It's the No. 1 cause of failures in package upgrades." I just wish the user interface was cleaner. Hopefully, it will be fixed soon.

Once that was done. I had no problems. 

Ready to run

Was it worth it? I think so. Mint 21 is notably cleaner and faster than 20.3. I'll have more to say about that in my upcoming review of Mint 21. I can already say it's a step up from the last version.

FAQs: 

Why use Linux Mint?

Simple.  It gives you a safe, secure desktop operating system that home users and companies can use at no cost and which is as efficient, easy to use, and elegant as possible. Oh, and did I mention it's free?

Why use Mint and not Arch? Debian? Ubuntu?

All Linux distros have their advantages and disadvantages. I prefer Mint because it's easy to use, and it's simple to pick up for people who already know Windows, which is most everyone. The one major exception is for companies that must maintain a large fleet of desktops. In that case, I recommend Red Hat Enterprise Linux Workstation, SUSE Linux Enterprise Desktop (SLED), or Ubuntu Advantage. That's because these all come with corporate support. 

See also

Editorial standards