Siv Chocolatey los txhim kho cov kev pab cuam hauv qhov rais

Linux cov neeg siv yog siv rau kev txhim kho, uninstalling thiab muab kho dua rau cov ntawv thov siv apt-get package manager - qhov no yog ib qho chaw nyab xeeb thiab yooj yim rau kev ceev nrig nruab dab tsi koj xav tau. Hauv Windows 7, 8, thiab 10, koj tuaj yeem tau txais cov qauv zoo sib xws los ntawm kev siv Chocolatey pob tus manager, thiab qhov no yog li cas ntawm tsab xov xwm txog. Lub hom phiaj ntawm txoj kev qhia no yog to taub txog tus neeg siv nruab nrab nrog seb tus thawj tswj xyuas lub npov yog thiab pom cov txiaj ntsim ntawm kev siv txoj kev qhia no.

Kev sib thooj li niaj zaus los txhim kho cov kev pab cuam ntawm lub computer rau cov neeg siv qhov rais yog mus download tau qhov kev pab cuam hauv Is Taws Nem, thiab mam li khiav ntawm cov ntaub ntawv siv. Txhua yam yog qhov yooj yim, tiam sis kuj muaj cov kev mob tshwm sim - kev txhim kho kev ruaj ntseg ntxiv, browser ntxiv lossis hloov nws qhov chaw (tag nrho cov no yuav tshwm sim thaum nruab ntawm qhov chaw hauv lub tsev kawm ntawv), tsis txhob hais txog cov kab mob thaum twg los ntawm qhov chaw dubious. Tsis tas li ntawd, xav hais tias koj xav tau los nruab 20 cov kev pab cuam ib zaug, Kuv xav automate no txheej txheem licas?

Lus Cim: Qhov rai 10 muaj xws li nws tus kheej lub Thaj Tsav Thaj Chaw IbGet (Siv OneGet nyob rau hauv Qhov Rais 10 thiab txuas lub Chocolatey repository).

Chocolatey installation

Kom nruab Chocolatey rau hauv koj lub computer, koj yuav tsum khiav kom sai los sis Windows PowerShell ua tus thawj coj, thiab siv cov lus hauv qab no:

Hais kom ua kab

@powershell -NoProfile -KevxawsPolicy tsis txwv -Command "iex ((cov khoom tshiab net.webclient) .DownloadString ('// chocolatey.org  / install.ps1')) " && SET PATH =% PATH;% ALLUSERSPROFILE% chocolatey  rau hauv

Hauv Windows PowerShell, siv qhov kev hais kom ua Teeb-ExecutionPolicy Remotesigned kom tso cai rau kev tso npe ntawm cov ntawv kos npe rau hauv kev sib txuas lus, ces nruab Chocolatey siv qhov kev hais kom ua

iex ((net-new net.webclient) .DownloadString ('// chocolatey.org  / install.ps1'))

Tom qab nruab ntawm PowerShell, pib dua. Yog li ntawd, tus thawj tswj xyuas npaj yuav mus.

Siv lub Chocolatey pob tswj xyuas ntawm qhov rais.

Yuav ua li cas mus download tau thiab nruab ib qho kev pab cuam uas siv tus thawj tswj lub npav, koj tuaj yeem siv qhov kev hais kom ua lossis Windows PowerShell khiav raws li tus neeg khiav dej num. Ua li no, koj tsuas tau sau ib qho ntawm cov lus txib (piv txwv rau nruab Skype):

  • choco nruab skype
  • cinst skype

Tib lub sij hawm, qhov tseeb zaj version ntawm qhov kev zov me nyuam yuav raug xa tawm thiab ntsia. Ntxiv mus, koj yuav tsis pom muaj cov kev pom zoo los mus nruab ib lub software pliaj, txuas ntxiv, hloov mus rau qhov kev tshawb nrhiav vim thiab pib ntawm qhov browser. Thiab thaum kawg: Yog tias koj sau ntau lub npe los ntawm ib qhov chaw, ces txhua tus yuav raug ntsia rau hauv lub computer.

