this post was submitted on 29 Jul 2025
36 points (97.4% liked)
Linux
56926 readers
486 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You can install all apps through the command line. Just write a shellscript with all the commands and run it when you're doing your reinstall.
And just update it with every package install and uninstall, on every device, forever.
dpkg --get-selections > package_list.txt
Or just generate a list before you reinstall. Other distros have similar commands.
Does that get you a list of only the manually installed packages, or also include things that were automatically installed as part of something else?
It does it if you do it right after the OS installation then whenever you plan to move on and diff the two.
As far as I know, it includes all installed packages, so the latter.
Should only show you the packages that you've explicitly installed (i.e. were not installed as dependencies).
If you installed meta packages (say, KDE Plasma) then it'll mark each component of that install as manually installed.
Will mark the meta packages as auto instead of manual.
You're correct. All packages installed via dpkg/apt are on that list. What isn't included are appimages, flatpacks, snaps and other non-dpkg software if you happen to have any.
Is there a nice way to check if something is already installed or do you just install it again and that just skips already installed stuff?
It skips already installed stuff.