How to use Topgrade to upgrade your Linux system

The Linux upgrade has become much easier than before. In the past, you could upgrade certain software, but for almost anything else, you would have to wait until you could buy the next version of the distribution you chose. After that, you install the new version with the upgraded software.

Package management systems have made this easier, but they cannot update every part of your system. What about the Ruby Gem or packages you have installed via a third-party package manager like Linuxbrew? How do you keep your configuration files synchronized?

What is Topgrade?

You can find out some information about what Topgrade will do by viewing its GitHub page. Reference links:

 https://github.com/r-darwish/topgrade 

Topgrade's slogan, written at the top of the page, is 'upgrade everything'. This is exactly what it can do.

Although we are focusing on Linux here, Topgrade also works on macOS and Windows. Topgrade is written in Rust, so it will be quite fast. Topgrade is also licensed under the GNU GPL 3.0.

What update Topgrade?

On Linux, it will upgrade your system through the package manager, but that's just the beginning. Topgrade will also upgrade Ruby Gem, Atom, Linuxbrew and nix packages, etc. Topgrade will also upgrade applications installed via Snap or Flatpak.

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

How to use Topgrade to upgrade your Linux system Picture 1

You can also add custom commands to Topgrade to run while upgrading. This is useful if you use some custom scripts that you want the update to take place automatically.

Install Topgrade

If you run Arch, Topgrade is available through the AUR package. If you use a different distribution, you will need to install Cargo, an installer for Rust packages. Fortunately, doing this is quite easy. On Ubuntu, you can install it with the following commands:

 sudo apt-get update sudo apt-get install cargo 

After Cargo is installed, you can install Topgrade with the following command:

 cargo install topgrade 

If this does not work, or you do not want to install Cargo, the precompiled binary files are also provided through the page that introduces Topgrade releases on GitHub. Reference links:

 https://github.com/r-darwish/topgrade/releases 

Use Topgrade

How to use Topgrade to upgrade your Linux system Picture 2

Now, Topgrade has been installed. Updating your system is easy. To run Topgrade's basic update steps, enter the following command:

 topgrade 

If you want to add some custom commands or adjust Topgrade's behavior, you'll need to edit its configuration file. On Linux, this application is located at '~ / .config / topgrade.toml'. For example, if you have a list of Git repositories that you want to refresh, add the following to the file:

 git-repos = [ "~/my-repos/repo_name", ] 

For more information on adjusting the configuration file, see the Customization section on the Topgrade GitHub page. Reference links:

 https://github.com/r-darwish/topgrade 

Topgrade gives you more power to keep the system up to date. But if you just want to keep your system up to date and secure, using Topgrade seems a bit overkill. If you do not install many third-party software, you may not need to go to Topgrade.

If you just want to keep Ubuntu up to date but you are unsure how to do it, don't worry! This is a fairly simple and easy process. See TipsMake.com 's guide on how to upgrade Ubuntu via the command line.

Hope you are succesful.

4 ★ | 17 Vote

May be interested

  • The new threat in Linux operating system can have 'incalculable' consequences.The new threat in Linux operating system can have 'incalculable' consequences.
    a new virus that appears to attack a linux system, called linux / shishiga, could become a major security threat.
  • Why are Linux computers still important?Why are Linux computers still important?
    phrases like 'the year of the linux computer' or something like that will probably never appear on the market. does this mean linux computers have no power at all? absolutely not! computers running the linux operating system are still great.
  • How to Update Ubuntu LinuxHow to Update Ubuntu Linux
    think your linux is out of date? this article will show you how to update your ubuntu linux system. update your repository list. you can do this by pressing ++. then type in . you will be prompted for your root password. all this command...
  • Instructions for installing Linux operating system on ChromebookInstructions for installing Linux operating system on Chromebook
    linux operating system is becoming very popular because of its amazing performance as well as many features in this compact operating system. and above all, this operating system is completely free. now the problem that confuses users is how to install linux chromebook. please follow the instructions later.
  • Is Linux the operating system or the kernel?Is Linux the operating system or the kernel?
    one of the questions you will probably find on most tech forums is whether linux is the operating system or the kernel. even for some proficient linux users, this question can be relatively difficult to answer.
  • 10 indispensable Office applications of Linux10 indispensable Office applications of Linux
    linux integrates many tools to help you overcome any difficulties at work. here are 10 office applications of linux that can please everyone.
  • Learn the file system and folders on Linux operating systemsLearn the file system and folders on Linux operating systems
    linux and unix file systems are organized in a hierarchy similar to the structure of a hierarchical tree. the highest level of the file system is the root directory, denoted by a slash '/' (root directory).
  • Use Journalctl to read the system log on LinuxUse Journalctl to read the system log on Linux
    most linux-based operating systems have switched to systemd, which comes with a different daemon log called journald. to interact with these logs, use the journalctl utility.
  • 28 interesting facts about Linux28 interesting facts about Linux
    linux is a computer operating system and is also the kernel name of the operating system. it is probably the most famous example of the concept of free software and of open source development.
  • How to install Solus LinuxHow to install Solus Linux
    recently, the linux community has given winged compliments to solus linux. this is understandable because this is a beautiful operating system with lots of great features. in a world where most popular linux distributions are 'derivative ubuntu', solus linux really stands out.