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.
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.
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?
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
AKA "silent mode" installs that people who actually know anything about Windows have been using for automated installs for almost as long as Linux has existed. MSFT was already providing apps/CLIs like dism for their own packages.
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?
It says right in the summary that it is open to any software repository. I'd be surprised if CodePlex isn't supported immediately.
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.
Think of it this way - your command is using "rpm -hiv /path/to/package.rpm"
Microsoft is adding "yum install package" to the options list.
I'm starting to think GNU is the problem with "GNU/Linux" these days.
We had command line tools for managing packages, but not for searching and installing from a repository.
If you ignore ACs because they are anonymous - you're an idiot.
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
RTFA...it doesn't look that way
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 ?
. . . 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.
Windows NT does not use the DOS command line. It uses CMD and POWERSHELL. It also (until Windows 10) had an SUA UNIX subsystem that could implement shells such as BASH.
Windows ME was the last version of Windows to run using the Dos command interpreter. Starting with Windows XP, Command.com was removed from all 64 bit versions of Windows, so your computer probably does not even have a DOS command line.
including UNIX
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.
It's fine to ignore it but it can be used for a single purpose it, that is to run the ping command. Very useful.
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.
It's still the same old DOS terminal. I mean, really, how hard can it be for Microsoft to develop something like Konsole or Yakuake?
Freely resizable window, freely choseable fonts and font sizes, fully supported copy and past, clickable URLs, etc.
http://www.mueller-public.de - My site http://www.anr-institute.com/ - Advanced Natural Research Institute
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.
The CMD terminal has always supported customizable fonts and font-sizes. Copy and paste was not exactly power-user friendly, but it has also always been fully supported. The Powershell terminal (which can also run CMD) is fully resizable.
There are various reasons why Microsoft chose not to support these things from the beginning of Windows NT (primarily because NT was supposed to do away with DOS except for legacy applications and so did not implement a proper terminal shell), but even before 6.0 they started working toward a fully-implemented text shell as an integral part of windows, which was fully implemented with 6.0 (Vista and 2008).
Supposedly, Windows 10 is supposed to bring serious improvements to the terminal itself, which is probably one of the reasons that the Windows UNIX subsystem (which supports UNIX shells such as BASH) is being taken completely out of Windows 10 in favor of Powershell.
Back when NT ran almost exclusively on lower end hardware and Unix ran almost exclusively on higher end hardware, I do not think Microsoft saw much of an advantage in rewriting the NT kernel to fully support a text-console interface. Now that NT is running on higher-end hardware and *NIX (mostly Linux) is running on lower end hardware, they are seeing the advantages in having the same tools as their competition.
Yes, a proper terminal and a proper shell are two huge strikes against Windows in my opinion. Adding a package manager is a nice step forward for them, though. Too little, too late for me, but will be handy in those situations when I must use Windows.
package remove IE
Nah, that wouldn't let us remove this steaming pile of pig shite.
Part of that IE is just an application built on top of the mshtml.dll rendering engine. This rendering engine is an embedded control for other applications and is also used by vendors other than Microsoft (such as Symantec).
Some vendors (such as Valve) have realized that's a fucking terrible idea and switched over to embedding other browsers (Chrome Embedded Framework in the case of Steam).
So, when you say "remove IE" do you mean just remove the executable or do you remove the DLL, breaking any applications that rely on it?
Incidentally, the embedded control is also why you should keep the version of IE up to date on Windows even if you don't use IE.
GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
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...
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.
What is this Powershell terminal you speak of? If I google it, I find only
I'm not talking about the language itself, but the fact that to use Powershell I appear to have to use a single window that I can't set to the width of the screen, doesn't have tabs, has primitive cut and paste (seriously? No keyboard shortcuts and keyboard only highlighting line by line?). There's no history that can persist between sessions.
http://www.theregister.co.uk/2...
And some third party terminals like
https://code.google.com/p/cone...
http://www.mueller-public.de - My site http://www.anr-institute.com/ - Advanced Natural Research Institute
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!
You should be able to resize the size of the window with the mouse. The output width and height is dynamically changeable in the settings.
If you want the other advanced features, you have to either use a third party program or wait for Windows 10, which adds some and perhaps all of them.
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.