Earlier this year, I built a new PC and it’s running Ubuntu. I’ve been installing various apps and configuring them since then. Now, I realize I don’t have any way of knowing what I would want to reinstall, if I (for instance) lost this drive somehow.

How do you keep track of what you’ve installed/ your favorite apps?

Separately, how can I backup the configurations I’m using right now.

Thanks!

2 points
permalink
report
reply
5 points

git repo

A bash script

apt get install <your list here>

Same with flatpak

Keep updated. Done.

permalink
report
reply
2 points

I back up the entire system, apps and all. The main reason is so that I can get back up and running quickly, but it also spares me the need to worry about which apps to reinstall.

permalink
report
reply
12 points

Install fresh copy of Linux OS on a new device. Install the apps I know I need like browser, code editor, etc.

Use device.

Realize “oh crap I forgot to install X!”

Install X

Repeat until all X have been installed.

permalink
report
reply
4 points

Plus backup /home and /etc, maybe /opt as well.

permalink
report
parent
reply
4 points

Lol, pretty much what I’ve done in the past. And yep, it works, eventually.

permalink
report
parent
reply
6 points

Use ansible and variable, so it can be replicated to other computer. Simple

ansible.builtin.apt:
   name: "{{ item }}"
   state: latest
loop:
   - pkg1
   - pkg2
permalink
report
reply
3 points

At work we are starting to transition to Ansible from chef and other homegrown solutions. So to learn Ansible I added awx to my home lab and now have playbooks for almost all of my devices. Going to format a Pi again soon and see if everything works as intended

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

Community stats

  • 8.1K

    Monthly active users

  • 6.4K

    Posts

  • 175K

    Comments