How to Use PackageManagement (otherwise known as OneGet) on Windows 10
Windows 10 incorporates a bundle administration device incorporated with PowerShell. In the last form, it's named "PackageManagement", yet it's as yet in light of an open-source venture named OneGet.
PackageManagement (otherwise known as OneGet) isn't in fact a bundle administrator. It's a bundle administrator director — a structure and set of PowerShell cmdlets that can oversee diverse sorts of programming from better places standardizedly.
What is PackageManagement/OneGet?
We already broke the tale around OneGet, and endeavored to clear up precisely what it is. On the off chance that that isn't sufficient data for you, engineer Garret Serack additionally composed an enlightening post titled "10 things around OneGet that are not quite the same as you think."
Basically, PackageManagement (in view of an open-source venture named OneGet) is incorporated into PowerShell and accordingly Windows 10. It means to unite a wide range of bundle administration systems and programming establishment structures into a solitary API alongside a standard arrangement of PowerShell cmdlets for overseeing programming.
In its underlying state, in any event, this isn't an apparatus intended for the normal Windows 10 client or even the nerd. Microsoft doesn't really have any "OneGet archives" — actually, there's no such thing. OneGet can be utilized alongside suppliers to empower access to programming storehouses, which would then be able to be made do with institutionalized cmdlets. This is intended for framework overseers. For nerds alright with the charge line, OneGet once offered a Chocolatey supplier for introducing work area applications facilitated in Chocolatey. Be that as it may, OneGet isn't intended to work just with Chocolatey — introductory variants of OneGet had a Chocolatey supplier as a proof-of-idea, however this has now been expelled.
You can likewise introduce and utilize this instrument on different variants of Windows, as it's a piece of the Windows Management Framework (WMF) 5.0.
How to Use PackageManagement/OneGet
PackageManagement is an arrangement of cmdlets for PowerShell, so you'll have to open the Windows PowerShell application to utilize it. Run the accompanying summon to see a rundown of accessible cmdlets:
In the last discharge variant of Windows 10, there's not a ton going ahead with PackageManagement yet. This element was most fascinating for its reconciliation with Chocolatey for effectively introducing Windows programs from a solitary source when it was presented. Chocolatey can even now be utilized on Windows 10 without the guide of PackageManagement/OneGet, be that as it may.
The Get-PackageProvider and Get-PackageSource cmdlets will demonstrate to you which bundle suppliers and sources are accessible. You can utilize Register-PackageSource to introduce a bundle source. This cmdlet requires a URL for the source, so you'll have to know precisely what you need to add and where it's situated to include it.
For instance, when there's a Chocolatey supplier is created by the network, you can add it to your framework with this cmdlet. The Unregister-PackageSource cmdlet can expel such a bundle source.
On the off chance that you have to utilize PackageManagement to introduce programming from some place, you'll have to utilize the above Register-PackageSource cmdlet to guarantee the source is enlisted in PackageManagement. After you have, you can seek, introduce, and uninstall accessible bundles with the accompanying cmdlets.
The Find-Package cmdlet will enable you to scan your arranged bundle hotspots for it and the Install-Package cmdlet would enable you to introduce it. The Uninstall-Package cmdlet will uninstall a bundle you've introduced by means of these cmdlets:
This is intended to be a straightforward, institutionalized approach to introduce distinctive sorts of programming from various sources bundled in various structures. With Windows 10 and PackageManagement propelling, we may hope to see more combination with a wide range of potential programming hotspots for everything from rapidly setting up servers to naturally introducing programming on new PCs when setting them up.
Comments
Post a Comment