Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Topgrade All-in-one Update Tool
#1
Hey all..

Upgrading Linux has gotten much easier than it used to be. In the old days, you might upgrade certain pieces of software, but mostly you would wait until you bought the next version of your distro of choice. Then you’d install it and marvel at the upgraded software.

Package management systems have made this easy, but they can’t update every part of your system. What about Ruby Gems or packages you installed via a third-party package manager like Linuxbrew? How will you keep your your configuration files synced?

[Image: Aqqr28I.png]

What Is Topgrade ?

You can get a clue of just what Topgrade is meant to do by looking at its GitHub page. Its slogan, written at the top of the page, is “upgrade everything.” That’s exactly what it is meant to do.



While we’re focusing on Linux here, Topgrade also works on macOS and Windows. Topgrade is written in Rust, so it should be rather speedy. It’s also licensed under the GNU GPL 3.0, so it’s free as in libre, not just free of charge.

What Does Topgrade Update ?

On Linux it will upgrade your system via its package manager, but that’s just the beginning. It will also upgrade Ruby Gems, Atom packages, Linuxbrew and nix packages, and more. It also upgrades apps installed via Snap or Flatpak. This is far from everything, but it should give you an idea.

[Image: 5EGo5tK.png]

Topgrade can also upgrade a large portion of your configuration files. It will upgrade your Vim or Neovim configuration if you use NeoBundle, Vundle, Plug, or Dein. If you use a Git repository for your dotfiles, it will also pull any recent changes to them.

You can also add custom commands for Topgrade to run while upgrading. This is handy if you use some custom scripts you’d like to keep automatically updated.

Installing Topgrade

If you run Vanilla Arch, Topgrade is available via the AUR package. Fortunately, this is fairly easy. On XeroLinux, you can install it with the following commands:
install topgrade
or sudo pacman -S topgrade
or yay -S topgrade
or paru -S topgrade

Using Topgrade

Now that Topgrade is installed, keeping your system up to date is easy. To run Topgrade’s basic update steps, just run the command:
topgrade

[Image: lwqfe3q.png]

If you want to add some custom commands or tweak how Topgrade works, you’ll need to edit its configuration file. On Linux, this is located at ~/.config/topgrade.toml For example, if you have a list of Git repositories you’d like to refresh, add the following to the file:
git-repos = [
    "~/my-repos/repo_name",
]

For more information on tweaking the configuration file, see the Customization section on the Topgrade GitHub page.

Conclusion

Topgrade gives you a ton of power when it comes to keeping your system up to date. That said, it may be overkill if you just want to keep your system up to date and secure. If you don’t install much third-party software, you may not need Topgrade.
~ XeroLinux Toolkit Maintainer ~
I do try to help where I can, when I can.
I do this on my own, so I might not have all the answers.
[Image: K7U76Mv.png]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pacseek TUI Pacman search tool DarkXero 2 1,168 02-26-2024, 12:09 PM
Last Post: DarkXero
  MKVToolNix, the tool to fix your mkv collections ATH-Linux 0 107 02-21-2024, 07:03 PM
Last Post: ATH-Linux
Lightbulb The Pacfinder GUI tool (a compagnion for pacseek) ATH-Linux 0 45 02-15-2024, 01:38 AM
Last Post: ATH-Linux
Thumbs Up Gammy Brightness Tool DarkXero 0 1,249 12-27-2021, 12:44 PM
Last Post: DarkXero
Thumbs Up Btop++ System Monitoring Tool For Linux DarkXero 0 1,061 11-26-2021, 12:56 AM
Last Post: DarkXero
Brick Ventoy - Best multi-boot tool! hxz 0 1,637 11-23-2021, 11:21 PM
Last Post: hxz

Forum Jump:


Users browsing this thread: 1 Guest(s)