Live data from Hacker News

Windows 10 will come with a command-line package manager

extremetech.com

121–130 of 348 posts

Re: Windows 10 will come with a command-line package manager

#122
post #93
post #28

Earlier quoted context omitted.

Just hope that oracle doesn't try to sneak install the ask toolbar with every update.

Is there a reason why we have fewer of those problems with Mac OS X? I can see that the Windows audience often isn't tech-savvy enough to understand that Ask isn't part of Windows, and that's probably also because Chrome/Firefox/Safari are more diligent about managing extensions than IE. But there's a very serious constant problem of spyware/adware in Windows that I don't feel exists in Mac OS X and Linux.

Well you named it. Marketshare is still over 90% on the desktop and most non-tech-savvy users are likely to use Windows as well. I can't think of any other reason.

Re: Windows 10 will come with a command-line package manager

#123
post #36

Cool, but will you still have to restart your computer every time you install something?

every time seems exaggerated (given that even something major as Visual Studio installs without requiring a restart). Would be like saying Debian always needs a restart after a bunch of updates. Yes it does sometimes, it doesn't on other times.

tip if you want even less restarting on Windows after installing (and less registry rot): always look for portable versions, if you can't find them first just try to get it yourself by extracting from the installer. You'd be surprised for how many installers this wor. Some installers you can just open in 7Zip/UniExtract and the likes and extract, others can be extracted using msiexec /a PathToMSIFile /qb TARGETDIR=DirectoryToExtractTo

Re: Windows 10 will come with a command-line package manager

#124
post #84

Earlier quoted context omitted.

Given that more android devices are sold than windows, iOS and OS X combined, I would say it is a mere observation of fact that the past few years every year has been the year of linux. Linux on the desktop on the other hand...

Android actually _is_ a Linux desktop system. It is a GUI on top of a Java based virtual machine on top of a Linux kernel. This Linux desktop has actually overthrown both Windows and iOS. The market share was 85% in Q2 2014 according to: http://thenextweb.com/google/2014/07/31/android-reached-reco... Android just uses another type of input than classical keyboards and mice. But you can also use keyboards and mice her…

I guess this either means that you either think that those 85% are running Android on their desktop computers, or that you have a different idea of what a "desktop system" is than anyone else. Android isn't a desktop system except for a select few masochists.

Personally, I want my desktop system to be a real power horse, and despite being built on top of GNU/Linux, Android doesn't seem like a particularly open environment and it obviously wasn't developed with desktop users in mind.

Re: Windows 10 will come with a command-line package manager

#125
I am not sure why even in 2014 we have to pit Linux against Windows. We have surely grown out of that sort of debate.

Microsoft successfully achieved its objective of putting a computer in every home with the help of Windows. We should thank them for that. Linux on other hand has grown leaps and bounds. Android after all is a linux kernel fork. I think as technology lovers we can surely love both and look at them as technologies complimenting each other rather than competing.

Re: Windows 10 will come with a command-line package manager

#126
post #74

The fact that the Chocolatey repository will be compatible is very convenient, it looks like MS is listening to the user community, well done.

Hmm, I'm not so sure I appreciate the Chocolately support. I've found the packages really spotty as to where they are going to install, what options they are going to use, whether they bother to provide an uninstaller. I think a large part of that is how Windows manages installation and libraries though. In an ideal world maybe everything would provide MSIs, but they alone are not a silver bullet.

I hope Microsoft take the Updates side seriously - having many separate auto-updaters on the system all taking different views on when they should run is a nightmare. If they created an integrated third-party application update system I would love them for it.

Re: Windows 10 will come with a command-line package manager

#127
Having a package manager is one thing, having a good curated repo of packages is another. I doubt MS Will have the balls to say that all their "partners" (most of the AV vendors, Oracle, ...) whose entire business model is based on crapware or bait & switch will somehow be banned from the repo?

Currently it seems that both the apt and choclatey versions of Java actually come without crapware. I have a feeling that if this kind of install becomes the default then the crapware will be bundled there too.

Re: Windows 10 will come with a command-line package manager

#128
post #118

Earlier quoted context omitted.

I have tried PowerShell a few times but I can't never appreciate it. Yes, it technical superior than it's counterparts on Linux by piping objects instead of mangling text, but the syntax of PowerShell is just too convoluted. I have concluded that when doing command line you want to write commands and not program code to execute. That's why bash is usually straight on and powerful for the 95% commands you do. It's edg…

My point here was mostly that instpkg32.exe /DefaultSettings:ALL_DEFAULTS is something that doesn't really exist anymore for management tools on Windows, except those that have been around for a long time. Even the GUIs on Windows Server nowadays just drive a PowerShell runspace behind the scenes and you can script just as easily as click around. Install-Package is a PowerShell cmdlet and thus gets sane and consisten…

Sane and consistent are two words I would never use with Powershell. Well, it's consistently insane, but I imagine that's not a typo.

Or-Do-You-Enjoy-Over-Verbose-Capitals-And-Dashes-As-You-Enjoy-Shift-Ballet?

Re: Windows 10 will come with a command-line package manager

#129
post #116

Earlier quoted context omitted.

That's bullocks, you're just changing definitions to suit your needs. Android is a mobile phone OS and as suchhas a marginal market share on desktop. Windows still has over 90% market share on desktop ( http://www.netmarketshare.com/ )

> you're just changing definitions to suit your needs. Same to you :-) Windows is also a mobile phone OS since Win 8.

So, what exactly is your definition of a desktop system? If we're going to have this discussion we should get the agreement or disagreement over that definition out of the way. To me, it is a desktop computer. I'm inclined to include laptops in that definition as well. Basically, it's the kind of computer I'd use to get my computer work done at a desk, with as little regard to what exactly that work entails as possible.

I haven't used Windows 8, but it still seems to have a greater market share on desktop systems than Android. Judging by the above link, Windows 8 alone has a greater share of the desktop market than the category of systems based on Linux in its entirety.

Re: Windows 10 will come with a command-line package manager

#130
post #101

But why "Install-Package", "Add-Package" and "Update-Package" - it's not like you can install, add or update anything else with this tool.

Descriptive names are good (to some limit). You can maybe add something else (a remote repo? Something else), or maybe it isn't unthinkable that Add-X will eventually be a feature. You can always make an alias "inst" so it's better to keep the underlying command long and descriptive.

Also: these should be edited with autocomplete.

Post reply on HN