this post was submitted on 16 Jul 2026
38 points (97.5% liked)

Linux

66663 readers
771 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

I frequently reinstall Linux. Is there a tool to say what to install and configure that I can just run once after OS install? Things like

  • Install neovim, signal, steam
  • Configure firefox, desktop environment

I'm using this for just me, on my personal machine.

I don't anticipate it's possible between different distros, so assume I'm reinstalling the same distro.

EDIT: thanks for replies. I'm mostly seeing Ansible and NixOS. I'll start looking at those.

you are viewing a single comment's thread
view the rest of the comments
[–] ATS1312@lemmy.dbzer0.com 4 points 1 week ago (1 children)

This is why we put /home on a separate partition for reuse on new installs. It saves your users' files. Your steam, WM, Firefox config, even document files are already basically portable between installs.

And in those files, we may as well put a bash script that does your pacman/apt/dnf/emerge/yay for the everything. This could be easy like with Gentoo or a PITA like with Debian to just scrape from the system right before migration.

Firefox is weird when you hop between distros. Some distros use the LTS (long term stable) version, others use the normal Stable branch... Does Debian still maintain an IceWeasel fork of Firefox? This means you may want to manually copy a folder to a backup location to manually slot it in after the distro-hop. Either way, you want to download a popular privacy-focused user.js file from Github ;)