It also updates Ruby Gems, Atom packages, Linuxbrew and Nix packages, and more. It also updates applications installed via Snap or Flatpak. That’s not all by any means, but it should give you an idea. Topgrade can also update a large portion of your configuration files. It will update your Vim or Neovim configuration if you are using NeoBundle, Vundle, Plug or Dein. If you use a Git repository for your dotfiles, it will also pull any recent changes to them. Below we have mentioned the steps to Update Linux System With Topgrade.
How to Install Topgrade on Linux
You can install Topgrade using the Cargo package manager from Rust. But first you need to install Cargo on your system. If you already have it installed, you can skip this step and proceed with installing Topgrade. Once Cargo is installed, you can install Topgrade with this command: Once the installation is complete, a warning message will appear on the screen asking you to add the path for Topgrade to your $PATH variable so that you can use it from anywhere on the system.
How to Use Topgrade to Update Everything on Linux
Topgrade works quite independently. As soon as you invoke it, it automatically identifies and updates the packages installed on your computer. Therefore, using Topgrade is very simple. All you have to do is run a simple command and respond to the confirmation prompts that appear in the terminal. For some packages and utilities you’ll also have to type your system password to authenticate the operation.
Exclude Packages From Being Updated
Because the Topgrade command basically upgrades the entire system, it takes a while for the process to complete. To work around this, you can exclude certain packages from upgrading in Topgrade so that you can prevent Topgrade from upgrading them along with the rest of the packages.
View What Packages Will Be Updated on Your System
Clean Temporary or Old Files
With Topgrade you’ll not only be able to update your Linux system, but also clean up the temporary or old files on your computer. This not only frees up disk space, but also reduces the risk of your system or its programs having errors or bugs.
Get Detailed Information About an Operation
Update a Particular Package
There may be times when you want to update only certain packages. In such situations, you can use the –only option to update a specific package. This is what the command looks like: For example:
Edit the Topgrade Configuration File
Similar to other Linux programs, Topgrade has a configuration file that tells the program how it should work, what operations it should perform, and so on. Topgrade does provide certain options that allow you to do this explicitly through the terminal, but you can also modify the configuration file to make these changes permanent. This way you don’t have to do it yourself every time you run the command.
Final Words
Topgrade is one of those tools you wish you had known about earlier. It’s easy to use and offers the simplest way to automate Linux system updates, saving you the time and effort of performing the process manually. One of the best times to use Topgrade is when you are not actively using your computer, because you can launch the program and leave it alone while it updates the system.