Yuav Ua Li Cas Fedora: Txhua yam koj xav paub txog YUM thiab tsis twv kom nug (Ntu I)

yum (Tus Daj Dub Hloov Dua, Hloov Kho): Nws yog tus hais kom ua kab software (CLI) txhawm rau hloov kho tshiab, txhim kho, thiab nruab tej pob khoom nrog cov daws teeb meem tsis siv neeg. Nws yog muab sau rau hauv Nab hab sej, uas tso cai rau nws cov kev ua haujlwm tau nthuav dav ntawm plugins. Yum tseem muaj nyob rau ntawm Debian.

Yum muab cov pob tswj kev ruaj ntseg raws li nws txhawb cov ntawv pov thawj kev kos npe GPG (GNU Kev Tiv Thaiv Tus Kheej, tseem hu ua GnuPG). Thaum kos npe lees paub tau ua tiav, Yum yuav tsis kam nruab rau tej pob khoom uas tsis kos npe nrog GPG tus yuam sij rau lub chaw sau npe ntawd. Qhov no txhais tau tias koj tuaj yeem ntseeg cov pob ntawv ntawd RPM tias koj rub tawm thiab nruab rau hauv koj lub system yog los ntawm cov khoom siv txhim khu kev qha thiab tsis tau hloov kho thaum lub sijhawm hloov mus.

Hauv no Yuav ua li cas (muab faib ua ntau ntu) peb yuav pom yuav ua li cas thiaj ua tau zoo tshaj plaws ntawm tus neeg saib xyuas software uas muaj zog thiab hloov pauv tau, uas, hauv kuv tus kheej kev xav, yog ib qhov zoo tshaj plaws uas muaj nyob rau ntawm pacman (Archlinux);). Peb yuav pom kev tawm ntawm txhua qhov kev xaiv nws muaj, cov plugins thiab kev teeb tsa nws li cas raws li peb tus kheej xav tau: D.

Txhawm rau siv ib qho ntawm cov kev xaiv uas pom hauv qab no nws tsuas yog tsim nyog nkag raws li hauv paus lossis siv sudo thiab sau:

yum [opciones] comando {paquete1} {paquete2} {...}

Piv Txwv:

yum -y install clementine

Ceeb toom: Cov kev txiav txim muaj nyob hauv [] yog xaiv tau, cov lus txwv muaj nyob ntawm {} yuav yog nyob ntawm qhov kev hais kom ua.

