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?

  • bloodfart@lemmy.ml
    link
    fedilink
    arrow-up
    11
    ·
    5 months ago

    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!

    • mat@linux.community
      link
      fedilink
      English
      arrow-up
      7
      ·
      5 months ago

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

      • Tlaloc_Temporal@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

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

    • GravitySpoiled@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      Nice one.

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

      • boredsquirrel@slrpnk.net
        link
        fedilink
        arrow-up
        2
        ·
        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.