this post was submitted on 02 Oct 2023
327 points (97.4% liked)

Linux

48209 readers
704 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] yum13241@lemm.ee 85 points 1 year ago (1 children)

WHERE IS PACMAN, our HOLY SAVIOR?

Jokes aside, paru.

[–] GigglyBobble@kbin.social 29 points 1 year ago (4 children)

Why are there so many paru fans? Last release is a year old, constantly out of date in AUR and failing builds in Github don't scream code quality. I prefer yay.

[–] PizzaDeposit@lemm.ee 22 points 1 year ago

Because it's written in rust ofcourse.

[–] 30p87@feddit.de 9 points 1 year ago (1 children)

It also sounds much happier, yay!

load more comments (1 replies)
[–] yum13241@lemm.ee 9 points 1 year ago (2 children)

Because paru has a working sudoloop and config, unlike yay.

load more comments (2 replies)
[–] Cwilliams@beehaw.org 4 points 1 year ago

I honestly go back and forth. Depends on which one I decide to try next time I reinstall. I actually used aura for a while, but switched back to yay for the --sudo flag. (I use opendoas)

[–] noodlejetski@lemm.ee 46 points 1 year ago (1 children)
[–] Cwilliams@beehaw.org 27 points 1 year ago (1 children)

Kinda meant it as a joke, but that's actually super cool

[–] TrustingZebra@lemmy.one 8 points 1 year ago

It's a great tool but note that by default it upgrades EVERYTHING, up to and including production cloud environments if you are connected to any.

[–] ultra@feddit.ro 45 points 1 year ago (1 children)
[–] kevincox@lemmy.ml 16 points 1 year ago (1 children)

That would be slower. This tries all of the tools in parallel.

[–] 20gramsWrench@lemmy.dbzer0.com 10 points 1 year ago (1 children)

doesn't that do all of them together, possibly making you install it multiple times ?

[–] kevincox@lemmy.ml 29 points 1 year ago (2 children)

The idea is that only one will succeed. Look, it is a comic not a production-ready solution.

[–] ThatHermanoGuy@midwest.social 11 points 1 year ago

Don't care, ship it now!

[–] whoisearth@lemmy.ca 2 points 1 year ago (2 children)

Ignoring you're right there are plenty of instances where a common name would carry over multiple install options.

What I'd rather is to allow two parameters. The tool should be included as well as the package so 'install apt openjdk' or ' install npm yarn'

Of course the problem then becomes a lot of these install apps have their own set of parameters.

Now I'm curious if anyone has written a universal installer.

[–] kevincox@lemmy.ml 8 points 1 year ago* (last edited 1 year ago) (1 children)

You are missing the point. The author is satirizing the fact that there are so many tools and patterns that do basically the same thing. The author doesn't want to bother figuring out what installation method this particular tool recommends. So they have this script so that he can run geterinstalled inkscape and let the computer figure out which one works.

If you were going to write geterinstalled pip foo you may as well just run pip install foo.

Also note the title-text, which addresses this exact issue:

The failures usually don't hurt anything, and if it installs several versions, it increases the chance that one of them is right. [...]

https://xkcd.com/1654/

[–] whoisearth@lemmy.ca 4 points 1 year ago

Not missing the point. I know it's satire. As a thought experiment it got me interested though nothing more.

[–] zwekihoyy@lemmy.ml 3 points 1 year ago

I've been working on one for a minute but the best solution I've come up with is searching every package manager when search is invoked but otherwise requiring the package manager to be declared via pkgman.package for installs/removes etc.

[–] ultra@feddit.ro 42 points 1 year ago

Nix entered the chat

[–] taanegl@beehaw.org 32 points 1 year ago (2 children)

Microsoft: "winget!"

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

[–] schnurrito@discuss.tchncs.de 5 points 1 year ago (1 children)

wasn't a thing yet when the comic was made; technology advances so quickly...

load more comments (1 replies)
load more comments (1 replies)
[–] Engywuck@lemm.ee 29 points 1 year ago (2 children)
[–] drwho@beehaw.org 15 points 1 year ago (2 children)

sudo pacman -Sy $1

There you go.

[–] dandroid@dandroid.app 4 points 1 year ago

It doesn't even run detached. Literally unrunnable.

load more comments (1 replies)
[–] Hamartiogonic@sopuli.xyz 25 points 1 year ago (2 children)

“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@ttrpg.network 4 points 1 year ago (1 children)

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@sopuli.xyz 3 points 1 year ago (1 children)

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.

load more comments (1 replies)
[–] Cwilliams@beehaw.org 4 points 1 year ago

Yep, thanks!

[–] mogoh@lemmy.ml 20 points 1 year ago* (last edited 1 year ago) (2 children)
flatpak install "$1"
snap install "$1"
appimage-cli-tool install "$1"
[–] norgur@discuss.tchncs.de 11 points 1 year ago

cd "$1" && docker-compose up -d

load more comments (1 replies)
[–] Illecors@lemmy.cafe 19 points 1 year ago

Where's sudo emerge -avq $1?? How dare you omit it?! Blasphemy!

[–] pbsds@lemmy.ml 14 points 1 year ago

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

[–] dudinax@programming.dev 14 points 1 year ago

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

[–] JoeBidet@lemmy.ml 9 points 1 year ago

wait.. no alpine apk?! :)

[–] subcytoplasm@l.tta.wtf 7 points 1 year ago* (last edited 1 year ago)

nix-shell -p "$1"

[–] 18107@aussie.zone 7 points 1 year ago
[–] mara@pawb.social 6 points 1 year ago
[–] palordrolap@kbin.social 5 points 1 year ago (1 children)

Is YaST* still a thing? Surprised Randall hasn't touched/included *SuSE. Then again, maybe the joke was already long enough.

load more comments (1 replies)
[–] Sentientted@monero.town 5 points 1 year ago (1 children)

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?

[–] fmstrat@lemmy.nowsci.com 5 points 1 year ago* (last edited 1 year ago)

gam (GitHub Application Manager)

[–] tslnox@reddthat.com 5 points 1 year ago
[–] electromage@lemm.ee 4 points 1 year ago

Missing pkcon

[–] monetize_nothing@kbin.social 4 points 1 year ago

winget install choco install scoop install

[–] utopiah@lemmy.ml 3 points 1 year ago

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

[–] Overlock@sopuli.xyz 3 points 1 year ago

xbps-install ?

load more comments
view more: next ›