Updating a Linux machine is a painstakingly tedious task.

But thankfully, similar to most things on Linux, there’s a tool to facilitate this process too.

It’s called Topgrade, and it lets you patch your entire system using a single command.

a woman using a laptop

What Is Topgrade?

What Can Topgrade Update?

Additionally, it also supports third-party package managers like Snap and Flatpak.

topgrade warning message to set path variable

But first, you oughta install Cargo (and some of its dependencies) on your system.

Check out ourguide on setting the $PATH variable on Linuxto find out how to do this correctly.

As soon as you invoke it, it automatically identifies and updates packages installed on your setup.

running topgrade inside a terminal

Hence, using Topgrade is incredibly easy.

Topgrade will now run a series of commands.

Sit back and let it finish updating the packages.

topgrade dry run

If you’d like to quit, hitCtrl + Cand enterq.

For instance, say you don’t want Topgrade to update the vim package on your system.

You may also be asked to confirm certain file deletion operations.

topgrade cleanup command

That way, you don’t have to do this yourself every time you spin up the command.

To enable an action, un-comment the line by removing thePoundsign (#).

Similarly, the file also contains custom commands and pre-commands.

editing topgrade configuration file

When you’ve finished making changes to the configuration file, save and close it.

For most users, though, Topgrade can be extremely useful.