Daim ntawv teev cov lus txib yum muaj yog:

  • install package1 [pob 2] […]
  • hloov kho [package1] [package2] […]
  • hloov tshiab-rau [package1] [package2] […]
  • check - hloov tshiab
  • txawj tej yam ntxiv [package1] [package2] […]
  • txawj tej yam ntxiv-rau [package1] [package2] […]
  • faib-synchronization [pob 1] [package2] […]
  • tshem | lwv cov pob 1 [pob 2] […]
  • sau […]
  • cov ntaub ntawv […]
  • muab | whatprovides feature1 [feature2] […]
  • huv si [pob khoom | metadata | tas sij hawm-cache | rpmdb | plugins | tag nrho]
  • makecache
  • pawg […]
  • nrhiav string1 [string2] […]
  • plhaub [filename]
  • resoldep dep1 [dep2] […]
  • (tswj tseg rau cov txiaj ntsig tseem ceeb tsuas yog - siv repoquery lossis yum muab)
  • localinstall rpmfile1 [rpmfile2] […]
  • (tswj tseg rau txoj kev cai qub vim tsuas - siv nruab)
  • localupdate rpmfile1 [rpmfile2] […]
  • (tswj tseg rau cov txiaj ntsig qab hau nkaus xwb - siv hloov tshiab)
  • reinstall package1 [package2] […]
  • downgrade pob 1 [pob 2] […]
  • deplist pob 1 [pob 2] […]
  • kho nyiaj [txhua | qhib | xiam oob khab]
  • version [txhua | ntsia | muaj | pawg- | nogroups | tus cog lus | pab pawg]
  • keeb kwm [info | npe | pob khoom-npe | pob khoom-lus qhia | cov ntsiab lus | addon-info | redo | undo | rollback | tshiab | sync | teev tseg
  • load-kev lag luam [txfile]
  • xyuas
  • pab [txib]

Descripción ntawm cov lus txib

nruab

Nws yog siv los txhim kho qhov tseeb ntawm pob lossis pab pawg ntawm pob khoom thaum paub tseeb tias txhua tus neeg tau txais kev txaus siab tau txaus siab. Yog tias tsis muaj cov khoom ntais ntawv lub npe muab npe, tom qab ntawd cov ntais ntawv raug ntsia. Yog tias lub npe pib nrog tus cim "@", tus so ntawm lub npe yuav siv txhais tau tias yog cov ua haujlwm pab pawg tau hais kom ua. Yog tias lub npe pib nrog tus cim "-" tom qab ntawd ib qho kev tshawb fawb tau ua nyob rau hauv qhov kev sib pauv thiab cov ntais ntawv raug muab tshem tawm. Yog tias lub npe yog cov ntaub ntawv, tom qab ntawd lub installation tau ua tiav yog tias nws tau ua tiav los ntawm localinstall.

update

Yog tias khiav tsis tas siv lub npe pob, hloov tshiab txhua cov pob khoom tam sim no ntsia ntawm lub system. Yog tias ib lossis ntau cov pob tau teev tseg, yum tsuas hloov kho cov pob khoom raug xaiv. Yum yuav ua kom ntseeg tau tias txhua txhua tus neeg tau txais kev txaus siab thaum lub sijhawm hloov tshiab.

hloov tshiab-rau

Cov lus txib no ua haujlwm zoo li "hloov tshiab", tab sis koj ib txwm hais qhia lub version ntawm pob uas koj xav hloov.

check - hloov tshiab

Nws tau siv los kom koj tuaj yeem paub yog tias koj lub tshuab tseem tab tom tos hloov tshiab yam tsis tau khiav hloov hloov tshiab sib tham. Nws kuj rov qab cov npe ntawm cov pob kom tau hloov kho hauv cov hom sau. Thaum khiav hauv verbose hom nws kuj qhia tawm dhau los ntawm pob khoom.

Txawj tej yam ntxiv

Nws yog tib yam li cov hloov tshiab cov lus txib nrog tus chij --obsoletes.

kev faib tawm - synchronization o distro - sync

Synchronize lub pob ntim ua ke nrog cov khoom siv tshiab kawg, qhov no ua tiav vim yog tsis nco qab, hloov kho lossis tawm tshiab, tsim nyog. Yog tias koj muab cov kev xaiv sib cav "tag nrho", nqe lus txib tseem yuav rov nruab cov pob khoom qhov twg qhov kev teeb tsa hauv kos thiab cov checksum muaj tsis sib xws. Thiab tshem tawm cov pob khoom qub (tuaj yeem siv los sync rpmdb). Kev xaiv sib cav "sib txawv" yuav siv tau los qhia lub sijhawm ua haujlwm. Qhov kev hais kom ua no yuav tsis ua haujlwm rau tej pawg, pob hauv zos, lossis xaiv yam tsis raug.

tshem tawm o tshem tawm

Lawv raug siv rau kev tshem tawm cov pob khoom uas tau teev tseg hauv lub kaw lus, nrog rau tshem tawm pob uas nyob ntawm seb pob tau raug tshem tawm.

Ceeb toom: koj tsis tuaj yeem huam yuaj yum los ntawm koj tus kheej.

daim ntawv teev

Nws yog siv los tso tawm ntau cov ntaub ntawv hais txog cov pob khoom muaj. Tag nrho cov kev xaiv ntawm cov lus txib no yog cov ncauj lus kom ntxaws hauv qab no:

  • yum daim ntawv teev [txhua | patron1] [patron2] […]

Qhia tag nrho cov pob khoom thiab ntsia.

  • yum daim ntawv muaj [tus neeg saib xyuas 1] […]

Qhia tag nrho cov pob khoom hauv yum chaw cia khoom kom muaj.

  • yum daim ntawv hloov tshiab [tus neeg saib xyuas 1] […]

Nws qhia tag nrho cov pob nrog hloov tshiab muaj nyob hauv yum cov chaw cia khoom.

  • yum sau nruab [tus neeg saib xyuas 1] […]

Sau cov pob khoom suav tias yog cov lus sib cav. Yog tias kev sib cav tsis sib haum nrog lub npe ntawm cov muaj pob, cov ntais ntawv raug luam tawm.

  • yum sau riam ntxiv [tus neeg saib xyuas 1] […]

Nws teev cov pob uas tau muab tso rau hauv qhov system uas tsis muaj nyob hauv txhua lub chaw cia yum thiab uas tshwm sim hauv cov ntawv teeb tsa.

  • yum sau obsoletes [tus neeg saib xyuas 1] […]

Nws teev cov pob uas tau muab tso rau hauv qhov system uas tau dhau los ua qhov kev tsis txaus siab nyob rau hauv txhua qhov chaw sau cia yum thiab uas tau tshwm sim hauv cov ntawv teeb tsa.

  • yum sau tsis ntev los no [tus neeg saib xyuas 1] […]

Sau cov pob khoom nyuam qhuav ntxiv rau lub chaw cia khoom. Qhov no feem ntau tsis muaj txiaj ntsig, tab sis yog tias koj xav tau nws koj tuaj yeem siv yog lub plugin yum sau-updateinfo raws li hauv qab no: "yum sau-updateinfo tshiab".

Ceeb toom: koj tuaj yeem hloov lub ntsuas «pattern1«,«pattern2', Thiab lwm yam., Nrog rau lub npe ntawm pob uas koj xav kuaj. Nco ntsoov tias cov kev xaiv nyob hauv [] yog xaiv tau.

Ntawm lub sijhawm thawj ntu ntawm no yog li kom tsis txhob txuas ntxiv ntau dhau;).

Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

