Nchịkwa njikwa ngwugwu (OneGet) na Windows 10

Pin
Send
Share
Send

Otu n'ime ihe ọhụụ na-atọ ụtọ na Windows 10 nke onye ọrụ nkịtị enweghị ike ịchọpụta bụ onye njikwa ngwugwu ngwugwu PackageManagement (nke bụbu OneGet), nke a na-eme ka ọ dị mfe ịwụnye, chọọ, ma ọ bụ jikwaa mmemme ndị ọzọ na kọmputa gị. Ọ bụ ihe banyere ịwụnye mmemme site na usoro iwu ahụ, ọ bụrụ na ọ ghọtaghị gị ihe nke a bụ na ihe kpatara ya nwere ike ịba uru, ana m akwado ka ị buru ụzọ lee vidio ahụ na njedebe akwụkwọ ntuziaka a.

Mmelite 2016: a na-akpọ onye njikwa ngwugwu wuru OneGet n'oge usoro izizi nke Windows 10, ugbu a ọ bụ ngwugwu PackageManagement na PowerShell. Ọzọkwa na ntuziaka emelitere ụzọ iji ya.

PackageManagement bụ akụkụ dị mkpa nke PowerShell na Windows 10; na mgbakwunye, ịnwere ike ịnweta njikwa ngwugwu site na ịwụnye Windows Management Framework 5.0 maka Windows 8.1. N'isiokwu a, enwere ọtụtụ ihe atụ nke iji onye njikwa ngwugwu maka onye ọrụ nkezi, yana ụzọ iji jikọọ ebe nchekwa Chocolatey (ụdị nchekwa data, nchekwa) na PackageManagement (Chocolatey bụ onye njikwa ngwugwu nwere onwe ị nwere ike iji na Windows XP, 7 na 8 yana ndị kwekọrọ. Mụta ihe banyere iji Chocolatey dị ka onye nchịkwa ngwungwu nọọrọ onwe ya.)

Iwu ngwugwu Package na PowerShell

Iji jiri ọtụtụ iwu akọwapụtara n'okpuru, ị ga-agba Windows PowerShell ka ọ bụrụ onye nchịkwa.

Iji mee nke a, bido pinye akara PowerShell na nchọta ihe njikwa, wee pịa aka nri na nsonaazụ ya wee họrọ "Gbaa dị ka onye nchịkwa".

Onye njikwa ngwugwu PackageManagement ma ọ bụ OneGet na-enye gị ohere ịrụ ọrụ na mmemme (wụnye, wepu, chọọ, mmelite enyebeghị) na PowerShell site na iji iwu kwesịrị ekwesị - usoro ndị yiri ya maara ndị ọrụ Linux. Iji nweta echiche nke ihe dị n'ihe egwu, ị nwere ike lelee nseta ihuenyo dị n'okpuru.

Uru nke usoro a maka ịwụnye mmemme bụ:

  • site na iji usoro mmemme pụtara (ọ dịghị mkpa ka ị chọọ aka maka websaịtị gọọmentị),
  • enweghị ntinye nke sọftụwia nwere ike ịchọrọ n'oge nrụnye (yana usoro bọtịnụ kachasị ama na bọtịnụ "Na-esote"),
  • Ikike imepụta edemede nke nrụnye (dịka ọmụmaatụ, ọ bụrụ na ịchọrọ ịwụnye mmemme zuru ezu na kọmputa ọhụụ ma ọ bụ na ị wụnye Windows ọzọ, ịkwesighi iji aka budata ma wụnye ha, dị na-agba edemede ahụ),
  • yana ịdị mfe nke nrụnye na njikwa nke ngwanrọ n’elu igwe ndị dịpụrụ adịpụ (maka ndị na-ahụ maka sistemụ).

You nwere ike nweta ndepụta nke iwu dị na PackageManagement na iji Nweta-Command -Mazu ngwugwuManagement ndị bụ isi maka onye ọrụ dị mfe ga-abụ:

  • Nchọta-ngwugwu - chọọ ngwugwu (mmemme), dịka ọmụmaatụ: Nchọta-ngwugwu -Name VLC (Enwere ike ikwu ski ụdị, ikpe adịghị mkpa).
  • Ntinye-ngwugwu - wụnye mmemme na kọmputa
  • Nwepu-ngwugwu - iwepụ mmemme
  • Ngwugwu-Lee ngwugwu arụnyere

