397
(page 2) 48 comments
sorted by: hot top controversial new old
[-] double_quack@lemm.ee 2 points 2 weeks ago
[-] PotatoesFall@discuss.tchncs.de 2 points 2 weeks ago

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

Statements dreamed up by the utterly deranged

[-] umbraroze@slrpnk.net 1 points 2 weeks ago

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?

[-] Matriks404@lemmy.world 1 points 2 weeks ago

Isn't this explained in the manpages for apt(8) and apt-get(8)?

Do people don't read their manuals anymore?

load more comments (1 replies)
[-] lungdart@lemmy.ca 1 points 2 weeks ago

Nala gang rise up!

[-] cannedtuna@lemmy.world 1 points 2 weeks ago

Console chiding me every time I use apt-get out of habit because it’s deprecated now…

[-] themeatbridge@lemmy.world 1 points 2 weeks ago

apt is for like when you want to, and apt get is the other way to get the apt. And then if it doesn't, sudo apt will, or then sudo apt get. Like if you're just doing an apt, and then you also need to apt get, you can.

[-] socsa@piefed.social 2 points 2 weeks ago
  1. You can't just be up there and just doin' a apt like that.

1a. An apt-get is when you

1b. Okay well listen. An apt-get is when you get the

1c. Let me start over

1c-a. The user is not allowed to do a motion to the, uh, kernel, that prohibits the kernel from doing, you know, just trying to get the apt. You can't do that.

1c-b. Once the user is in the terminal, he can't be over here and say to the packag, like, "I'm gonna get ya! I'm gonna apt you out! You better watch your butt!" and then just be like he didn't even do that.

1c-b(1). Like, if you're about to apt and then don't get, you have to still apt. You cannot not apt. Does that make any sense?

1c-b(2). You gotta be, typing motion of the command, and then, until you just apt-get it.

[-] harmsy@lemmy.world 1 points 1 week 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.

[-] HStone32@lemmy.world 0 points 2 weeks ago

Pretty sure it's basicaly

alias apt='apt-get'
load more comments (4 replies)
[-] RustyNova@lemmy.world -3 points 2 weeks ago* (last edited 2 weeks ago)

I got mistaken. See replies for explanation

=======

Apt: get whatever is in the cached package list

Apt-get: lookup the package to see the latest version and get that one

Unless you always apt update, apt-get is the go to choice for modern day Linux

There's also the apt-apt command, who triggers any audiophile to start complaining about mainstream music quality these days

[-] superkret@feddit.org 0 points 2 weeks ago

I disagree. According to Debian's own documentation, apt is a newer front-end for your daily CLI updating and installing needs.
It has simplified syntax, and combines the most-used functions and options.
It is not meant for use in scripts, cause the syntax may change between versions.

The dependency-solver in the back-end is identical.

tl/dr:
apt is shorter to type and will have prettier output, starting with Debian 13.
Use apt-get inside scripts.

[-] RustyNova@lemmy.world 3 points 2 weeks ago

Uh!? I've been lied to! Editing comment for clarity

[-] SnotFlickerman@lemmy.blahaj.zone -1 points 2 weeks ago

My personal experience is that apt-get will absolutely miss packages that apt will capture.

I was actually surprised by that about six months ago and finally switched over to apt after years of apt-get.

[-] superkret@feddit.org 1 points 2 weeks ago

That's actually one of the reasons I switched from Debian to Arch.
Dependency resolution shouldn't differ based on which front-end you use.
Debian has dpkg, aptitude, apt-get, apt, synaptic, the Software Center...
Fedora has rpm, dnf, yum. SUSE adds a couple more. I don't get it.
A linux distro should have one package manager, doing different stuff with it should be done via different commands/options inside it.

[-] Rhaedas@fedia.io 1 points 2 weeks ago

As a (still) Linux novice, this is something that I noticed with later distributions but never thought about your valid point. I did always wonder why there should be different places to install things in the same OS. It would probably be fine if they handled things the same, but then all you're doing is changing the UI. It never "felt" like they did things the same.

[-] SnotFlickerman@lemmy.blahaj.zone 0 points 2 weeks ago

Out of curiosity, can pacman update flatpaks? Or do you still have to update those independent of your package manager?

[-] superkret@feddit.org 1 points 2 weeks ago* (last edited 2 weeks ago)

It can't. I use a very simple script to combine updates and the basics of system maintenance:

#!/usr/bin/env bash
systemctl --failed -q
yay -Pw
sudo pacman -Syu
flatpak update
flatpak uninstall --unused
pacman -Qqnte > ~/.local/share/applications/pkglist.txt
pacman -Qqdtt > ~/.local/share/applications/optdeplist.txt
pacman -Qqem > ~/.local/share/applications/foreignpkglist.txt
pacman -Qtd
pacman -Qm | grep -v yay-bin
sudo find /etc -name *.pac*
yay -Ps | grep Cache
[-] mutual_ayed@sh.itjust.works -2 points 2 weeks ago

Alias is your friend.

alias install="sudo apt update && sudo apt install -y"

install git

[-] dan@upvote.au 1 points 2 weeks ago

I'd recommend avoiding aliases that conflict with regular commands, and there's a standard Linux command called install. https://man7.org/linux/man-pages/man1/install.1.html

If you're going to always pass the -y flag then I'd add --no-install-recommends too.

load more comments
view more: ‹ prev next ›
this post was submitted on 27 Apr 2025
397 points (98.5% liked)

linuxmemes

24894 readers
922 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