Switching up my Linux OS and its accompanying software has never been easier, thanks to Topgrade. With a single command, this handy tool swiftly detects and updates my entire system.
Topgrade is a powerful terminal tool that simplifies the process of updating and upgrading software on your Linux system, regardless of the installation method. This versatile tool has been around for a few years and supports a wide range of Linux distributions, including Debian, Ubuntu, Arch, and many others.
Installing Topgrade
To install Topgrade on your Linux system, you can either use your distribution's package manager or download it directly from its GitHub releases. For Debian-based systems, you can use the following command:
Alternatively, if your distribution's package manager doesn't have Topgrade available, you can install it using the Rust package manager, cargo, by running:
Basic Usage
Once installed, you can run in the terminal, and it will attempt to update all known package managers and related tools on your system by default.
Configuring Topgrade
Topgrade uses a configuration file, , where you can enable or disable "updaters" such as APT, Flatpak, Snap, Cargo, etc. To update only specific systems (for example, but not ), you can disable the unwanted updaters in the config file.
Disabling Flatpak Updates
To disable Flatpak updates, create or edit the file and use the following snippet:
This tells Topgrade to skip the Flatpak updater while it runs updates for other software sources.
Updating Specific Packages
If you want to update only certain packages, you can override the configuration file using the command . For example, to update only APT and Cargo while disabling Flatpak and Snap, you can create the following configuration:
```toml [apt] enabled = true
[cargo] enabled = true
[flatpak] enabled = false
[snap] enabled = false ```
Running Topgrade
After configuring, simply run:
It will update the configured components according to your settings without fuss.
Dry Run and Real Update
To perform a dry run of Topgrade, use the or option to check that everything runs as expected without making changes to the OS. Running the update for real will still not mention Flatpak.
Advanced Usage
To disable updating a specific source temporarily, use the command . This will disable updates for the specified source without affecting other sources.
For more information about Topgrade's available options and their uses, run the command "topgrade --help".
With Topgrade, you can easily manage your Linux system's software updates, tailoring the tool's behavior to your preferences while excluding unwanted package managers like Flatpak. Enjoy a hassle-free update experience!
Read also:
- Microsoft's Patch Tuesday essential fixes: 12 critical vulnerabilities alongside a Remote Code Execution flaw in SharePoint
- Airbus readies for maiden flight test of hydrogen fuel-cell engine of megawatt class
- UAE and Finland boosting their efforts in Arctic research and weather forecasting
- Dynamic interplay of power and communication channels set the course for the network's new era