TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Windows 10 will come with a command-line package manager

417 pointsby Systemic33over 10 years ago

46 comments

alkonautover 10 years ago
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 &quot;partners&quot; (most of the AV vendors, Oracle, ...) whose entire business model is based on crapware or bait &amp; switch will somehow be banned from the repo?<p>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.
评论 #8526227 未加载
评论 #8526331 未加载
评论 #8526448 未加载
Yuioupover 10 years ago
<i>Sorry, penguin lovers — if you thought that 2015, in the heinous wake of Windows 8, would finally be the year of desktop Linux, you were sadly mistaken.</i><p><i>If you’ve ever ventured into the dark and mysterious land of Linutopia, where Ubutologists and Debianites reign, ...</i><p>Wow what a snarky article! I guess Extremetech does not like Linux at all...
评论 #8525855 未加载
评论 #8526036 未加载
评论 #8525812 未加载
评论 #8526726 未加载
评论 #8525901 未加载
评论 #8528031 未加载
lognover 10 years ago
&gt; and who knows, that might just trigger some kind of revolution in Windows app management<p>Free trials of un-tar? Installing apps that require subscriptions to the cloud? Dev libraries that require enterprise support packages?<p>Good package management on Linux is owed largely to the tireless voices such as Stallman who understand the core issues here. Yes, tying together install scripts and maintaining repositories requires a lot of work, and good for Microsoft. But the reason It Just Works is because the software is free, from top to bottom, including the OS. And Mac will have the same problem here as Windows. For now, I&#x27;m guessing this is just a command-line interface to app stores.
评论 #8526269 未加载
评论 #8525950 未加载
评论 #8526275 未加载
评论 #8525898 未加载
aworover 10 years ago
the lead dev and architect for OneGet jumped on the reddit thread yesterday and answered a bunch of questions:<p><a href="http://www.reddit.com/r/sysadmin/comments/2khkpo/windows_10_to_have_a_package_manager/" rel="nofollow">http:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;sysadmin&#x2F;comments&#x2F;2khkpo&#x2F;windows_10_...</a><p>using the username : fearthecowboy (his twitter is the same, @fearthecowboy )<p>This was the top comment: <a href="http://www.reddit.com/r/sysadmin/comments/2khkpo/windows_10_to_have_a_package_manager/clleyir" rel="nofollow">http:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;sysadmin&#x2F;comments&#x2F;2khkpo&#x2F;windows_10_...</a>
评论 #8526054 未加载
sundvorover 10 years ago
Wow, what&#x27;s next, ability to shift-ctrl+c &amp; shift-ctrl+v text in the console just by default?
评论 #8525789 未加载
评论 #8525748 未加载
评论 #8526012 未加载
评论 #8526681 未加载
评论 #8528132 未加载
Animatsover 10 years ago
There will probably be a GUI for it, called an &quot;App store&quot;.<p>Windows Vista had a command-line package manager, although it was rather lame. It was a kludge to feed canned answers to installer prompts.<p><a href="http://technet.microsoft.com/en-us/library/cc748979%28v=ws.10%29.aspx" rel="nofollow">http:&#x2F;&#x2F;technet.microsoft.com&#x2F;en-us&#x2F;library&#x2F;cc748979%28v=ws.1...</a>
评论 #8527853 未加载
mastaziover 10 years ago
The fact that the Chocolatey repository will be compatible is very convenient, it looks like MS is listening to the user community, well done.
评论 #8526151 未加载
zbowlingover 10 years ago
The article says that it&#x27;s the same format as Chocolatey (an existing Windows package management tool) but actually it&#x27;s a fork of NuGet in Windows 10 and Chocolatey is also a compatible fork of NuGet. Microsoft already owns and maintains NuGet.
评论 #8527243 未加载
lsiebertover 10 years ago
So does it do dependency management? That to me is essential in a real package management tool.
评论 #8525575 未加载
评论 #8525629 未加载
Fuzzwahover 10 years ago
I&#x27;m coming to this massive comment party late, but I wanted to drop my thoughts about this and explain why I&#x27;m personally very excited by OneGet.<p>I&#x27;m a very experienced Windows Server Admin (15 years). I&#x27;m also a fairly experienced Linux Server Admin (7 years, on and off).<p>I&#x27;m currently an SCCM guru for a ~4000 user organisation.<p>I&#x27;m sure that if OneGet is supported by MS to the level which the developer explained in the reddit thread it&#x27;ll be a boon to power users managing their own systems and to desktop support people.<p>But I can imagine that it&#x27;ll be the SCCM teams who can leverage the most out of it.<p>The thought of being able to deploy and manage software across desktops and servers in a similar way to apt or yum makes me feel something close to utter joy.<p>I&#x27;ve had to build some very complex task sequences to install software on corporate machines. The worst example I can give is MS&#x27;s own Dynamics CRM application. I was seriously proud of the batch files, registry inserts, dll hell avoidance, dependency solving, mother of all automated install processes to get Dynamics installed and hooked into Outlook in a magical way that the end user had no clue the complexity of.<p>It was only after slugging through developing all of the above that I found the incredible PowerShell App Deployment Toolkit [1], which people smarter than me had developed to basically handle everything I&#x27;d just slogged through.<p>From what I see OneGet has the potential of allowing us to easily push installs and updates via SCCM with out having to rely on 3rd party tools, batch files, msi rebuilding and general hackery.<p>Even if it doesn&#x27;t gain wide support from software vendors, just enabling me to rip everything out of an msi and repackage it into a private OneGet repo sounds superior to having to rely on complex SCCM task sequences.<p>I&#x27;ll be watching this closely.<p>[1] <a href="https://psappdeploytoolkit.codeplex.com/" rel="nofollow">https:&#x2F;&#x2F;psappdeploytoolkit.codeplex.com&#x2F;</a>
joenathanover 10 years ago
This will be a great way to automate Java and Flash updates, so users don&#x27;t have play uncheck the adware every time there&#x27;s an update.
评论 #8525571 未加载
评论 #8525511 未加载
arjieover 10 years ago
Fantastic. It&#x27;d be great if it would integrate with the Store. I&#x27;m guessing that even if it supports dependency resolution, most packages will just be monolithic blobs like currently. That does have its advantages, so it&#x27;ll be interesting to see if people switch to specifying dependencies instead of bundling them.
Systemic33over 10 years ago
Will be interesting if this will be similar to linux with the possibility of community driven repositories alongside official repo&#x27;s. Or if it&#x27;s more of an admintool to do windows updates&#x2F;windows store installs.<p>Edit: Apparently, it&#x27;s also open source [1]<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;OneGet&#x2F;oneget" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;OneGet&#x2F;oneget</a>
评论 #8525153 未加载
SwellJoeover 10 years ago
As simple as it seems, this single failing has been my primary reason for outright dismissing Windows as a reasonable contender for server usage, no matter what else Microsoft might do to make it attractive for a variety of server tasks. A system that cannot be updated easily without human intervention is not a system that deserves a place in any data center.
评论 #8525386 未加载
评论 #8526292 未加载
评论 #8525839 未加载
lucian1900over 10 years ago
&gt; much to the lament of Linux users<p>What? Everyone will be happy to have one, especially people that use Linux at least some of the time.
评论 #8528865 未加载
jimmcslimover 10 years ago
Chocolatey is great... although I wish it had a different &quot;more professional&quot;-sounding name.<p>When I was using it in anger a while ago I also found the quality of some of the packages to be a bit random, many of them just seemed to be random developer X&#x27;s favourite aggregation of other packages. In which case I&#x27;m happy to see that they are adopting package moderation;<p><a href="http://geekswithblogs.net/robz/archive/2014/10/27/chocolatey-now-has-package-moderation.aspx" rel="nofollow">http:&#x2F;&#x2F;geekswithblogs.net&#x2F;robz&#x2F;archive&#x2F;2014&#x2F;10&#x2F;27&#x2F;chocolatey...</a>
jqmover 10 years ago
Someone at work told me Windows 10 is also going to have virtual desktops. Haven&#x27;t verified.<p>I did play with a release preview of 10. It was actually OK in a brief 5 minute survey. I won&#x27;t ever use it for day to day stuff, (I&#x27;m a Linux user), but its nice to see them at least appearing to make an effort. I think most of us in the field are at some level negatively impacted when Microsoft engages in evil&#x2F;stupid behavior, so it&#x27;s nice when they come out with something good which they do from time to time.
评论 #8526285 未加载
bntover 10 years ago
But why &quot;Install-Package&quot;, &quot;Add-Package&quot; and &quot;Update-Package&quot; - it&#x27;s not like you can install, add or update anything else with this tool.
评论 #8526302 未加载
评论 #8526065 未加载
评论 #8526677 未加载
评论 #8526168 未加载
tn13over 10 years ago
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.<p>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.
评论 #8526369 未加载
评论 #8526428 未加载
lucb1eover 10 years ago
Good step, now the rest of Windows... I mean, Program Files containing the binaries is not even in %PATH%. I assume improvements will be made here too, but I wonder.
评论 #8526460 未加载
slavik81over 10 years ago
I liked how the idea&#x27;s champion dealt with Microsoft bureaucracy:<p>&gt; So, back in August I started looking at what I was going to accomplish over the next year or so, and I thought it would be a good idea to try and see if I could get some of the CoApp package management ideas put into Windows itself (hey, it&#x27;d be kinda nice to be able to do apt-get style-stuff and have that built into the OS)<p>&gt; I had proposed some of this at the beginning of the product cycle for Windows Blue (Server 2012 R2&#x2F;Windows 8.1) but it was a little too late in the planning cycle, and I gave too-grand of a vision.<p>&gt; I finally came to full understanding of some advice my pappy once told me: <i>&quot;The secret to success is to find someone else to care what you care about, and make it their problem.&quot;</i> ... I looked at him like I understood what he meant, but he could tell that I was just paying lip service. He then said <i>&quot;Try it this way: Set the building on fire, take someone else&#x27;s stuff into the building with you, and then cry for help&quot;</i><p><a href="http://coapp.org/news/2013-10-02-State-of-CoApp.html" rel="nofollow">http:&#x2F;&#x2F;coapp.org&#x2F;news&#x2F;2013-10-02-State-of-CoApp.html</a>
johnchristopherover 10 years ago
&gt; 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.<p>Right. As if VLC on windows comes with crapware.<p>As if apt-get [0] never asked cryptic messages [1].<p>[0] or yaourt or any other package manager<p>[1] and it&#x27;s more about the package than the package manager
评论 #8526225 未加载
评论 #8526072 未加载
评论 #8526818 未加载
emsyover 10 years ago
I believe the biggest problem for its success is that most companies don&#x27;t want to give up the control a dedicated installer gives them (e.g. installing AskBar that comes with Java, as some comments pointed out).<p>In Linux, dedicated installers are the exception not the rule. I&#x27;m curious how the adoption on Windows will be, especially for commercial&#x2F;non-free software which there is a lot on Windows.<p>I&#x27;m also curious how they will present the packages to the average user. Worst case, the user will have to look in three different places to uninstall software (namely System Control, the package manager, and in directories of software that isn&#x27;t registered anywhere).
analog31over 10 years ago
I love it. Bring on &quot;sudo apt-get install.&quot;<p>Somehow, folks have been led to think that the command line is a scary place, just for geeks, but it&#x27;s so easy to lead someone through a slightly complex manual installation by just giving them a few commands to copy and paste into the terminal.<p>And as a somewhat casual user myself, I even find it easier to follow a command line installation than to wade through several pages of &quot;open this window, click on this, click on that,&quot; especially when the instructions and the actual installer don&#x27;t exactly agree due to revision divergence.
xyzzy_plughover 10 years ago
There has been an (albeit poor) package manager for some time: <a href="http:&#x2F;&#x2F;technet.microsoft.com&#x2F;en-ca&#x2F;library&#x2F;cc748979(v=ws.10).aspx" rel="nofollow">http:&#x2F;&#x2F;technet.microsoft.com&#x2F;en-ca&#x2F;library&#x2F;cc748979(v=ws.10)...</a><p>I&#x27;ve personally struggled with it to fix corrupt updated installed by windows updates, and while it doesn&#x27;t meet the bar set by mainstream Linux distro package managers, it is a package manager nonetheless.
评论 #8525531 未加载
评论 #8525508 未加载
pmontraover 10 years ago
Welcome Windows10! What next, maybe a network oriented display manager to be able to open a window on another pc, phone, tablet, xbox? ;-)
dpinaover 10 years ago
Plus, it seems like puppet is working on a plugin to make use of OneGet. It&#x27;ll make work much more interesting in the future that I&#x27;m actually looking forwarding this happening.<p>Couldn&#x27;t find much more on puppet on this topic than this presentation: <a href="http://www.slideshare.net/ferventcoder" rel="nofollow">http:&#x2F;&#x2F;www.slideshare.net&#x2F;ferventcoder</a>
aespinozaover 10 years ago
I hope they change the options. I think this is way too long for a command:<p>* Install-Package -Name firefox<p>When in Linux I can just do this:<p>* apt-get install firefox<p>I would love to see this:<p>Package -install firefox
评论 #8528470 未加载
评论 #8528259 未加载
annnndover 10 years ago
I think the article misses the point. It doesn&#x27;t matter if the package manager is CLI or GUI-based, what matters is good UI and quality (+ price) of application packages.<p>Mobile stores (Google Play, Apple Store) are a good example of this... they host many apps &amp; are easy to use. Who cares if you use keyboard, mouse or touch to get them.
kylloover 10 years ago
Cool, but will you still have to restart your computer every time you install something?
评论 #8525568 未加载
评论 #8526119 未加载
评论 #8526102 未加载
ForFreedomover 10 years ago
Any idea when its available for download for consumers?
评论 #8526796 未加载
tallesover 10 years ago
Presentation: <a href="https://www.youtube.com/watch?v=VAMEVMO4IRY" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=VAMEVMO4IRY</a>
rejschaapover 10 years ago
I think there is a huge missed opportunity here. I mean, it&#x27;s good that Microsoft is finally adding functionality that went mainstream in the late 90&#x27;s. But why don&#x27;t just skip the flawed approach most of the current Linux distributions use? In my opinion they should have been looking at a more declaritive approach, such as the Nix package manager uses.<p>I will agree though that this oversight is not as bad as TFSVC. Where they were building a centralized version control system when the whole world was switching to decentralized VCSs.
评论 #8526833 未加载
whoisthemachineover 10 years ago
It seems to me if Microsoft is copying features from Linux for Windows, then it may be that Linux on the desktop is starting to worry them.
评论 #8528948 未加载
gum_ina_packageover 10 years ago
This could be awesome, especially if it can integrate with the Windows Store. Maybe even your XBox&#x2F;WP too?
mellingover 10 years ago
I&#x27;m not a Windows user so maybe I&#x27;m way off, but wouldn&#x27;t adding Cortana go much farther in getting people to upgrade?<p>How&#x27;s the Kinect support in Windows? Quite honestly, Microsoft is only competing against itself. How many XP uses are still out there? A couple hundred couple hundred million? Give them a reason to get excited.
评论 #8525113 未加载
评论 #8525291 未加载
评论 #8525160 未加载
评论 #8528184 未加载
GuiAover 10 years ago
&gt; Find-Package<p>&gt; Install-Package<p>Dashes and uppercase...what terrible names. Is the windows shell case sensitive (I seem to recall it is but it may have changed)? We&#x27;ve been designing command line interfaces for over half a century now, this is just lazy. Shells are not magically exempt from UI best practices just because they&#x27;re not graphical.
评论 #8527833 未加载
评论 #8527846 未加载
评论 #8527866 未加载
davidgerardover 10 years ago
So is this basically taking Ninite&#x27;s business model?
TheSoftwareGuyover 10 years ago
Awesome. Maybe I&#x27;ll end up buying a windows machine sometime soon.
chippyover 10 years ago
But will it have sudo, or would you run PowerShell as Administrator?
评论 #8526995 未加载
meapixover 10 years ago
linux is not package manager
jeffmessover 10 years ago
Welcome to the party!
kolevover 10 years ago
One-up OS X!
mherkenderover 10 years ago
This reminds me of that time that Microsoft caught up to a competitor years too late to have any impact.
评论 #8525157 未加载
评论 #8525233 未加载
robomartinover 10 years ago
If Windows 10 was built on top of Linux I&#x27;d get a lot more excited.<p>I have to use Windows for the myriad of engineering tools that are not available under any other OS, for example, SolidWorks, Altium Designer, various embedded toolsets, etc. And, while I&#x27;ve been using PC&#x27;s (and Macs and Linux) since they came on the scene I hate, hate, hate the DOS or technically DOS-like underbelly of the beast.<p>I know it is a ridiculous idea. It would break everything, including their profitable corporate platforms.<p>Yes, there are ways to mitigate this but it&#x27;d be nice if all computing platforms got behind a common standard. Utopia. I know.
评论 #8525583 未加载
评论 #8526267 未加载
评论 #8525559 未加载
评论 #8525475 未加载
snake_plisskenover 10 years ago
In terms of managing programs&#x2F;packages, what is wrong with Add-Remove Programs&#x2F;Programs and Features? I&#x27;ve always found these to be satisfactory. Or am missing the point here? In terms of automatically retrieving the correct dependencies, I can see this being pretty useful, even if most programs already automatically install the dependencies or at least let you know that you don&#x27;t have them. Maybe I&#x27;ll find myself in .Net framework or MS C++ distribution hell a little bit less. The same problem, with missing or incorrect shared libraries, seems to happen just as much when I am on a Free&#x2F;Net&#x2F;OpenBSD system. And the workflow for installing a Windows program is fundamentally different from the *Nix eco-system; as the former is mostly closed while the latter open, you have to be much more discrete when installing on Windows.<p>Maybe I am using Windows differently than a lot of other people even if I consider myself a &quot;power&quot; user. I&#x27;ve always felt much of Windows&#x27; power and usability came from it&#x27;s GUI focused experience (forgetting the maddening changes that can occur between versions).<p>Post: after writing all that, I looked at Programs and Features (on windows 7 now) and I think the biggest advantage of something like this would be mapping out dependencies, even if I don&#x27;t think I&#x27;ve ever deleted one by mistake. Still, it would be nice.
评论 #8528051 未加载