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

      CodeSOD: A Unique Way to Primary Key

      July 22, 2025

      BrowserStack launches Figma plugin for detecting accessibility issues in design phase

      July 22, 2025

      Parasoft brings agentic AI to service virtualization in latest release

      July 22, 2025

      Node.js vs. Python for Backend: 7 Reasons C-Level Leaders Choose Node.js Talent

      July 21, 2025

      The best CRM software with email marketing in 2025: Expert tested and reviewed

      July 22, 2025

      This multi-port car charger can power 4 gadgets at once – and it’s surprisingly cheap

      July 22, 2025

      I’m a wearables editor and here are the 7 Pixel Watch 4 rumors I’m most curious about

      July 22, 2025

      8 ways I quickly leveled up my Linux skills – and you can too

      July 22, 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

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025
      Recent

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025

      Zero Trust & Cybersecurity Mesh: Your Org’s Survival Guide

      July 22, 2025

      Execute Ping Commands and Get Back Structured Data in PHP

      July 22, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025
      Recent

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025

      “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

      July 22, 2025

      Galaxy Z Fold 7 review: Six years later — Samsung finally cracks the foldable code

      July 22, 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

    News & Updates

    A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

    July 22, 2025
    News & Updates

    “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

    July 22, 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

    RT-2: New model translates vision and language into action

    Artificial Intelligence

    CVE-2025-5816 – “WooCommerce Pengiriman Plugin Insecure Direct Object Reference”

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-49189 – Apache HTTP Server HTTPOnly Session Cookie Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    pa is a simple password manager

    Linux

    Highlights

    CVE-2025-47535 – Opal Woo Custom Product Variation Path Traversal

    May 24, 2025

    CVE ID : CVE-2025-47535

    Published : May 23, 2025, 1:15 p.m. | 23 hours, 43 minutes ago

    Description : Improper Limitation of a Pathname to a Restricted Directory (‘Path Traversal’) vulnerability in wpopal Opal Woo Custom Product Variation allows Path Traversal. This issue affects Opal Woo Custom Product Variation: from n/a through 1.2.0.

    Severity: 8.6 | HIGH

    Visit the link for more details, such as CVSS details, affected products, timeline, and more…

    Unsure About the Future of Windsurf? Try These Alternative Vibe Coding Editors on Linux

    July 16, 2025

    Regolith – A JavaScript library immune to ReDoS attacks

    July 11, 2025

    Tux Fishing is a 3D fishing game

    June 5, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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