this post was submitted on 27 Apr 2025
848 points (98.5% liked)

linuxmemes

24808 readers
2477 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
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] SpaceCadet@feddit.nl 21 points 6 days ago

    Me use apt. Why use many letter when few letter do trick?

    [–] pulsewidth@lemmy.world 17 points 6 days ago (1 children)

    How my brain distinguishes them:

    apt-get when you want full verbose output

    apt when you want to feel fancy with progress bars and colours

    [–] mrsingh@sh.itjust.works 6 points 6 days ago

    apt install nano (simple, clean)

    apt-get install nano (works too, but more detailed output)

    Apt-get give more technical output , helps in scripting .

    [–] keen@lemmy.world 12 points 6 days ago* (last edited 6 days ago)

    Use apt in the shell and use apt-get in scripts, because apt has beautiful shell output but it isn't script safe

    [–] harmsy@lemmy.world 1 points 4 days ago

    It's been a long time since I've needed to use either. Instead I typically use Synaptic Package Manager, Mint's Software Manager, or gdebi. Guess I'm just a filthy casual.

    [–] double_quack@lemm.ee 4 points 6 days ago (1 children)
    [–] PotatoesFall@discuss.tchncs.de 5 points 5 days ago (1 children)

    "Hello, I would like to -Syu a package." "Can I -Rsc this?"

    Statements dreamed up by the utterly deranged

    [–] double_quack@lemm.ee 1 points 5 days ago (1 children)

    Btw, never Syu a single package

    [–] Darorad@lemmy.world 1 points 5 days ago

    Correct, always Syyu it

    [–] umbraroze@slrpnk.net 4 points 6 days ago (1 children)

    Me, I'm old, so I just keep using apt-get, because that's all we had back in the day, and I never bothered to learn what's the big deal about apt. It's just a frontend, isn't it?

    [–] JackbyDev@programming.dev 3 points 6 days ago

    Apt looks a little prettier I think. But I may be wrong.

    [–] truthfultemporarily 348 points 1 week ago (1 children)

    The binary is called apt-get. There are others like apt-cache etc.

    Apt is a script that just figures out which binary to use and passes the arguments on.

    • apt update -> apt-get update
    • apt policy -> apt-cache policy
    [–] grrgyle@slrpnk.net 126 points 1 week ago

    You know, I thought I knew why, but this was new information to me, so I guess I didn't.

    Thanks for sharing this concise explico!

    [–] dan@upvote.au 281 points 1 week ago* (last edited 1 week 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.

    [–] fluckx@lemmy.world 75 points 1 week ago (5 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 37 points 1 week ago (9 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

    load more comments (9 replies)
    load more comments (4 replies)
    [–] pelya@lemmy.world 56 points 1 week ago (4 children)
    [–] grue@lemmy.world 40 points 1 week ago (1 children)

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

    [–] filcuk@lemmy.zip 15 points 1 week ago (1 children)

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

    load more comments (1 replies)
    load more comments (3 replies)
    [–] DonutsRMeh@lemmy.world 163 points 1 week ago (7 children)

    apt is a newer, more user-friendly front-end for apt-get and apt-cache.

    apt = combines commands like install, remove, update, upgrade into one tool, with prettier output

    #apt-get = older, lower-level, more script-friendly For normal use, just use apt now. For scripting where 100% backward compatibility matters, use apt-get.

    [–] chicken@lemmy.dbzer0.com 64 points 1 week ago (1 children)

    TIL apt isn't literally the same thing as apt-get

    load more comments (1 replies)
    load more comments (6 replies)
    [–] nightwatch_admin@feddit.nl 99 points 1 week ago (1 children)

    Following this post for replies, for a friend of course

    [–] RustyNova@lemmy.world 28 points 1 week ago (1 children)

    You may want to tell your friend to check it now!

    [–] nightwatch_admin@feddit.nl 19 points 1 week ago

    Friends says thanks, friend !

    [–] Matombo 63 points 1 week ago (2 children)

    apt-get has a fixed format machine parseable output

    apts output tries to be more human readable and is subject to change

    load more comments (2 replies)
    [–] Microw@lemm.ee 47 points 1 week ago* (last edited 1 week ago) (1 children)

    🎡

    APT, APT, APT, APT

    Just meet me at the...

    🎡

    Uh-huh uh-huh...

    [–] tal@lemmy.today 46 points 1 week ago* (last edited 1 week ago) (3 children)

    apt is newer and mostly supersedes apt-get/apt-cache/etc tools, tries to be a more-approachable frontend.

    They interoperate though, so if you're happy with using a mix of them, go for it. I generally just use apt.

    EDIT: There were also some older attempts to produce a unified frontend, like aptitude.

    [–] dan@upvote.au 25 points 1 week ago* (last edited 1 week ago)

    mostly supersedes apt-get/apt-cache/etc tools,

    Except for in scripts. Debian guarantee that the output format of apt-get will never change and thus it's safe to use in scripts that parse the output, whereas they don't have the same guarantee for apt, which can change between releases.

    load more comments (2 replies)
    [–] ace@lemmy.ananace.dev 38 points 1 week ago (2 children)

    One has super cow powers, the other one doesn't.

    load more comments (2 replies)
    [–] randamumaki@lemmy.blahaj.zone 32 points 1 week ago (5 children)

    Wait until you learn of aptitude...

    [–] four@lemmy.zip 20 points 1 week ago (5 children)

    When working with RHEL I always flip a coin to see if I'm gonna use yum or dnf this time

    load more comments (5 replies)
    [–] Barometer3689@feddit.nl 19 points 1 week ago (21 children)

    jesus I feel old, and I am only in my 30s. I remember not having apt. How young are linux users nowadays?

    load more comments (21 replies)
    [–] Diplomjodler3@lemmy.world 17 points 1 week ago (1 children)

    I'll just copy whatever is in the guide I'm following at the time.

    [–] victorz@lemmy.world 32 points 1 week ago* (last edited 1 week ago) (4 children)

    Here lie dragons. Make sure you understand commands that you run on your computer. πŸ‘

    load more comments (4 replies)
    load more comments
    view more: next β€Ί