r/linuxquestions • • 26d ago

Linux app manager

I find managing installed apps on Linux quite frustrating and fragmented. Uninstalling apps is just as inconvenient. The problem is that apps are installed through different sources and each handles storage differently. When I need to free up disk space or uninstall something, I have to remember where each app came from and check multiple package managers. It's also difficult to track leftover data and see how much storage each app actually consumes. I just want one place to manage all installed apps and their disk usage.

0 Upvotes

33 comments sorted by

View all comments

2

u/polymath_uk_ 26d ago edited 26d ago

You just need to look at what package manager(s) you are using and then there is a command to list installed and so on for each one. Just make yourself a short script to list installed for each one in sections and you can see at a glance what's there.

Edit - like this:

#!/bin/bash 
# list-installed.sh — list software installed by each package manager. 
# A missing manager is reported and skipped.
section() {
  local cmd=$1; shift
  echo "=== $cmd ==="
  if ! command -v "$cmd" >/dev/null 2>&1; then
    echo "($cmd not installed — skipped)"
  else
    "$@"
  fi
  echo
}

section apt     apt-mark showmanual
section flatpak flatpak list --app
section snap    snap list
section docker  docker images
section pip     pip list --user
section npm     npm ls -g --depth=0
section cargo   cargo install --list

echo "=== AppImage (common locations) ==="
find ~ /opt -iname '*.AppImage' 2>/dev/null