Windows 10 Gets a Package Manager For the Command Line
aojensen writes: ExtremeTech reports that the most recent build of Windows 10 Technical Preview shows that Windows is finally getting a package manager. The package manager is built for the PowerShell command line based on OneGet. OneGet is a command line utility for PowerShell very similar to classic Linux utilities such as apt-get and yum, which enable administrators and power users comfortable with the command line to install software packages without the need for a graphical installer. ExtremeTech emphasizes that "you can open up PowerShell and use OneGet to install thousands of applications with commands such as Find-Package VLC and Install-Package Firefox." It's a missing feature Linux advocates have long used to argue against Windows in terms of automation and scale. The package manage is open to any software repository and is based on the Chocolatey format for defining package repositories."
Everything except open-sourcing the code that is.
And what is the source of these going to be? Is it going to be like the app store with 30 thousand DOWNLOD VLC apps that come with shitloads of spyware?
* Make the OS kernel along with its applications open source
* Create a better file hierarchy
* Document your filesystems
Then I'm ready to test it.
This is just an easy way to install software without much popping up on the screen to alert the users. I wonder how long it'll be before reports of infections using this installation method. What we really want is someone typing Install-Package Chrom and getting infected because of a typo.
Now that Windows is kinda-sorta-Unix-like, should it be on DistroWatch.com? </sarcasm>
Goodbye Slashdot. You've changed.
They grow up so... err... slow?
Now if Microsoft would just shit-can the registry.
if app store only then this will be next to useless
I really respect this move from Microsoft. It's something they should have done a while ago, but better late than never. It has the potential to make administration much easier. They should also maintain their own repo of patches as an optional replacement for Windows Update.
Yes, I much prefer a billion config files littering the file system.
Given Microsoft's penchant for supporting legacy, such as 32-bit Windows 10, what sort of apps will we see here? Everything from win32 apps from the NT era and since? Will it be like PC-BSD's PBI, which determines which version of a library is needed, and includes that with the said download? Or will it be a clean win64 downloads only?
Windows has had a command line package manager for quite some time now named DISM. It's usually described as an offline package management tool but works just fine on live systems.
Does this replace DISM or is this just a re-branding/update?
which enable administrators and power users comfortable with the command line to install software packages without the need for a graphical installer.
Haven't we already had this since like Windows 2000 in the form of msiexec.exe /i \\path\to\package.msi /qb- ?
I guess they added wget to it in order to download it from the Microsoft Store, and that makes it newsworthy?
Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.
But I'd still usually rather browse to a piece of software that I want and click on it. I always assumed that yum was a workaround for a way to install things when you don't actually have a GUI.
After Microsoft has copied every good idea UNIX/Linux has.
Have you ever tried to make your application a debian package or RPM? It's a royal pain in the ass. Windows developers are not going to do whatever it takes to make this go smoothly on Windows.
There is a 100% chance that nearly every "Package-Install" command will just be downloading the app for you and launching the graphical installer you normally see.
People in charge of deploying software on windows are miserable people.
sudo apt-get install malware
Real leadership here. Basically the Chocolatey folks did it for them and only after facing the threat of not controlling the dominate package manager on their own platform do they finally after decades offer a solution.
Basically what this tells me is they were trying to avoid competing with their App Store clone BS and are now having their hand forced. Way to go MS way to go.
Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
As in, the guy from Sev Trek: Forager? ;-)
Ezekiel 23:20
The (fairly) popular Chocolatey NuGet windows package manager has a kickstarter going on right now to fund some dramatic improvements on an already awesome service. If you like having options, you really should consider backing it. https://www.kickstarter.com/pr...
we've been saying it for years and years but now that Microosft Windows has a package manager, is 2014 finally the year of the Windows desktop?
The reason I expect this has been delayed for so long is that features like these will make windows administrators more at home on Unix and Linux. It does show (as other things do as well), that for professional work, Unix had it right all along. On the other hand, this convergence makes (hopefully) working on Windows less of a pain.
Of course I am talking about convergence with regard to work-flows, processes, etc. and not about actual concrete services being the same.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
I haven't used the MS-Dos command window since Windows 98 came out. I don't think I have even edited autoexec.bat and config.sys any more. Just saying.
Heh... How long did it take them to get to that? 20 *YEARS* (RHL 1.0 - November 1994) now?
Seriously Microsoft. Took you long enough.
I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
Imagine if MS had done all this stuff a decade ago. Ballmer's tenure gave them an insurmountable hill to climb. The new guy has done more in a few months than MS did in a decade.
RTFA...it doesn't look that way
The power of these tools isn't installing stuff on a single computer, interactively. The power is installing things remotely, or in bulk.
Browse to 7zip.com, click download, click download, run, etc...
Or type "choco install 7zip"
Now... do that over multiple computers. Don't forget to "skip" the spam (No, I do not want Ask with my program).
This is the same reason Ninite is nice.
Isn't putting branding in a command's name a bit of a hostage to fortune?
If this had come out 10 years ago, would we all be laughing at having to use get.NET / OLEget / ActiveGet / Get95 / etc ?
are doomed to reinvent it, poorly.
. . . is that a lot of its software is automatically managed. Windows updates is great (it generally works better than the Linux versions), but it only updates Microsoft components. Other installed programs are responsible for updating themselves, often installing hidden processes that boot at start-up for that purpose.
Linux package managers are nice because they manage a pretty wide-variety of software. Their biggest flaw is that you usually still have to update packages you install yourself manually.
If Windows goes with a central package manager for commercial programs as a standard, this would be a big improvement for everyone. Adding it to Windows Update would be useful to the general consumer.
Micro$oft should pay a royalty fee of 10$, to open source projects, on every copy of windows 10+ for including this idea in their software. It's pay back time Micro$oft!
For the record, I'm a huge Linux fan. Been using it for 10+ years both professionally and personally.
I currently work primarily in the Windows space. You have no idea what you are talking about. Like the guy below mentioned, server core has no GUI and is the default install for Windows server now.
Yes, Windows is late to the party, but the vision behind Jeffrey Snover and Powershell is pretty impressive. Now you get the best of both worlds...you can work on Windows and Linux and automate / scale everything. Well some of us can. Others will cling onto what little they know and spout nonsense.
Sorry, but psexec-ing into SMB is not the same.
While I'm talking about sysinternals tools, maybe a 64 bit version of psinfo? Psinfo -s still only shows the 32 bit programs installed on a system, ignoring the 64 bit versions.
Thankfully yum and apt don't recursively grab directories from ftp.
Luckily for Windows, systemd is moving Unix towards the windows quagmire method of doing things.
Its a little less a piece of shit now. Still some unpleasant odors here and there. I have no doubt God really is on our side, but nice to see some goddamn proof every now and then.
Big deal Linux has had this for a long time.
RPM and DEB packages can still include an installation script that may run arbitrary commands as root.
package remove IE
Nah, that wouldn't let us remove this steaming pile of pig shite.
My experience of chocolatey was not good. Fine to install software, but it's just a wrapper around existing installers. Try to upgrade a package... fail. Try to remove a package... fail. This depends upon the package in question; it works for some, others you have to clean up by hand, worse that having downloaded and installed using the installer by hand.
And no proper support for libraries, dependencies etc. so useless for software development. It certainly meets a need for software deployment, but it's so lacking compared with what dpkg/apt-get provide that it's a joke.
If Windows is to gain a proper package manager, I think they need to do it properly. The existing support is just broken.
So OneGet is a package manager aggregator. One of the providers is Chocolatey, which is attempting to make improvements to become a true package manager (wrt to cleaning up everything when uninstalled no matter where crap ends up, pinning, and a couple of other things it still doesn't do, everything else is covered) - we have a kickstarter going now to make those improvements a reality, which in turn will make OneGet that much better. https://www.kickstarter.com/pr...
For a long time, I wasn't aware of any easy way to automate downloading files. I could automate by writing batch files thanks to my old DOS skills, but the best command line program for that was FTP. FTP did support input from a file, but didn't necessarily handle firewalls well. I could run the web browser (IExplore.exe) to point to a file, but then the user was prompted, so that wasn't automated. That was in the 1990s.
More recently, I took a look at this again and found that I could use VBScript to use an HTTP object, and could automatically download files with HTTP. But, since Windows Script Host is not being developed (Microsoft has known bugs that'll freeze a program and won't fix them), that's not a solution I have been feeling real comfortable with.
If this thing supports some decent security, permitting downloading of remote files, this could resolve one of the must-gets that I always want before I really feel that a Windows machine is decently customized for me to be a bit comfortable with it.
Now, the other really-super-cool thing that would be useful is a way to remotely control command lines. A built-in SSH terminal would allow me to interoperate even more, so I can control precious machines on the other side of the Internet. PuTTY is PuTTY's License is like BSD / MIT / similar, so Microsoft could include that just as well as they included Telnet.exe way back in the day. Obviously, Telnet.exe is worthless (because of the biggest problem which is security, and nobody liked it anyway because it didn't handle screen-cursor control codes suitably). If Microsoft can just add that feature next, it will eliminate much of the must-have downloading that I frequently feel a need to start doing whenever I start heavily using a new machine.
This package manager comes 18 years after Linux package managers, and still it has an inferior security design.
The Chocolatey repository and format basically promote the download and execution of installers. Even the Chocolatey packages of FLOSS software like Firefox, VLC and Filezilla are downloading and executing (with administrator privileges) installers. They are not, like I would expect it for security reasons, unpacking compressed file archives, which are also available for such FLOSS programs.
The popularity of secure package managers are one of the many reasons why viruses have a hard time spreading broadly on Linux. Yes, Linux package managers are of course also running with root privileges, but they are mainly unpacking the package archive, thus avoiding to execute as root any installer from the upstream program. Any virus payload in user programs would only be executed by low-privileged users. As on a typical Linux system almost all executables are non-writable for low-privileged users, a virus executed by such user will be unable to spread into other programs on the system.
Also I didn't find checksums or signatures in the Chocolatey packages. Thus, also inferior protection against download errors and man in the middle attacks...
Anybody get this to work? I was looking at a screen like the screenshot on extremetech.com and it said xFirefox(whatever that is) was installed, but if I look for firefox it is nowhere to be found.
I can just use my mouse and index finger for everything, thank you.
How-To Geek reported on this first:
http://www.howtogeek.com/20033...
From the ET article: "OneGet was originally rolled out as part of the Windows Management Framework 5.0 preview for Windows 8.1, and it’s being actively worked on to try and ship it as a standard tool in Windows 10. As far as we’re aware, it will only be available through PowerShell — a command-line utility that’s mostly used by power users and IT admins. If you don’t know your way around PowerShell (and indeed, it’s a much more complex beast than cmd or most Linux shells), you can still theoretically use OneGet through the standard cmd command line with @PowerShell. HowToGeek has some more details on OneGet and its implementation in Windows 10, if you’re interested." (emphasis mine)
"It's a missing feature Linux advocates have long used to argue against Windows in terms of automation and scale."
As head of our distribution department with 100,000 Windows machines under us I find that slightly inaccurate.
I use UnxUtils .... gives me all the GNU userland I want, no alternate shells needed
http://unxutils.sourceforge.ne...
Add the install directory to the Windows path and there you go!
Why?
Tell me this is not the Perfect name for the new package manager: "Palmala Handerson"...
Why don't they just release their own Linux distro.
I saw the exact opposite experience: With windows, each game I installed overwrote DLLs needed by other games. It was a nightmare. Often the graphics DLLs were downgraded. Getting anything to work was impossible. You had to pick the game you were going to play on that computer and stick to it.
With Linux, I can happily put 10 versions of the same library on the system concurrently. I can use ldd to see what libraries an existing executable needs. Oftentimes the newer shared libraries were a drop-in replacement, a superset of the old libraries. But when they weren't, it was trivial to set up a shell script using LD_LIBRARY_PATH & exec. And to snag older libraries off the repos and use rpm2cpio | cpio to install them wherever I liked.
This is all like trivial stuff. Barely noticeable. Negligible time hit.
Just to give you an idea how little DLL-hell hits Linux: I've had old linux systems die of hardware failure. I just dd'ed the drive image over to another box, booted off fedora in rescue mode, chroot'ed to the drive image, and BAM! Everything works again. Right down to the very outdated mysql database fired up via /etc/init.d.