• Digit@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    8
    ·
    14 hours ago

    Why are they fighting? *shrug*

    I’m guessing whoever made this uses arch btw.

    • flying_sheep@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      13 hours ago

      What would that be for? It’s hard to search the internet for.

      I think I remember from my Ubuntu days that I used it to switch JREs? Arch has something for that!

  • Envy@quokk.au
    link
    fedilink
    English
    arrow-up
    119
    arrow-down
    2
    ·
    2 days ago

    Dnf install
    Apt install
    Pacman -S (which is short, for sInstall.)

    • Digit@lemmy.wtf
      link
      fedilink
      English
      arrow-up
      4
      ·
      14 hours ago

      The real OG is emerge portage.

      IFTFY.

      (And I agree. USE flags ftw.)

      • msage@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        13 hours ago

        Dang, you are so correct.

        I forgot that unlike most package managers, Portage doesn’t use its name for the command.

        But then again people never say ‘I use Aptitude’, just apt.

        • Digit@lemmy.wtf
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 hours ago

          Some people do use aptitude instead of apt or apt-get.

          These are not the same.

          Different ways to wrap around dpkg.

          Try running just aptitude. :) See? :) TUI.

  • mazzilius_marsti@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 day ago

    pacman is the fastest but the syntax is weird. Has the best visual, i.e. pacman loading bar. If things go wrong like a broken dependencies it doesnt provide heloful output.

    Apt is the easiest to use but its output is very congested. Remember that Linus Tech Tips linux install video? The error warnings are very squashed together making it very difficult to see.

    Dnf is the sweet spot imo. As default, the speed is slow but you can tweak it on the config. Outputs are clean, and if something goes wrong like a broken dependency, dnf provides very useful info to troubleshoot.

  • CryptoKitten@sh.itjust.works
    link
    fedilink
    arrow-up
    5
    ·
    1 day ago

    I didn’t know what was dnf so I made a search and found out it replaced yum as the redhat package manager in 2013. I did not know about yum either. Last time I used a redhat-based distribution, Mandrake, the package managers were rpm and urpmi. Tempus fugit!

    • Digit@lemmy.wtf
      link
      fedilink
      English
      arrow-up
      3
      ·
      14 hours ago

      Gets even more confounding when considering PCLinuxOS, which uses apt to manage rpm packages.

  • The Picard Maneuver@piefed.world
    link
    fedilink
    English
    arrow-up
    119
    arrow-down
    1
    ·
    2 days ago

    I’m only 4 months into Linux, and apt is my comfort zone. Checking out other distros that use something else has me running away like:

    • Laser@feddit.org
      link
      fedilink
      arrow-up
      54
      ·
      2 days ago

      pacman is very fast and handy. The (in)famous pacman -Syu had you system completely up to date in record time.

      Sometimes I miss its speed and simplicity

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      31
      ·
      2 days ago

      YSK/PSA: If you’re on Mint, Mint’s apt is not Debian’s apt and while they work similarly for common use cases, they diverge pretty quickly beyond that. Both are installed by default but Mint’s takes precedence.*

      Case in point: I was looking for which package - specifically one that was not yet installed - contains a certain command line tool and Mint’s apt search does not find it. Debian’s does. **

      On the other hand, Mint’s apt has way more subcommands than the default one, which have been useful on occasion.

      * Mint’s is at /usr/local/bin/apt and Debian’s is at /usr/bin/apt; The default user $PATH puts /usr/local/bin before /usr/bin.

      ** FWIW, the tool is/was sponge and it’s in the moreutils package.

      • Colloidal@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        2 days ago

        Just use aptitude and be happy.

        Disclaimer: while aptitude was originally designed to replicate the apt CLI interface, I have never run the search command through it. The TUI is marvelous, though.

        • debil@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          2 days ago

          Nowadays apt supports deleting dangling config files with apt purge "~c" so no need to have aptitude for that feature. However, aptitude why <package> is pretty handy, and if you bump into dependency problems aptitude is quite capable of suggesting valid solutions.

          Disclaimer: I’ve never used aptitude’s TUI.

          • udon@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            3 hours ago

            However, aptitude why <package> is pretty handy

            Dude/dudesse, what the hell is this and why have I never heard of it? Sounds really useful on the manpage, I hope I remember it next time I need it. Thanks! 😊

      • Bobo The Great@startrek.website
        link
        fedilink
        arrow-up
        4
        ·
        2 days ago

        I wonder why apt search on ubuntu and debian must be so bad: on mint each package has a single line and an easy letter telling you if the program is installed or not. On debian/ubuntu each program takes multiple lines, are all green and the only way to distinguish installed ones is to look for an (installed) string at the end of the first line. I like Mint’s apt version so much

    • fahfahfahfah@lemmy.billiam.net
      link
      fedilink
      English
      arrow-up
      38
      ·
      edit-2
      2 days ago

      You can basically take that statement and replace “apt” with “whatever the first package tool I used” and it would be true for anyone.

    • thisbenzingring@lemmy.today
      link
      fedilink
      English
      arrow-up
      29
      ·
      2 days ago

      don’t let this type of bantering concern you

      we are all just splitting hairs and knocking each other’s preferences when it is basically trivial. Like BMW and Mercedes drivers trying to one up who drives the superior German car

    • atomicbocks@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      12
      ·
      2 days ago

      sudo apt update && sudo apt full-upgrade -y

      =

      sudo dnf update -y

      For most systems. If you can get apt you can get any of them.

      • Jankatarch@lemmy.world
        link
        fedilink
        arrow-up
        31
        ·
        2 days ago

        The feds don’t want you to know this but you can just put “-U” at the end of sudo apt upgrade and it updates before upgrading.

            • Digit@lemmy.wtf
              link
              fedilink
              English
              arrow-up
              2
              ·
              14 hours ago

              If they are suppressing this

              Yup. Must be. No “-U” found in man apt.

              (Is there in man apt-get though. And it works on both.).

              And it does not show up in fish’s option completion options on either, either.

              Near 20 years of having been using apt-get (and later, apt), if I ever knew this, I forgot. Could have been doing just one command all this time.

              what else aren’t they telling us

    • udon@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      2 days ago

      Don’t panic, apt+flatpak does everything very well, if all you need is a working computer. If you need a hobby, try nix or guix

      • Digit@lemmy.wtf
        link
        fedilink
        English
        arrow-up
        2
        ·
        14 hours ago

        Or for the ultimate hobby to dedicate to, cave.

        (Prizes for any who even know which package manager and distro that’s from.)

    • devfuuu@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      Exactly what I feel when I look or have to interact with anything that doesn’t have pacman 😅

      • The Picard Maneuver@piefed.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        I have to admit that I love the “pacman” pun quite a bit, which is nearly enough by itself to convince me to try it. One day. Maybe.

        • BurntWits@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          2 days ago

          I can’t lie, that’s one of the reasons I moved over to CachyOS a few months back. It’s not the only reason, but it’s been my favourite distro for sure that I’ve tried. It’s the first one that really felt good to me.

          • cygnus@lemmy.ca
            link
            fedilink
            arrow-up
            4
            ·
            edit-2
            2 days ago

            It’s really a great distro, I’ve been using it fulltime on laptop and PC for over a year. Best one I’ve tried so far and for some reason it’s less buggy than EndeavourOS was for me. The only thing I don’t like about it is the name.

  • muusemuuse@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 day ago

    Honestly as I force myself more into learning fedora, I’m really liking dnf. The history and rollback feature is super nice.