38
Method to save your favorite Linux apps for reinstall
(lemmy.today)
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.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
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?
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.
It does it if you do it right after the OS installation then whenever you plan to move on and diff the two.
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.