Tam sim no, txog 3000 qhov kev pab cuam dawb thiab shareware tau muab tso rau hauv txoj kev no thiab, tau kawg, koj tsis paub cov npe ntawm lawv txhua tus. Hauv qhov no, pab neeg no yuav pab koj. choco nrhiav.

Piv txwv li, yog tias koj sim nruab Mozilla browser, koj yuav tau txais ib qho lus yuam kev uas tsis tau pom dua (tom qab tag nrho, qhov browser hu ua Firefox), tab sis choco nrhiav mozilla yuav cia koj nkag siab qhov yuam kev thiab cov kauj ruam tom ntej yuav nkag mus ntxias firefox (tus lej version tsis raug tsocai).

Kuv nco tias txoj kev tshawb no tsis yog los ntawm lub npe xwb, tab sis kuj yog los ntawm kev piav qhia ntawm cov ntawv thov. Piv txwv, mus nrhiav kev pabcuam tawg ntiag tug, koj tuaj yeem tshawb nrhiav lo lus tseem ceeb hlawv, thiab vim li ntawd tau txais cov npe nrog cov kev pabcuam tsim nyog, nrog rau cov npe ntawm lub npe uas tsis tshwm sim. Daim ntawv teev npe tag nrho ntawm cov ntawv thov uas koj tuaj yeem pom hauv lub website chocolatey.org.

Zoo sib xws, koj tuaj yeem tshem qhov kev pab cuam:

  • choco uninstall program_name
  • cuninst program_name

lossis hloov nws nrog cov lus txib choco hloov tshiab los yog khob. Siv lub npe qhov program no koj siv tau txhua lo lus, uas yog choco hloov tshiab tag nrho yuav hloov tag nrho cov kev zov me nyuam uas tau siv nrog Chocolatey.

Pob Manager GUI

Nws yog tau siv Chocolatey graphical user interface rau kev txhim kho, tshem tawm, muab kho dua, thiab tshawb nrhiav cov kev pab cuam. Ua li no, sau choco nruab Chocolateygui thiab tso npe rau daim ntawv thov raws li Thawj Tswj Hwm (yuav pib tshwm hauv cov ntawv qhia zaub mov pib lossis qhov kev teev npe ntawm qhov rais 8). Yog tias koj npaj yuav siv ntau npaum li ntawd, kuv xav kom koj nco ntsoov lub community launch ntawm tus neeg khiav dej num hauv cov khoom ntawm qhov shortcut.

Lub pob manager interface yog intuitive: ob lub tabs, nrog cov ntsia nruab nrab thiab kev siv tau, muaj vaj huam sib luag nrog cov lus qhia txog lawv thiab cov nyees khawm rau kev hloov tshiab, rho tawm lossis txhim kho, nyob ntawm seb xaiv.

Qhov zoo ntawm txoj kev txhim kho cov kev pab cuam

Summing, Kuv xav nco ntsoov ib zaug dua qhov zoo ntawm kev siv Chocolatey pob thawj tswj kev txhim kho cov kev pab cuam (rau ib tus neeg novice):

  1. Koj tau txais cov kev pabcuam los ntawm cov chaw muab kev pabcuam thiab tsis txhob muaj txoj kev pheej hmoo ntawm sim mus nrhiav cov software tib yam hauv Internet.
  2. Thaum txhim kho qhov kev zov me nyuam, nws tsis yog qhov tsim nyog los xyuas kom meej tias tsis muaj kev ruaj ntseg ntsia;
  3. Nws yeej yog ceev dua searching rau lub xeem site thiab cov nplooj ntawv ces rau nws manually.
  4. Koj tuaj yeem tsim cov ntaub ntawv sau cia (.bat,. Pauv) los yog nruab ib txoj kev pabcuam dawb dawb ib zaug nrog rau kev ua haujlwm ib zaug (piv txwv li, tom qab nruab qhov rais), qhov ntawd yog, koj yuav tsum nruab ob lub programme, xws li antiviruses, cov khoom siv thiab cov players, ib zaug Sau cov lus txib, tom qab uas koj tsis txawm yuav tau nias qhov "Next" khawm.

Kuv vam tias qee tus kuv nyeem yuav pom cov lus qhia no tseem ceeb.