La administración de paquetes de Windows 10 no me parece muy intuitiva. A continuación se presentan mis aventuras al tratar de instalar VLC, que parece un caso de prueba muy común para un administrador de paquetes.
Find-Package vlc
No
Find-Package -Update
No
Install-Package --help
No
Install-Package /?
No
Install-Package vlc
The provider 'nuget v2.8.5.127' is not installed.
nuget may be manually downloaded from https://oneget.org/nuget-anycpu-2.8.5.127.exe and installed.
Would you like PackageManagement to automatically download and install 'nuget' now?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):
Install-Package : No match was found for the specified search criteria and package name 'vlc'.
At line:1 char:1
+ Install-Package vlc
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Ex
ception
+ FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
No
Register-PackageSource -Name chocolatey -Location http://chocolatey.org/api/v2 -Provider PSModule -Trusted -Verbose
¿Tal vez?
Install-Package vlc
WARNING: The module 'vlc' cannot be installed or updated because it is not a properly-formed module.
No
Install-Package -Name VLC
Install-Package : No match was found for the specified search criteria and package name 'VLC'.
Find-Package -Name VLC
Encuentra algo para ti? Además, verifique si distingue entre mayúsculas y minúsculas.
Find-Package -Name VLC
Find-Package: no se encontraron coincidencias para los criterios de búsqueda especificados y el nombre del paquete 'VLC'. En línea: 1 char: 1 + Find-Package -Name VLC + ~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo: ObjectNotFound: (Microsoft.Power ... ets .FindPackage: FindPackage) [Find-Package], Exceptio n + FullyQualifiedErrorId: NoMatchFoundForCriteria, Microsoft.PowerShell.PackageManagement.Cmdlets.FindPackage
update-help
primero.
Install-Package -Name VLC
.