DIff btrfs snapshots for package installation changes
To view the changes after a package installation without using Snapper, you need to manually create read-only Btrfs snapshots of your system's root subvolume before and after the dnf transaction, then use the btrfs send -p command with a pipe to see the file differences. A dedicated tool called btrfs-diff may also be available in your distribution's repositories or as a script online. Prerequisites You must be using Btrfs as your root filesystem. You need sufficient disk space for the snapshots (snapshots are space-efficient as they only store the changes, not full copies). You'll need root privileges. Method 1: Using btrfs send -p This method leverages Btrfs's incremental backup feature to list changed files. Create a pre-installation snapshot: Before running your dnf command, create a read-only snapshot of your root subvolume. bash sudo btrfs subvolume snapshot -r / pre_install_snapshot Install your package: Proceed with your package installation, for example: ...