Gets Linux-Style Package Manager, OneGet (HTG Explains)

Status
Not open for further replies.

Ink

Administrator
Thread author
Verified
Staff Member
Well-known
Jan 8, 2011
22,491
HTG: Windows 10 Includes a Linux-Style Package Manager Named “OneGet”

Forget the Windows Store. Microsoft is working on a Linux-style package management framework for Windows, and it’s included with Windows 10. It’s being tested with Chocolatey’s existing packages, and allows you to easily install desktop applications and other software.

This is huge news. If you’ve ever used Linux, you’ve probably wanted a package management system for the Windows desktop ever since. Now it’s finally arriving!

OneGet, a Package Management Framework for Windows
This package manager is called OneGet, and is shipping as part of PowerShell. In a blog post titled “My little secret : Windows PowerShell OneGet” over at Technet, Microsoft’s Garret Serack explains:

“OneGet is a unified interface to package management systems and aims to make Software Discovery, Installation and Inventory (SDII) work via a common set of cmdlets (and eventually a set of APIs). Regardless of the installation technology underneath, users can use these common cmdlets to install/uninstall packages, add/remove/query package repositories, and query a system for the software installed. Included in this CTP is a prototype implementation of a Chocolatey-compatible package manager that can install existing Chocolatey packages.”​

As OneGet is part of the latest version of PowerShell, it’s included by default in the Windwos 10 Technical Preview.

It’s also available as part of the Windows Management Framework 5.0 Preview for Windows 8.1.
OneGet
OneGet is a new way to discover and install software packages from around the web. With OneGet, you can:
  • Manage a list of software repositories in which packages can be searched, acquired, and installed
  • Search and filter your repositories to find the packages you need
  • Seamlessly install and uninstall packages from one or more repositories with a single Windows PowerShell command

4wviufm.png


Yes, you can install VLC or another piece of Windows software that easily! After you run the command, OneGet will locate the package in your configured package sources, download it to your computer, and install it — all automatically. And there should be graphical user interfaces for this, too, so it’ll just take a few clicks.

See How OneGet Works? .. Continue Reading: http://www.howtogeek.com/200334/windows-10-includes-a-linux-style-package-manager-named-oneget/
 
  • Like
Reactions: Adhit Prakosho

tapoo

Level 4
Verified
Jan 21, 2012
639
http://www.extremetech.com/computin...age-manager-much-to-the-lament-of-linux-users

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. Microsoft is trying its best to make Windows 10 the dream OS for the billions of people around the world who use a desktop PC with a mouse and keyboard — and, as a result, this means Windows 10 will actually come with a package manager. Yes, in Windows 10 you can open up a command line shell and install VLC or Firefox or thousands of other packages by typing in a single command.

If you’ve ever ventured into the dark and mysterious land of Linutopia, where Ubutologists and Debianites reign, you will have noticed that one of the things that Linux users are most proud of is package management. 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. I’m a Windows user through and through, but I have to admit that installing apps and keeping a system updated is much more pleasant in Linux.

With Windows 10, however, we are finally getting an official package manager: OneGet. In the current build of Windows 10 Technical Preview, you can open up PowerShell and use OneGet to install thousands of applications with commands such as Find-Package VLC and Install-Package Firefox. OneGet seems to implement all of the usual functions that you’d expect from a package manager. You can search for packages, add new sources/repos, uninstall packages, install packages, and so on. OneGet uses the same package format as Chocolatey, one of the most popular third-party package managers for Windows (and indeed, you can add the Chocolatey repo to OneGet if you so wish).


Windows 10 PowerShell, using OneGet to install a package

Read: How to get the Windows 10 Technical Preview

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.


The Store in Windows 10 is still pretty bad

What remains to be seen is just how far Microsoft will take OneGet. Will it be just be an obscure tool for nerdy admin types? The eventual plan is to expose a set of OneGet APIs, which means other apps will be able to tie into it — and who knows, that might just trigger some kind of revolution in Windows app management. OneGet would certainly be one way for Microsoft to offer desktop apps through the Windows Store (at the moment it can only install Metro apps). This time next year, maybe you’ll be able to open up PowerShell and type Install-Package Photoshop, or Update-Package Windows 10.

Last week, Windows 10 Technical Preview received its first update — and indeed, Microsoft plans to roll out a new, major update every few weeks. We will continue to closely track OneGet and Windows 10′s other desktop-oriented features as and when they appear in new builds.
 
Status
Not open for further replies.

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top