Live data from Hacker News

Windows 10 will come with a command-line package manager

extremetech.com

131–140 of 348 posts

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

#131

Earlier quoted context omitted.

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 enviro…

It's not built on top of GNU/Linux, but on top of Linux. If you count using GCC and binutils as GNU part then we should start calling things Intel/Linux if someone uses ICC and other funny things.

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

#134
post #100
post #46

Wow, what's next, ability to shift-ctrl+c & shift-ctrl+v text in the console just by default?

You mean that right click on the window chrome then select 'mark' then select text then right click window again and then choose 'copy' isn't a good user interface?

Now tell me the shortcut for scrolling without a mouse. Quickly.

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

#135

Earlier quoted context omitted.

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 enviro…

I guess with "desktop system" you actually mean PC desktops. In my definition a desktop system is a system on a desktop. In the past decades this meant PCs but in the last couple of years many users chose tablets as their favorite desktops. They just replaced their PC desktops by mobile desktops for gaming, surfing and emails.

On the PC desktop world Windows is still leading with Win7 and XP, followed by OSX, followed by Linux and others. Linux won't get leadership here but who cares? Linux is a very good PC desktop system anyway, absolutely competitive to Win 7.

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

#136
post #118

Earlier quoted context omitted.

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?

You do realize that PowerShell is case-insensitive (you don't need to hit Shift unless you need it for something like parentheses) and there are aliases to ease typing when you're just using the shell? (I wouldn't recommend using aliases in scripts, though.)

Besides, if this is about command parameters, all that's needed is the dash and enough letters so the parameter name is unambiguous; for many common commands that's not longer than the single-letter arguments to Unix tools. And they are case-insensitive, too. No need for Shift here either.

But perhaps you do enjoy the haphazard mix of /parameters, -parameters, --parameters, /p, -p with varying ways of specifying arguments to those parameters, like /x:foo, /xfoo, /x foo, /x=foo that can be found all over the place in the default Windows command-line tools (because that's what the argument was about here). In that case, yes, PowerShell is probably a huge step backwards.

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

#137
Plus, it seems like puppet is working on a plugin to make use of OneGet. It'll make work much more interesting in the future that I'm actually looking forwarding this happening.

Couldn't find much more on puppet on this topic than this presentation: http://www.slideshare.net/ferventcoder

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

#138
post #97
post #89

Earlier quoted context omitted.

Good job at not reading the article! Had you read it, you would've learned that the commands work like this: Find-Package Firefox Install-Package Firefox I admit it's not as easy as on e.g. Debian: sudo apt-get remove iceweasel sudo echo deb http://packages.linuxmint.com debian import >>/etc/apt/sources.list sudo gpg --keyserver pgp.mit.edu --recv-keys 3EE67F3D0FF405B2 sudo gpg --export 3EE67F3D0FF405B2 > 3EE67F3D0FF…

This is a deliberately contrived example, the only line that matter is the last one: sudo apt-get install firefox

Firefox isn't in the Debian repos, unfortunately. But Iceweasel is installed by default on the desktop, so there's that. Unfortunately, Iceweasel is chronically behind mainline Firefox and suffers from many horrifying bugs that make it almost not worth the effort to try to use, which is why the grandparent comment goes through so much effort (Well, outside of the obviously well planted troll.)

Also, Linux Mint is a terrible way to get Firefox for Debian. You're better off installing it from the "Ubuntuzilla" repo, which contains just Mozilla components built for Debian-based OSes: http://sourceforge.net/projects/ubuntuzilla/ (Ignore the hellhole that Sourceforge has become).

Honestly, I wish Mozilla would just create a Debian repo (and one with Nightlies would be nice), but I understand the scorched earth there...

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

#139
post #78

Earlier quoted context omitted.

I'll believe it when they let me resize the cmd window

You have always been able to resize the cmd window, not sure what you mean here.

Vertically yes, but horizontally it's capped.

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

#140

> While Windows and Mac users have to run graphical installers — you know, where you hit Next a few times and try to avoid installing bundled crapware — Linux users can just open up a command line and type sudo apt-get install vlc. Right. As if VLC on windows comes with crapware. As if apt-get [0] never asked cryptic messages [1]. [0] or yaourt or any other package manager [1] and it's more about the package than the…

Technically, MSI has supported GUI-less command line installation from the beginning, with relatively good dependency management and error reporting. I've invoked MSIexec from install/provisioning scripts fairly often as part of continuous integration toolchains and it works great. Some of my applications also know how to pull down dependencies (like the windows SDK, or the MS CLR) off microsoft's servers via HTTPS and then invoke the installer automatically so features that depend on them can Just Work.

If the package manager knows how to leverage this (no doubt it will), that will allow GUI-less installation of a huge percentage of windows apps (MSI is relatively popular now despite its quirks.)

Post reply on HN