this post was submitted on 27 Apr 2025
575 points (98.8% liked)

linuxmemes

24662 readers
1693 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] dan@upvote.au 229 points 16 hours ago* (last edited 15 hours ago) (2 children)

    These days, apt is for humans whereas apt-get is for scripts. apt's output is designed for humans and may change between releases, whereas apt-get is guaranteed to remain consistent to avoid breaking scripts.

    apt combines several commands together. For example, you can use it to install packages from both repos and local files (e.g. apt install ./foo.deb) whereas apt-get is only for packages from repos and you'd need to use dpkg for local packages.

    [–] pelya@lemmy.world 42 points 12 hours ago (3 children)
    [–] grue@lemmy.world 31 points 11 hours ago (1 children)

    You forgot to "beep boop." Please report for debugging.

    [–] filcuk@lemmy.zip 8 points 4 hours ago

    Will they take me off the cron schedule?? I'm scared

    [–] cm0002@lemmy.world 8 points 11 hours ago (1 children)

    You and me both, makes sense though for me LMAO

    [–] Burninator05@lemmy.world 11 points 11 hours ago

    I always struggled with captchas and now I know why.

    [–] dan@upvote.au 5 points 9 hours ago* (last edited 9 hours ago)

    Or a long time Debian user from before the apt command!

    [–] fluckx@lemmy.world 58 points 14 hours ago (2 children)

    Huh TIL.

    I never considered trying to install a package from a local file through apt, but always dpkg. End result is the same of course. The web suggests dpkg rather than apt as well ( or at least the pages I ended up on ).

    [–] themoonisacheese@sh.itjust.works 27 points 13 hours ago (3 children)

    Discord is distributed as a .Deb if you don't use flatpak because they can't be bothered to set up a repo.

    The very useful thing about local file install is that unlike dpkg, apt will install dependencies automatically

    [–] fushuan@lemm.ee 2 points 11 hours ago (2 children)

    Thats weird, they do have an arch official package and that's the one they usually don't make because AUR is a thing. Have you checked lately?

    [–] themoonisacheese@sh.itjust.works 1 points 3 hours ago (1 children)

    I have checked on every new update because their fuckass client apparently can't update itself in big 2025 and instead just opens your browser to the download url because that'll convince people that Linux is great.

    [–] fushuan@lemm.ee 1 points 1 hour ago

    Updating itself isn't really the Linux way of things. The Linux way is to have a centralised place like pacman or apt and to download everything at once. Every app having their own download and update system sounds like a nightmare.

    [–] bisby@lemmy.world 6 points 10 hours ago (1 children)

    An "official" arch package? The arch package is packaged by the arch maintainers. https://gitlab.archlinux.org/archlinux/packaging/packages/discord

    The maintainers of the PKGBUILD are all arch maintainers, which just downloads the generic .tar.gz file discord provides and puts it in all the places you need for you.

    The "official" arch packages are just PKGBUILDs like the AUR, except prebuilt, managed (and signed) by the arch team.

    [–] fushuan@lemm.ee 1 points 1 hour ago

    I didn't know, thanks! I guess in hindsight I meant "official" as in, it's not just some rando, I can trust it won't break, and I don't have to manually download the stuff every time xD

    [–] randamumaki@lemmy.blahaj.zone 1 points 10 hours ago

    And here I am using gdebi for those kinds of local packages...

    [–] jaybone@lemmy.zip 1 points 11 hours ago

    Same with Zoom.

    [–] dan@upvote.au 7 points 12 hours ago* (last edited 9 hours ago)

    apt and apt-get both use dpkg internally, but these days it's essentially seen as an implementation detail that regular users don't need to know about.

    dpkg doesn't resolve dependencies (that's a feature of apt) which means that if you install a Debian package with dpkg, you'll have to manually install all dependencies first, and they won't be marked as automatically installed (so autoremove won't remove them if they're not needed any more). Using apt solves that.

    The web suggests dpkg because either the articles are old, or they're based on outdated knowledge :)