415
submitted 11 months ago by tibor@pawb.social to c/programmerhumor@lemmy.ml
top 50 comments
sorted by: hot top controversial new old
[-] gkd@lemmy.ml 53 points 11 months ago

Try installing something from homebrew.

Oh you just want to install this one package here? Ok but let’s update 60 other packages first. Don’t worry, it will only take about one minute. Per package.

[-] 497a@discuss.tchncs.de 16 points 11 months ago

Bruh have fun on x86_64 since you have to compile them all (at least I had to, I might have broken something)

[-] navi@lemmy.tespia.org 1 points 11 months ago

I installed Mono on my M1 MBP last year and it took like four hours to compile 💀

[-] worfamerryman@beehaw.org 3 points 11 months ago

When I was new to linux and got a raspberry pi 1. I was following some random guide to put retroarch on the pi. I did not know what I was doing, but it took at least 24 hours if not more.

Years later I realized that the guide had me compiling it from source instead of just installing a precompiled package.

[-] urda@lebowski.social 1 points 11 months ago

Real talk I’ve been using this I’ve mashed together:

update_brew() {
    bold=$(tput bold);
    normal=$(tput sgr0);
    brew --version &&
    echo "${bold} > brew update${normal}" &&
    brew update &&
    echo "${bold} > brew upgrade${normal}" &&
    brew upgrade &&
    echo "${bold} > brew autoremove${normal}" &&
    brew autoremove &&
    echo "${bold} > brew cleanup${normal}" &&
    brew cleanup &&
    echo "${bold} > brew doctor${normal}" &&
    brew doctor;
}
[-] pkulak@beehaw.org 1 points 11 months ago

Try Nix instead of Homebrew.

[-] DontRedditMyLemmy@lemmy.world 24 points 11 months ago

Can we get some autoremove love in here?

[-] owenfromcanada@lemmy.world 17 points 11 months ago

That's the sleep command. That is, you type that before going to sleep.

[-] 497a@discuss.tchncs.de 15 points 11 months ago

One of the reasons I love pacman. A whole system update within a minute or two (depending on the particular system ofc)

[-] regular_human@lemmy.world 12 points 11 months ago

But for the love of linus, please read the news feed first!

[-] Rin@lemm.ee 3 points 11 months ago

Ain't nobody got time for that

[-] alec@wirebase.org 5 points 11 months ago

Do you use Arch perchance?

[-] LurkyTheHatMan@ttrpg.network 13 points 11 months ago

sudo apt-get update -y && sudo apt-get dist-upgrade -y

[-] NRay7882@sh.itjust.works 11 points 11 months ago

-yqq, "and don't say another word until it's done."

[-] rmuk@feddit.uk 2 points 11 months ago

&& sudo halt -f

It's quittin' time! See ya Monday!

[-] GizmoLion@kbin.social 10 points 11 months ago

Oops, missed a dash, so now you'll have to come back and finish.

[-] produnis@discuss.tchncs.de 10 points 11 months ago
[-] Swiggles@lemmy.blahaj.zone 17 points 11 months ago* (last edited 11 months ago)

pacman -Syu

Using -Syyu can cause a partial system upgrade if mirrors are out of sync. It leads to higher traffic for mirror owners and it is considered bad practice overall. There are just a few rare cases where it is useful at all.

Forcing anything should always be a conscious decision and never the default.

[-] manapropos@lemmy.sdf.org 11 points 11 months ago

I’m so lazy I alias “sudo pacman” to “p”

[-] vkirlin@lemmy.world 9 points 11 months ago

I have "yeet" for "yay -Rcns"

[-] jsqribe@feedly.j-cloud.uk 6 points 11 months ago
[-] daf@lemmy.world 8 points 11 months ago

It's just yay it will update by default if no parameters are passed.

[-] PracticalParrot@discuss.tchncs.de 6 points 11 months ago

Is there a big reason to use apt-get instead of just apt? I don't think I've ever used apt-get in years, always using just apt.

[-] jape@infosec.pub 10 points 11 months ago

It's used for scripting. Apt specifically recommends against using it in scripts.

load more comments (2 replies)
[-] President_Pyrus@feddit.dk 5 points 11 months ago

I updated my RPi zero running pi hole today. I had to disable pi hole, and even then it took well past half an hour to update...

[-] czardestructo@lemmy.world 4 points 11 months ago

This as my first thought. When running these commands in my pi1 or zero I go get a sandwich and come back an hour later

[-] chandz05@lemmy.world 3 points 11 months ago

Damn why so long? My 3b takes a few mins

[-] czardestructo@lemmy.world 7 points 11 months ago

Pi zero is many times less powerful than the pi3 but still perfectly fine for lots of simple tasks. Just takes forever to update.

[-] atimholt@lemmy.world 5 points 11 months ago

I think everyone should try Gentoo at least once, for the experience. Why download binaries when you can compile everything?

[-] Zucca@sopuli.xyz 4 points 11 months ago

I've used Gentoo for almost 20 yeas by now. 😋

[-] QuazarOmega@lemmy.world 4 points 11 months ago

I'm guessing you just got to actually use it now then

[-] TimeSquirrel@kbin.social 1 points 11 months ago* (last edited 11 months ago)

I already completed Linux From Scratch once 20 years ago for shits and giggles. I want to actually use my system, thanks.

[-] demesisx@lemmy.world 4 points 11 months ago* (last edited 11 months ago)

rebuild_intelTower_withUpdate() { ./home/scripts/pullrelease.sh nix flake update sudo nixos-rebuild switch --flake .#intelTower --impure --show-trace nix build .#homeConfigurations.bismuth-edp.activationPackage --impure --show-trace activateHM }

[-] neoney@lemmy.neoney.dev 3 points 11 months ago
[-] demesisx@lemmy.world 5 points 11 months ago

It pulls in flakes from flakes. So, unless I want to travel the whole dependency graph down all of the flakes and put them in my top-level flake, I have to use impure. 😕

[-] neoney@lemmy.neoney.dev 5 points 11 months ago

I personally use a patch on my nix that allows to evaluate a thunk for the inputs, and have every input in a different file. https://github.com/flafydev/combined-manager

[-] demesisx@lemmy.world 5 points 11 months ago

thanks so much for sharing. I'll give it a look.

[-] DrM@feddit.de 4 points 11 months ago* (last edited 11 months ago)

Do this with a typo in sources.list and uninstall the complete system at once. Happened to me once, happened to me twice. 10/10 will happen again

[-] some_guy@lemmy.sdf.org 4 points 11 months ago

Where did these Tarintino shots come from? The man has the pointiest chin.

[-] AusatKeyboardPremi@lemmy.world 3 points 11 months ago

I have the same question. Honestly, it looks AI generated to me.

[-] neoney@lemmy.neoney.dev 4 points 11 months ago

sudo nix flake update && sudo nixos-rebuild switch —flake .

[-] Stabbywithsocks1@lemmy.ml 4 points 11 months ago

"Knock it off Julian, I know how good my coffee is, I'm the one who buys it. When Bonnie goes shopping, she buys shit. I buy the more expensive coffee because when I drink it, I want to taste it. But you know what's on my mind right now? It ain't the coffee in my kitchen..."

[-] ben16w@lemmy.world 4 points 11 months ago

I feel that Tanintino would benefit from a beard

[-] MangoPenguin@lemmy.blahaj.zone 3 points 11 months ago* (last edited 11 months ago)

This was me the first time I tried using a Raspberry Pi, I'd never experienced an update taking longer than a minute or two before then

[-] Skedule@lemmy.ml 3 points 11 months ago

What are the chances, I'm currently waiting for apt-get upgrade to finish while browsing Lemmy.

[-] curiousaur@lemmy.fmhy.ml 2 points 11 months ago

This is not my beautiful house.

[-] callmepk@lemmy.world 2 points 11 months ago

Until you find you need to upgrade your distro version since it’s too old and important packages no longer update:

load more comments
view more: next ›
this post was submitted on 15 Jul 2023
415 points (97.5% liked)

Programmer Humor

31228 readers
73 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS