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

  • makingStuffForFun@lemmy.mlOP
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    I love this, I will update the script I’ve setup to mirror your idea. Nice and clean.

    I wonder if you can help at all? The only app that fails install is Anydesk. I have to do the following:

    # Anydesk
    sudo tee /etc/yum.repos.d/anydesk.repo<<EOF
    [anydesk]
    name=AnyDesk Fedora Linux
    baseurl=http://rpm.anydesk.com/fedora/x86_64/
    gpgcheck=1
    repo_gpgcheck=1
    gpgkey=https://keys.anydesk.com/repos/RPM-GPG-KEY
    EOF
    

    sudo dnf install anydesk -y

    But it gives an error, saying :

    [anydesk]
    name=AnyDesk Fedora Linux
    baseurl=http://rpm.anydesk.com/fedora/x86_64/
    gpgcheck=1
    repo_gpgcheck=1
    gpgkey=https://keys.anydesk.com/repos/RPM-GPG-KEY
    AnyDesk Fedora Linux                                                                                                                                                         397  B/s | 488  B     00:01    
    AnyDesk Fedora Linux                                                                                                                                                         1.8 kB/s | 1.7 kB     00:00    
    Importing GPG key 0xCDFFDE29:
     Userid     : "philandro Software GmbH <info@philandro.com>"
     Fingerprint: D563 11E5 FF3B 6F39 D5A1 6ABE 18DF 3741 CDFF DE29
     From       : https://keys.anydesk.com/repos/RPM-GPG-KEY
    AnyDesk Fedora Linux                                                                                                                                                         796  B/s | 1.2 kB     00:01    
    Error: 
     Problem: conflicting requests
      - nothing provides libgtkglext-x11-1_0-0 needed by anydesk-6.3.2-1.x86_64 from anydesk
    (try to add '--skip-broken' to skip uninstallable packages)
    
    

    Is there a special way to add that kind of command to a bash script? All good apart from that though.