UpdateCommand / update

Update scripts for apm, apt, brew, cargo, gem, npm, pip, yum, and more
34 stars 11 forks source link

`wget`? #7

Closed Rudxain closed 2 years ago

Rudxain commented 2 years ago

I don't know if it's named using an alias, but I didn't find Wget here

joelparkerhenderson commented 2 years ago

Thanks, I don't understand what you're asking. Can you say more?

Rudxain commented 2 years ago

Sorry for the confusion. I meant that there's a PM named Wget, but I didn't find any reference to it within this repo, so I was wondering if it's named in a different way.

I don't know if Wget is worth adding, but it seems like a good idea

joelparkerhenderson commented 2 years ago

Is it possible that you're thinking of "winget" which is a Windows package manager, or "wget" which is a typical unix command similar to "curl" for downloading software?

Rudxain commented 2 years ago

Good question. Some weeks ago I thought they were the same, but they are actually very different.

And I mean the unix wget, not MS winget

joelparkerhenderson commented 2 years ago

OK. When you write above "I don't know if Wget is worth adding, but it seems like a good idea"...

Can you explain more about what you're asking?

Rudxain commented 2 years ago

"It seems like a good idea" because the program is still used by people today, and it's a popular solution that's built-in on most distros. But it may not be worth supporting because it's not exactly a package manager, just an alternative to curl, as you and many people have said.

I've read this answer on AskUbuntu to get more informed, because (if I remember correctly) I haven't used wget yet, only curl

joelparkerhenderson commented 2 years ago

I think I understand what you're saying.

The commands curl and wget are typically useful for downloading files, and also for doing GET/POST/etc. of data to web servers. The commands are not typically considered package managers.

Package mangers, such as apt for Ubuntu, homebrew for macOS, choco for Windows, etc. are typically useful for tracking package versions, package dependencies, package updates, etc.

This wikipedia article is a pretty good explanation IMHO: https://en.wikipedia.org/wiki/Package_manager