Linux cov neeg siv tau swm rau kev txhim kho, tshem tawm thiab kho cov ntawv thov siv cov apt-tau pob tus thawj tswj - qhov no yog qhov kev nyab xeeb thiab yooj yim rau kev txhim kho qhov koj xav tau sai sai. Hauv Windows 7, 8 thiab 10, koj tuaj yeem tau txais cov haujlwm zoo sib xws los ntawm kev siv Chocolatey pob tswj hwm thiab qhov no yog qhov xov xwm yuav tham txog. Lub hom phiaj ntawm cov kev qhia yog kom paub cov neeg siv nruab nrab nrog dab tsi cov neeg saib xyuas pob khoom thiab qhia txog cov txiaj ntsig ntawm kev siv txoj hauv kev no.
Txoj hauv kev ib txwm nruab ntawm cov programs hauv computer rau Windows siv yog rub tawm cov program los ntawm Is Taws Nem, thiab tom qab ntawd khiav cov ntawv teeb tsa. Nws yooj yim, tab sis muaj cov kev mob tshwm sim - txhim kho qhov tsis tsim nyog ntxiv software, browser ntxiv-ons lossis hloov nws chaw (txhua qhov no kuj tseem tuaj yeem yog thaum txhim kho los ntawm lub vev xaib raug cai), tsis txhob hais txog kab mob thaum rub tawm los ntawm cov chaw tsis txaus ntseeg. Tsis tas li ntawd, xav txog tias koj xav tau los nruab 20 cov kev pab cuam ib zaug, koj puas xav ua haujlwm qee qhov txheej txheem no?
Nco tseg: lub Windows 10 suav nws tus kheej OneGet pob tus thawj tswj hwm (Siv OneGet ntawm Windows 10 thiab txuas Chocolatey lub chaw cia khoom).
Chocolate Installation
Txhawm rau nruab Chocolatey hauv koj lub computer, koj yuav tsum khiav cov kab hais kom ua lossis lub Windows PowerShell ua tus tswj hwm, thiab tom qab ntawd siv cov cai hauv qab no:
Ntawm kab hais kom ua
@powershell -NoProfile -Txhais kev siv tsis tau txwv -Command "iex ((tshiab-khoom net.webclient) .DownloadString ('// chocolatey.org/install.ps1'))" && SET TX =% TX%;% ALLUSERSPROFILE% chocolatey bin
Hauv Windows PowerShell, siv txoj kev txib Teeb-Cuas Piav Ntsig Tej thaj chaw deb kom muaj peev xwm ua tej thaj chaw deb cov ntawv sau, tom qab ntawd nruab Chocolatey nrog cov lus txib
iex ((tshiab-kwv net.webclient) .DownloadString ('// chocolatey.org/install.ps1'))
Tom qab kev txhim kho los ntawm PowerShell, rov pib dua. Qhov ntawd yog nws, tus thawj tswj hwm pob tau npaj txhij mus.
Siv Chocolatey Tus Tuav Tswj Khoom Siv ntawm Windows
Txhawm rau rub tawm thiab teeb tsa ib qho program twg siv lub pob tswj hwm, koj tuaj yeem siv cov kab hais kom ua lossis Windows PowerShell, pib ua tus tswj hwm. Txhawm rau ua qhov no, koj tsuas yog yuav tsum nkag mus rau ib qho ntawm cov lus txib (piv txwv rau kev txhim kho Skype):
- choco nruab skype
- cinst skype
Hauv qhov xwm txheej no, qhov tseeb ntawm lub program tshwj xeeb yuav raug rub tawm thiab nruab. Ntxiv mus, koj yuav tsis pom cov kev pom zoo pom zoo rau nruab cov pliaj software, txuas ntxiv, hloov lub neej ntawd tshawb thiab browser pib nplooj ntawv. Zoo, thiab lub xeem: yog tias koj qhia ob peb lub npe nrog ib qho chaw, tom qab ntawd txhua tus ntawm lawv yuav raug ntsia rau hauv lem ntawm lub khoos phis tawm.
Tam sim no, txoj kev no koj tuaj yeem nruab txog 3,000 cov kev pabcuam freeware thiab shareware thiab, qhov tseeb, koj tsis tuaj yeem paub tag nrho cov npe. Hauv qhov no, pab neeg yuav pab koj. choco kev tshawb.
Piv txwv li, yog tias koj sim rau nruab Mozilla browser, koj yuav tau txais cov lus yuam kev tias cov kev pab cuam no tsis pom (tseem, vim tias qhov browser hu ua Firefox), txawm li cas los xij choco kev tshawb mozilla yuav tso cai rau koj kom nkag siab tias qhov kev ua yuam kev yog dab tsi thiab cov kauj ruam tom ntej yuav nkag mus txaus cinst firefox (tus lej version tsis tas yuav).
Kuv nco ntsoov tias kev tshawb fawb ua haujlwm tsis yog tsuas yog npe, tab sis kuj yog los ntawm cov lus piav qhia ntawm cov ntawv thov muaj. Piv txwv, txhawm rau tshawb nrhiav cov phiaj xwm hlawv hlawv, koj tuaj yeem tshawb los ntawm cov ntsiab lus hlawv, thiab yog li tau txais cov npe nrog cov kev pabcuam tsim nyog, suav nrog cov uas lub npe hlawv tsis tshwm. Koj tuaj yeem pom cov npe tag nrho ntawm cov kev thov muaj nyob ntawm chocolatey.org.
Ib yam li ntawd, koj tuaj yeem tshem tawm cov program:
- choco tshem tawm qhov program_name
- cuninst program_name
lossis hloov nws siv cov lus txib choco hloov tshiab lossis khob. Hloov ntawm lub npe ntawm cov program, koj tuaj yeem siv txhua lo lus, i.e. choco hloov tshiab txhua yuav hloov txhua qhov haujlwm nruab nrog Chocolate.
Tus thawj tswj lub pob GUI
Nws yog qhov siv tau Chocolatey GUI los nruab, rub tawm, hloov kho thiab tshawb nrhiav cov haujlwm. Ua li no, nkag mus choco nruab ChocolateyGUI thiab khiav rau daim ntawv thov raug sawv cev ntawm Tus Thawj Coj (tshwm sim hauv cov ntawv qhia pib lossis hauv cov npe ntawm nruab nrog Windows 8 programmes). Yog tias koj npaj yuav siv nws ntau zaus, Kuv xav kom koj khij lub community launch ua Administrator hauv cov khoom ntawm shortcut.
Lub pob tswj hwm interface yog qhov ua tau zoo: ob lub tab nrog cov ntsia thiab muaj pob (cov kev pab cuam), ib lub vaj huam sib luag nrog cov ntaub ntawv hais txog lawv thiab cov nyees khawm rau kev hloov kho, tshem tawm lossis nruab, nyob ntawm seb xaiv tau dab tsi.
Qhov zoo ntawm txoj kev no ntawm kev txhim kho cov kev pabcuam
Yuav kom lub ntsiab lus, ib zaug ntxiv kuv nco ntsoov qhov zoo ntawm kev siv Chocolatey tus thawj tswj hwm los nruab rau cov kev pab cuam (rau cov neeg siv novice):
- Koj tau txais cov kev pab cuam los ntawm cov chaw muaj txiaj ntsig thiab tsis pheej hmoo kom nrhiav kom tau tib cov software hauv Is Taws Nem.
- Thaum txhim kho txoj haujlwm, koj tsis tas yuav xyuas kom meej tias ib yam dab tsi tsis tsim nyog raug teeb tsa, daim ntawv thov yuav raug teeb tsa.
- Qhov no yog tiag tiag sai dua manually tshawb cov nom lub xaib thiab cov nplooj ntawv rub tawm ntawm nws.
- Koj tuaj yeem tsim cov ntawv sau (.bat, .ps1) lossis tsuas yog txhim kho txhua qhov tsim nyog pub dawb ib zaug nrog ib qho lus txib (piv txwv li, tom qab rov nruab Windows), uas yog, los nruab ob lub khoos kas, suav nrog antiviruses, kev siv hluav taws xob thiab cov players, koj xav tau ib zaug xwb sau cov lus txib, tom qab uas koj tsis tseem xav tau nyem "Tom ntej" khawm.
Kuv vam tias cov ntaub ntawv no yuav muaj txiaj ntsig zoo rau qee qhov kuv nyeem.