Edebere iwu ndị ọzọ iji lelee mmalite nke nchịkọta (mmemme), gbakwunye ma wepu ha. Ihe omume a bakwara anyi uru.

Dinggbakwunye ebe nchekwa Chocolatey na PackageManagement (OneGet)

O bu ihe nwute, enwere ike ichota ihe banyere nzuputa ihe eji emeputa tupu emee ya (ihe mmemme) na PackageManagement na - arụ ọrụ, ọkachasị mgbe a bịara n’ahịa azụmaahịa (mana n'otu oge ahụ anaghị akwụ ụgwọ) - Google Chrome, Skype, mmemme ngwa dị iche iche.

Ntughari NuGet nke Microsoft chọrọ maka nrụnye na ndabara nwere ngwa mmepe maka ndị mmemme, mana ọ bụghị maka ndị na - agụ akwụkwọ nke m (n'agbanyeghị, mgbe ị na - arụ ọrụ na PackageManagement, enwere ike ịnye gị oge niile ka ịwụnye onye na - eweta NuGet, achọtaghị m ụzọ m ga - ewepụ "nke a, belụsọ ikwenye otu ugboro na ntinye).

Agbanyeghị, enwere ike idozi nsogbu ahụ site na ijikọ ebe nchekwa ngwugwu Chocolatey, ime nke a, jiri iwu:

Nweta-PackageProvider -Ndị chocolatey

Kwenye nrụnye batrị Chocolatey, na nwụnye, tinye iwu ahụ:

Set-PackageSource -Nmelere chocolate-nyere

Emela.

Ihe omume ikpeazu nke achoro ka emee ka ngwugwu ndi choro chocolate bu igbanwe ogbugbu ya. Gbanwee, tinye iwu na-enye ohere ka ejiri ihe niile edere ederede PowerShell edebere:

SetteSigned na-ewepụta Set-ExecutionPolicy

Iwu a nyere ohere iji edebanye ederede edepụtara na Internetntanetị.

Site ugbu a gaa n'ihu, nchịkọta si na Chocolatey repository ga-arụ ọrụ na PackageManagement (OneGet). Ọ bụrụ na njehie emee mgbe etinyere ya, nwaa jụọ ya -Ọzọ.

Ma ugbu a, atụ dị mfe nke iji PackageManagement na onye na-eweta Chocolatey jikọọ.

  1. Dịka ọmụmaatụ, anyị kwesiri ịwụnye mmemme Paint.net na-akwụghị ụgwọ (nke a nwere ike ịbụ mmemme ọzọ n'efu, ọtụtụ n'ime programmụ freeware dị na ebe a na-edebe akwụkwọ). Tinye iwu paint-package -name paint (inwere ike itinye aha n’otu n’otu, ma oburu na imaghi aha otu ngwungwu a, igodo “-name” bu ihe ah).
  2. N'ihi ya, anyị hụrụ na paint.net dị na ebe ndebe akwụkwọ. Iji wụnye, jiri iwu a tinye-ngwungwu-aha paint.net (anyị na - ewere aha ahụ n'aka ekpe n'aka ekpe).
  3. Anyị na-eche ruo mgbe emechara nwụnye ma anyị enweta mmemme arụnyere na-enweghị achọ ebe ị ga-ebudata ya na enweghị usoro ị na-achọghị na kọmputa gị.

Vidiyo - Iji njikwa ngwugwu PackageManagement (aka OneGet) iji wụnye mmemme na Windows 10

Ọ dị mma, na njedebe - ọ bụ otu ihe ahụ, mana na usoro vidiyo, ikekwe maka ụfọdụ ndị na - agụ ya, ọ ga - adị mfe nghọta ma nke a ọ baara ya uru ma ọ bụ na ọ baghị uru.

Ka ọ dị ugbu a, anyị ga-ahụ otú njikwa ngwugwu ga-adị n'ọdịnihu: enwere ozi gbasara ọdịdị enwere ike nke OneGet GUI yana nkwado nke ngwa desktọpụ site na Storelọ Ahịa Windows na atụmanya mmepe ndị ọzọ nke ngwaahịa ahụ.

Pin
Send
Share
Send