Hi all,

I am about to do a bit of a distro hop, and I am looking at Fedora and its spins, after years on Debian / POP.

I am not looking forward to setting it all up again, it’s a drag.

I wonder, is there a tool that lets me script installs?

I’ll want to check if application exists, and if so, update, otherwise, install. That kind of thing.

Things like:

  • Telegram
  • Joplin
  • Docker
  • Firefox
  • Ungoogle Chromium
  • Sublime Text
  • VSCodium
  • Keepass
  • Thunderbird
  • DBeaver
  • Gimp
  • Inkscape
  • KDENLive
  • Syncthing
  • Steam
  • VLC
  • Localsend
  • Flameshot
  • Element
  • Cherrytree
  • Calibre
  • Anydesk

I show the list, only to give an idea of what might be involved.

I’m new to Fedora, so not sure how it differs beyond the package manager. But, thought I’d ask.

Does such a tool exist, and is it worth my time? I can practice on a VM before trying on the final install/s.

Thank you

  • utopiah@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Another “trick” I use is having an ~/Apps directory in which I have AppImage, binaries, etc that I can bring from an old /home to a new one. It’s not ideal, bypassing the package manager, and makes quite a few assumption, first architecture, but in practice, it works.

    • Samueru@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Check this out: https://github.com/ivan-hc/AM

      Use appman and set the install directory to ~/Apps and now you will be able to install appimages/binaries in the ~/Apps dir using a package manager that keeps them up to date and that you can move to any other distro, I have all of this:

      Although more recently for binaries I’ve been using this instead, which pulls from a massive repo of static binaries, though note that dbin needs its own separate directory in HOME to install binaries (you can’t use ~/Apps that is).

      • utopiah@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        Hmmm very interesting thanks for the links and explanation!

        I’m not “ready” for it yet so I’ve bookmarked all that (by adding a file in ~/Apps ;) but that’s definitely and interesting, and arguably neater solution.

        Honestly I try to stick to the distribution package manager as much as I can (apt on Debian stable) but sometimes it’s impossible. Getting binaries myself feels a bit “wrong” but usually works. Some, like yt-dlp as I see in your list, do have their own update mechanisms. Interesting to consider stepping back and consider the trade off. Anyway now thanks to you I know there are solutions for a middle ground!

        • utopiah@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          Also this is a good way to re-consider integration back, e.g. generating .desktop files for /.local/share/applications/ when using KDE rather than having to manually do it each time.

          • Samueru@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            3 months ago

            This is already done automatically.

            AM puts the .desktop files in /usr/local/share/applications

            AppMan puts them in ${XDG_DATA_HOME:-~/.local/share}applications

            They also get symlinked in PATH, that is you can launch yt-dlp by typing yt-dlp on the terminal as if you had installed it with your distro package manager.