16 lus, tawm koj li

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.

  1.   rogertux said

    Yus tua yus muaj kev nyab xeeb
    Nco tseg: koj tshem tawm tsis tau koj tus kheej.

  2.   azavenom said

    cov ntaub ntawv zoo heev, qee cov lus nug XD uas tseem tuaj yeem ntsia tau hauv ubuntu? thiab yog tias koj tuaj yeem siv cov debian repo hauv ubuntu?

    1.    Perseus said

      Koj tuaj yeem siv yum ua ib tus neeg saib xyuas lub pob raws li lwm txoj hauv kev apt-tau lossis aptitude, Kuv tsis paub meej tias koj tuaj yeem siv debian pob hauv Ubuntu thiab nws ua haujlwm kom raug, nws yuav yog qhov teebmeem tshuaj ntsuam :).

  3.   pob zebandroleo said

    Koj tau tsim kev tsis ntseeg nyob rau kuv lawm ... Yum on Debian! (thiab yog lawm, nws yog; Kuv txhim kho nws los ntawm kev khij lub chaw cia khoom). Puas yog qhov no txhais tau tias .rpm tej pob khoom tuaj yeem ntsia tau rau ntawm debian (Kuv puas yuav tsum ntxiv cov chaw cia khoom ntxiv?) Lossis tias kuv tuaj yeem coj kom zoo dua yum cov lus txib thiab GUI rau nruab .deb pob? Thov txim yog tias kuv hais tias atrocious, tab sis kuv xav tsis thoob los ntawm dab tsi kuv nyeem.
    Txais tos.

    1.    peb 92 said

      Nws yuav xav tias koj tuaj yeem nruab .deb pob khoom nrog yum, ib yam li hauv pclinux os cov rpm pob nrog synaptic thiab apt xD

    2.    kom said

      Saib ntawm nws los ntawm lub laj thawj kev xav, qhov ib txwm yuav yog nrog yum koj tuaj yeem nruab .deb pob, yog li hloov sau "apt-tau nruab firefox" koj sau "yum install firefox"

      1.    Juan Carlos said

        Thiab hais tias txoj kev nws yuav tsum yog, txij li lub chaw nruab khoom yog ib yam thiab pob ntawv yog lwm yam.

  4.   XYA HLI said

    Qhov tseeb yog kuv paub tias peb txhua tus siv cov txheej txheem ua haujlwm tab sis tsis muaj ib tus neeg muaj lub tswv yim me ntsis ntawm nws ua haujlwm.

    http://www.mylifeUnix.org

    1.    Perseus said

      Koj yog tus phooj ywg zoo heev, ntau ntawm peb xav tias peb paub ntau yam txog peb distro, tab sis thaum peb tshawb xyuas me ntsis nws hloov tawm tias qhov peb paub yog me me XD.

  5.   Juan Carlos said

    Thiab hais txog yum, koj puas paub tias Fedora folks twb tau qhia ncaj qha rau txhim kho ntawm 64-ntsis systems?

    1.    kom said

      Kuv tsis muaj lub tswv yim, txawm li cas los xij qhov zoo ntawm 64-ntsis tshuab yog ntau 🙂

    2.    Perseus said

      Yuav ua li cas hais txog bro, raws li koj taw tes, nws raug nquahu kom siv qhov 64-ntsis version, los ntawm qhov kuv tau nyeem, Fedora x86_64 siv cov pob rau 64 ntau li ntau tau thiab tsuas yog tias lawv tsis muaj, nws txuas lawv nrog lub 32. nws txias heev vim peb ib txwm yws txog qhov tsis zoo ntawm 32 thiab 64 ntsis tshuab.

      Cheers :).

  6.   Carlos Emilio: XNUMX Lab tus kiv cua tos koj rau Webtalk! said

    Lub YUM hauv Debian tsis ua rau kuv tsis txaus siab, txij li Fedora core siv apt-tau los ua tus thawj coj, Kuv txawm tsim version 7 lossis qee yam zoo li ntawd, zoo li kuv nyiam los ua ke cov tswj hwm pob kuv saib ntau yam txog lawv, thiab tsis ntev los no kuv tau screwed kuv fedora 17 rau tso Pacman (yog, tus thawj tswj hwm ArchLinux) thiab txhua yam ua haujlwm kom txog thaum kuv rov qhib dua XD

    1.    Perseus said

      Wow, pacman hauv Fedora *. *, Ua tsis zoo nws tsis ua haujlwm rau koj :(. Qhov koj hais txog hloov pob tswj hwm ntawm distros yog ib yam uas ntau ntawm peb tsis paub txog, yog vim li cas kuv thiaj li muaj lub tswv yim zoo rau taw tes tawm cov ntaub ntawv :).

      Tsaug rau qhov tawm tswv yim thiab rau kev tuaj xyuas, tos txais tos bro;).

  7.   Emiliano said

    Kuv tau siv Fedora x86_64 txog li ob xyoos.
    Kuv tsis muaj teeb meem dabtsi.
    Nws ua haujlwm ntau zoo dua li ntawm 32-ntsis version.
    Yum yog ib qho ntawm qhov zoo tshaj plaws los nruab.
    Kuv tau ntev txij li thaum tsis siv qhov "rpm" hais kom ua rau
    ua lub installation ntawm rub tawm pob thiab hais tias
    lawv tsis nyob hauv cov chaw cia khoom. Yog tias koj muab sib xyaw ua ke nrog «Yumex»,
    cov graphical interface, lawv yog cov cuab yeej muaj zog heev.
    Hauv qhov tseeb version ntawm Fedora no, "apper" ua haujlwm zoo heev,
    tsawg kawg li kuv tau sim, txhim kho pob khoom
    ua los ntawm Firefox, vim hais tias ib qho ntawm cov yeeb yam yog los nruab nws nrog
    apper ua.

    Ib tug commas,

    Emiliano
    Badajoz

    1.    pee said

      D: