There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

mara ,
@mara@pawb.social avatar

Nix!

Hamartiogonic ,
@Hamartiogonic@sopuli.xyz avatar

“The script accepts the name of a program or package as an argument when you run it. This value is then referenced as “$1” (argument number 1). Everywhere the script says “$1”, it substitutes in the name of the package you gave it. The end result is the name being tried against a large number of software repositories and package managers, and hopefully, at least one of them will be appropriate and the program will be successfully installed.”

Source: explain XKCD

lord_ryvan ,

I don’t think they asked for an explanation, but thanks anyways!

ExplainXKCD’s a great site, more XKCD readers should know about it!

Hamartiogonic ,
@Hamartiogonic@sopuli.xyz avatar

Nobody asked, but I needed it. Thought that perhaps I’m not alone, so now that I have the answer, might as well share it here.

lord_ryvan ,

That sonds like a good thought process, I’ll try it too

Cwilliams OP ,

Yep, thanks!

Overlock ,
@Overlock@sopuli.xyz avatar

xbps-install ?

subcytoplasm ,

nix-shell -p “$1”

tslnox ,

emerge!

18107 ,
fmstrat ,

gam (GitHub Application Manager)

dudinax ,

You’re gonna need a -y on apt-get

pbsds ,
@pbsds@lemmy.ml avatar

The final fallback should be robodialing some tech support service and provide TeamViewer credentials

utopiah ,

Unless you have a pretty exotic architecture, i.e neither x86 nor ARM, then arguably Docker “should” be “enough”.

Sentientted ,

I am not the most experienced by any means, but wouldn’t it be better to run it with a “;” in the spot off all of the “&” so that way if one of the commands fail it doesn’t stop mid script?

skullgiver ,
@skullgiver@popplesburger.hilciferous.nl avatar

deleted_by_author

  • Loading...
  • Sentientted ,

    Yeah you are right. Thanks for the correction

    sxan ,
    @sxan@midwest.social avatar

    And even then, don’t you want ||? You want to run the next one only if the previous one failed, right?

    JoeBidet ,
    @JoeBidet@lemmy.ml avatar

    wait… no alpine apk?! :)

    taanegl ,

    Microsoft: “winget!”

    Nobody asked you, Microsoft. Go back to making compact nuclear reactors, because honestly that’s based AF.

    schnurrito ,

    wasn’t a thing yet when the comic was made; technology advances so quickly…

    taanegl ,

    Yeah, but it’s also a Windows exclusive - so it’s just usable on the Windows platform, but it’s a package managed for windows! winget install gimp.GIMP installs gimp, no browser necessary =)

    Check the link though. Microsoft might pull a sneaky in the future. “All Winget packages will be bundled with telemetry for security” or something like that.

    drwho ,
    @drwho@beehaw.org avatar

    Yeah, that’s about right these days.

    Engywuck ,

    Where pacman?

    drwho ,
    @drwho@beehaw.org avatar

    sudo pacman -Sy $1

    There you go.

    Engywuck ,

    Thanks.

    soulfirethewolf ,
  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines