this post was submitted on 17 Jun 2024
72 points (92.9% liked)

Linux

48323 readers
648 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 5 years ago
MODERATORS
 

I just bought a new computer. I'll install fedora silverblue. Do I just need to copy the home directory? And crontab. What else do I need to move?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 44 points 5 months ago (5 children)

If you’re currently running a rpm distro, you can make it easier on yourself by using the duke nukem forever command to make a list of your installed programs: dnf list installed.

Once that’s outputting an appropriate format, dump it into a text file with | oldprogs.txt.

On your new computer, that same duke nukem forever command can be used to install from the list with something like dnf install << oldprogs.txt

I bet you can come up with a way to stuff all that into a neat little one liner that’ll provide error handling, output teeing and everything else!

[–] [email protected] 32 points 5 months ago (1 children)

One correction, it would be dnf list installed > oldprogs.txt. > instead of |.

[–] [email protected] 10 points 5 months ago

Ty, it’s early yet…

[–] [email protected] 22 points 5 months ago (1 children)

Thanks, I can't think of it as anything but duke nukem forever now. Your comment made my day.

[–] [email protected] 2 points 5 months ago

It's more appealing than the Did Not Finish command. That's to thematically close to flaming crashes for my liking.

[–] [email protected] 12 points 5 months ago

duke nukem forever

My life has two eras, pre- and post- awakening to this acronym. Updates will never be the same.

[–] [email protected] 5 points 5 months ago

Well that doesnt work for RPM distros, but just for dnf distros XD

[–] [email protected] 4 points 5 months ago (1 children)

Nice one.

On silverblue, everything is installed within a distrobox. I should back that up and make sure it's in my home folder.

[–] [email protected] 7 points 5 months ago

No not everything is installed in a Distrobox.

  • the core system contains base stuff
  • you can layer needed apps that need to be on the base system
  • GUI apps are preferred as Flatpaks
  • some random stuff may be in a Toolbox or Distrobox
  • you can use pip, cargo and others on the base OS to install binaries there.