r/sysadmin • • May 19 '20

Microsoft 📢 Windows Package Manager | winget.exe

[deleted] — view deleted post

384 Upvotes

126 comments sorted by

View all comments

66

u/FeralNSFW May 19 '20

This looks very promising.

At the moment, there's no update command (analogous to yum update), and it doesn't yet automatically install dependencies.

It won't be ready for prime-time until it has those two features, IMO.

But given the immediate public interest in this project, it wouldn't surprise me if those get implemented.

46

u/Suirtimed May 19 '20

+1 the feature so we will prioritize it: https://github.com/microsoft/winget-cli/issues/120

4

u/FeralNSFW May 19 '20

Good call! Thanks!

9

u/[deleted] May 19 '20

Agreed, once update/upgrade is integrated into it, then this will take off pretty quickly.

If I can maintain a package repo instead of putting out a website with constant updates? Fuuuuck. That's so much easier.

"How do I get the newest version?"

"winget update"

4

u/benjwgarner May 21 '20

I'm just tired of every application having to check for its own updates, or worse: running its own separate update checker program in the background.

2

u/jantari May 20 '20

To be fair there's really no difference between "maintaining" the website or "maintaining" this, in both cases you're not really doing anything because it's automated. It's not like anyone manually updates links in HTML when a new version of something comes out 😅

1

u/m9832 Sr. Sysadmin May 20 '20

You've been able to do this with chocolatey for a while now.

2

u/Brandhor Jack of All Trades May 19 '20

not having dependencies automatically installed seems weird but if you think about it most windows programs don't really have dependencies like on linux

15

u/davispuh Jack of All Trades May 19 '20

They do, many programs require some .NET version or VC++ redistributables, DirectX for games. Just see how much stuff you need to install for Visual Studio

3

u/Brandhor Jack of All Trades May 19 '20

yeah but aside from the latest version of net and vc++ they are all bundled with windows, but those are pretty much the only dependencies everything else is usually bundled in with the software

for example on linux if a program use qt5 you'll have a system qt5 installation like for the .net and vc++ libraries and every qt5 programs will use the same libraries, on windows instead every qt5 program will bundle the qt5 dlls

4

u/[deleted] May 20 '20

[removed] — view removed comment

1

u/Loading_M_ May 20 '20

From my experience with Linux, yes the equivalent of all that is commonly installed. Along with many libraries, like openSSL, QT, GTK, etc. These are all seperate packages in a package managed system, but bundled into each application that requires them on windows.

For a point of reference, my current Linux setup (a fairly typical Linux Mint install) has almost a thousand automatically installed packages. Your VC++, directX, and .net count comes nowhere near that number.

This is because you are comparing apples and oranges. A package managed system is installed, updated and maintained differently. Running a full system upgrade, i.e. updating all installed software, the system, kernel, and everything else is a either one or two shell commands on almost every major Linux Distro.

1

u/Brandhor Jack of All Trades May 20 '20

the directx update is actually just for older windows versions, they haven't updated that since 2010

as for the others they are still a tiny amount compared to linux, I remember when I first used mandrake 9 I think and I didn't know about package managers I had to manually download like 20 rpm to install a single program

1

u/anthony785 Jun 04 '20

Yeah but with windows the installer installs those by itself, you dont have to go out and get them manually.