Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      This week in AI updates: Mistral’s new Le Chat features, ChatGPT updates, and more (September 5, 2025)

      September 6, 2025

      Designing For TV: Principles, Patterns And Practical Guidance (Part 2)

      September 5, 2025

      Neo4j introduces new graph architecture that allows operational and analytics workloads to be run together

      September 5, 2025

      Beyond the benchmarks: Understanding the coding personalities of different LLMs

      September 5, 2025

      Hitachi Energy Pledges $1B to Strengthen US Grid, Build Largest Transformer Plant in Virginia

      September 5, 2025

      How to debug a web app with Playwright MCP and GitHub Copilot

      September 5, 2025

      Between Strategy and Story: Thierry Chopain’s Creative Path

      September 5, 2025

      What You Need to Know About CSS Color Interpolation

      September 5, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Why browsers throttle JavaScript timers (and what to do about it)

      September 6, 2025
      Recent

      Why browsers throttle JavaScript timers (and what to do about it)

      September 6, 2025

      How to create Google Gemini AI component in Total.js Flow

      September 6, 2025

      Drupal 11’s AI Features: What They Actually Mean for Your Team

      September 5, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Harnessing GitOps on Linux for Seamless, Git-First Infrastructure Management

      September 6, 2025
      Recent

      Harnessing GitOps on Linux for Seamless, Git-First Infrastructure Management

      September 6, 2025

      How DevOps Teams Are Redefining Reliability with NixOS and OSTree-Powered Linux

      September 5, 2025

      Distribution Release: Linux Mint 22.2

      September 4, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Operating Systems»Linux»This Tool Upgrades Everything on Ubuntu with One Command

    This Tool Upgrades Everything on Ubuntu with One Command

    July 20, 2025

    Keeping your Ubuntu install up-to-date isn’t difficult, even from the command line – but if you install packages from a slew of sources you often end up typing out a shopping list of commands to stay on top of things.

    Which is where the Topgrade utility comes in. It lets you run a single command to update software from multiple sources, in one fell swoop.

    Topgrade is not new, having debuted around 7 years ago (the original effort was archived in 2022 but a fork continues developed). I hadn’t heard of it; I saw a reader mention it in the comments of a recent article—thanks btw!—and felt it deserving of a spotlight.

    What does Topgrade do?

    Topgrade updating DEBs, Snaps, Flatpak, pipx and more

    A command-line tool written in Rust (because of course), Topgrade detects the package managers and updatable sources you use on your system, and then runs the correct commands to update the each time you run topgrade.

    It manages APT sources, Snaps, and Flatpaks as standard, but developers will appreciate it can go beyond those common sources to also refresh and update a lot more besides, including:

    • Cargo, Pip(x), NPM, Nix and Gem packages
    • Vim, Neovim, and Emacs plugins
    • JetBrains & VSCode/ium extensions
    • Git repos (if configured)
    • Homebrew/Linuxbrew
    • GNOME Extensions & Cinnamon Spices
    • ClamAV database
    • wsl, winget & Chocolatey (Windows)
    • Firmware (via fwupdmgr in view-only mode)

    Plus a whole lot more.

    You install it, open a terminal, type topgrade, and it does its thing. A one-stop-shop – but you customise and fine-tune its behaviour (I’ll get to that in a second).

    Install Topgrade on Ubuntu

    You can install Topgrade on Ubuntu in two main ways (not counting building from source): Cargo or a DEB package which is available for Ubuntu (and related Linux distributions, such as Linux Mint) on the project’s GitHub Releases page.

    Using the Topgrade DEB saves any undue hassle. All necessary dependencies get fetched and installed for you, and the tool will integrate cleanly with your system’s PATH, and make it easy to uninstall at a later date (sudo apt remove topgrade).

    Using DEBs from outside the Ubuntu repos is generally frowned up on. Yet, a lot of software is provided this way. This tool is open source, so the code can be checked at any time (no issues have been reported prior — this is not a new app).

    Download the appropriate package from Github, then proceed install by double-clicking it and using App Center, or run this command (in the same directory as the DEB):

    sudo apt install ./topgrade*.deb

    Once done, you can open a Terminal and run topgrade.

    However, the first time you use it run topgrade -n instead:

    Use the dry run mode to check what it will do first

    This performs a ‘dry run’, listing what actions/sources it would update from but without, y’know, actually updating anything you may not want.

    There are other commands too. For a comprehensive overview of everything Topgrade can do, run topgrade --help.

    To fully automate all upgrades (i.e., automatically agree/say yes to any package changes each source proposes), run topgrade -y and enter your password.

    If you only wish update a specific source(s) or run them in a specific order, for example snap and Flatpak, use topgrade --only snap flaptak . To skip a specific source but update all the rest, you’d run topgrade --disable snap – this would be one-time only.

    Fine-Tuning Your Upgrades

    If you want to control which software sources and formats Topgrade manages every time you run the single command, without passing flags, edit the ~/.config/topgrade.toml text file. Here you can also add/control how source(s) like git repos are handled.

    To exclude a source, for example exclude Flatpak, you’d add disable = ["flatpak"], and then save the file – always remember to save.

    More customisation options are available, and the config file lists most of them.

    You can add your own custom shell commands to run before or after the main process itself. For power users this open up a lot of possibilities, like letting you update a remote system(s) over SSH whenever you run it the command locally.

    Topgrade is useful, but not essential

    If you’re comfortable with GUI utilities like Software Updater and App Center, Topgrade is not something you will have need for. It also doesn’t do anything that can’t be done in other ways (some users like to create their own custom multi-line update scripts).

    But Topgrade is worth checking out if you use a diverse range of software sources and want to abstract away the hassle involved in keeping all the things™ up-to-date. The low barrier and automatic detection make this a fuss-free, time-saving tool.

    You’re reading This Tool Upgrades Everything on Ubuntu with One Command, a blog post from OMG! Ubuntu. Do not reproduce elsewhere without permission.

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleLe notizie minori del mondo GNU/Linux e dintorni della settimana nr 29/2025
    Next Article Forge Sparks – get Git forges notifications

    Related Posts

    Learning Resources

    Harnessing GitOps on Linux for Seamless, Git-First Infrastructure Management

    September 6, 2025
    Learning Resources

    How DevOps Teams Are Redefining Reliability with NixOS and OSTree-Powered Linux

    September 5, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    ESET APT Activity Report Q4 2024–Q1 2025: Malware sharing, wipers and exploits

    Development
    Thanks to Sabrina Carpenter, for the first time in my life — I want to play Fortnite

    Thanks to Sabrina Carpenter, for the first time in my life — I want to play Fortnite

    News & Updates

    Simplify API Responses with Fluent Methods

    Development

    CVE-2025-7341 – Elementor Page Builder & Gutenberg Blocks & Form Builder File Deletion Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    GhostContainer backdoor: malware compromising Exchange servers of high-value organizations in Asia

    July 17, 2025

    GhostContainer backdoor: malware compromising Exchange servers of high-value organizations in Asia

    In a recent incident response (IR) case, we discovered highly customized malware targeting Exchange infrastructure within government environments. Analysis of detection logs and clues within the sampl …
    Read more

    Published Date:
    Jul 17, 2025 (2 hours, 22 minutes ago)

    Vulnerabilities has been mentioned in this article.

    CVE-2020-0688

    Transform JSON into Typed Collections with Laravel’s AsCollection::of()

    May 19, 2025

    CVE-2025-3478 – OpenText Enterprise Security Manager Stored XSS Vulnerability

    August 25, 2025

    SharePoint Document Libraries Set For a Major Redesign

    August 21, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.