Sei KuFedora: Zvese zvawaida kuziva nezveYUM uye hauna kumbobvunza kubvunza (Chikamu I)

YUM (Yero imbwa Kugadziridza, Yakagadziridzwa): Iwo wekuraira mutsara software maneja (CLI) kugadzirisa, kuisa, uye kusunungura mapakeji ne otomatiki resolution resolution. Izvo zvakanyorwa mu Python, iyo inobvumidza ayo mashandiro kuti awedzerwe kuburikidza nemapulagini. Yum inowanikwawo paDebian.

Yum inopa yakachengetedzwa pasuru manejimendi sezvo inotsigira siginecha sisitimu yekusimbisa GPG (GNU Yakavanzika Guard, inozivikanwawo seGnuPG). Kana kusayina kwesainwa kuchigoneswa, Yum icharamba kuisa chero mapakeji asina kusainwa nekiyi GPG kiyi yeiyo repository. Izvi zvinoreva kuti iwe unogona kuvimba iwo mapakeji RPM iyo iwe yaunotora uye nekuisa pane yako system zvinobva kune yakavimbika sosi uye hazvina kuchinjwa panguva yekuchinjisa.

Mune izvi How To (yakakamurwa kuita zvikamu zvinoverengeka) tichaona maitiro ekushandisa zvakanakisa izvi zvine simba uye zvinoshanduka maneja software izvo, mumaonero angu, ndeimwe yeakanakisa aripo mukuwedzera kune Pacman (Archlinux);). Tichaona zvingangoita zvese zvayinazvo, ma plugins uye maitiro ekuigadzirisa zvinoenderana nezvatinoda isu: D.

Kuti ushandise chero sarudzo dzinoratidzwa pazasi zvinongodiwa chete kuwana se mudzi kana kushandisa sudo uye nyora:

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

Muenzaniso:

yum -y install clementine

Cherechedza: Iyo parameter iri pakati pe [] ndeyokusarudza, iyo paramende iri pakati pe {} inoenderana nemirairo ichashandiswa.

Chinyorwa chemirairo yum chine:

  • gadza package1 [package2] […]
  • gadziridza [package1] [package2] […]
  • gadziridza-ku [package1] [package2] […]
  • tarisa - kugadzirisa
  • simudzira [package1] [package2] […]
  • kukwidziridza-ku [package1] [package2] […]
  • kugovera-kuwiriranisa [package1] [package2] […]
  • bvisa | bvisa package1 [package2] […]
  • chinyorwa […]
  • ruzivo […]
  • inopa | chii chinopa chimiro1 [chimiro2] […]
  • yakachena [mapakeji | metadata | expire-cache | rpmdb | plugins | zvese]
  • kugadzira cache
  • mapoka […]
  • tsvaga tambo1 [tambo2] […]
  • goko [filename]
  • resolutionep dep1 [dep2] […]
  • (inochengeterwa zvikonzero zvegwara chete - shandisa repoquery kana yum inopa)
  • localinstall rpmfile1 [rpmfile2] […]
  • (inochengetwa nekuda kwezvikonzero zvegwara chete - shandisa kuisa
  • localupdate rpmfile1 [rpmfile2] […]
  • (inochengeterwa zvikonzero zvegwara chete - shandisa gadziriso)
  • dzorerazve package1 [package2] […]
  • downgrade package1 [package2] […]
  • bvisa package1 [package2] […]
  • mudzori [zvese | dzakagonesa | dzakaremara]
  • shanduro [zvese | yakaiswa | inowanikwa | group- | mapoka | rondedzero | groupinfo]
  • Nhoroondo
  • mutoro-mutengano [txfile]
  • cheki
  • batsira [raira]

Descripcion yemirairo

install

Iyo inoshandiswa kuisa yazvino vhezheni yepakeji kana boka remapakeji uchinge uchiona kuti zvese zvinotsamira zvave kugutsikana. Kana pasina pasuru inowirirana yakapihwa zita repakeji, saka machisa akaiswa. Kana zita racho rikatanga ne "@" hunhu, iro rese zita rinoshandiswa sekunge iro rekumisikidzwa kweboka rakaitwa. Kana zita racho rikatanga ne "-" hunhu saka kutsvaga kunoitwa mukati mekutengesa uye chero mitezo inobviswa. Kana zita iri faira, iko kumisikidza kunoitwa sekunge kwaitwa kuburikidza neininstall.

update

Kana uchimhanya usingashandise zita repakeji, gadziridza inogadziridza ese mapakeji akaiswa parizvino pachirongwa. Kana imwe kana akawanda mapakeji akatsanangurwa, yum inongogadziridza iwo mapakeji akasarudzwa. Yum ichave nechokwadi chekuti kutsamira kwese kwave kugutswa panguva yekuvandudza.

kugadzirisa-ku

Uyu murairo unoshanda se "kugadzirisa", asi iwe unogara uchitsanangudza vhezheni yepakeji iwe yaunoda kugadzirisa.

tarisa - kugadzirisa

Yakagadziriswa kuitira kuti iwe ugone kuziva kana muchina wako uchakamirira kuvandudzwa pasina kumhanyisa yekuvandudza mukati. Iyo zvakare inodzorera runyorwa rwe mapakeji kuti avandudzwe mune rondedzero fomati. Kana ichimhanya mu verbose modhi inoratidzawo mapakeji asisina basa.

Upgrade

Izvo zvakafanana neye yekuvandudza rairo nemureza --obsoletes.

kugovera - kuwiriranisa o distro - sync

Gadziridza iyo yakaiswa package pamwe chete nezvazvino zviripo mapakeji, izvi zvinoitwa kungave nekuda kweyekare, kuvandudza kana yechinyakare, sezvakakodzera. Kana iwe ukaipa iyo yakasarudzika "izere" nharo, iwo murairo zvakare uchaisazve mapakeji uko iyo yekumisikidza checksum uye iripo checksum haifanane. Uye bvisa mapakeji ekare (anogona kushandiswa kuenzanisa rpmdb shanduro). Nhaurwa yekusarudzika "dzakasiyana" inogona kushandiswa kudoma default oparesheni. Uyu murairo hauzoite mashandiro pamapoka, epakeji mapakeji, kana kusarudzika kusarudzika

Bvisa o bvisa

Ivo anoshandiswa kubvisa zvakatarwa mapakeji kubva muchirongwa, pamwe nekubvisa mapakeji anoenderana nepakeji iri kubviswa.

Cherechedza: haukwanise kubvisa yum netsaona.

Pamazita

Iyo inoshandiswa kuratidza ruzivo rwakasiyana siyana nezve mapakeji aripo. Iyo yakazara seti yesarudzo yemurairo uyu inotsanangurwa pazasi:

  • yum runyorwa [zvese | mutidzi1] [mutariri2] […]

Inoratidza ese aripo uye akaiswa mapakeji.

  • yum rondedzero inowanikwa [mutariri1] […]

Ratidza mapakeji ese muyum repositories anowanikwa kuti aiswe.

  • yum zvinyorwa zvinyorwa [mutariri1] […]

Iyo inoratidza ese mapakeji ane zvinyorwa zviripo mune yum repositories.

  • yum runyorwa rwakaiswa [mutariri1] […]

Nyora mapakeji anoonekwa sekupokana. Kana nharo isingaenderane nezita repakeji iripo, machisa anodhindwa.

  • yum zvinyorwa zvinowedzera [mutariri1] […]

Iyo inonyora mapakeji akaiswa pane system iyo isingawanikwe mune chero yum repository uye iyo inowanikwa mune yekugadziriswa faira.

  • yum runyorwa obsoletes [mutariri1] […]

Iyo inonyora mapakeji akaiswa pane ino sisitimu ayo asisashande mune chero yum repository uye ayo anoonekwa mune yekugadziriswa faira.

  • yum runyorwa munguva pfupi yapfuura [mutariri1] […]

Nyora mapakeji achangobva kuwedzerwa kuzvitoro. Izvi hazviwanzo kubatsira, asi kana uchinyatsoda iwe unogona kushandisa ndiyo plugin yum runyorwa-kuvandudzainfo zvinotevera: "yum list-updateinfo new".

Cherechedza: unogona kutsiva paramende «pateni1«,«pateni2', Etc., ine zita repakeji iwe yaunoda kutarisa. Rangarira kuti sarudzo dzinoratidzwa pakati [] ndedzekusarudza.

Parizvino chikamu chekutanga chiri pano kuti chisazowedzera zvakanyanya;).

Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Makomendi gumi, siya zvako

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira iyo data: Miguel Ángel Gatón
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako

  1.   rogertux akadaro

    Kuzviuraya kwakachengeteka
    Ongorora: Iwe haugone netsaona kubvisa yum wega.

  2.   azavenom akadaro

    yakanaka kwazvo info, mimwe mibvunzo XD iyo inogona zvakare kuiswa mu ubuntu? uye kana iwe uchigona kushandisa iyo debian repo mu ubuntu?

    1.    naPerseus akadaro

      Unogona kushandisa yum semaneja wepakeji senge imwe nzira yekuwana kana kugona, ini handina chokwadi kana iwe ukakwanisa kushandisa iyo debian package muUbuntu uye inoshanda nemazvo, ingave iri nyaya yekuyedza :).

  3.   rock and roll akadaro

    Iwe wagadzira kusavapo kusahadzika kwandiri ... Yum pane Debian! (uye hongu, ndizvo; Ini ndakazvitsigira nekutarisa zvakachengetwa). Izvi zvinoreva here kuti .rpm mapakeji anogona kuiswa pane debian (ndinofanira here kuwedzera zvinyorwa zvakare?) Kana kuti ini ndinogona kutora mukana wemirairo yum uye GUI yekuisa .deb mapakeji? Ndine urombo kana ndiri kutaura zvine hutsinye, asi zvandakaverenga zvinondishamisa.
    Thanks.

    1.    pandev92 akadaro

      Zvingafungidzirwe kuti iwe unogona kuisa iyo .deb mapakeji ne yum, senge mu pclinux os iyo rpm mapakeji ne synaptic uye apt xD

    2.    fanira akadaro

      Tichitarisa kubva pakuona zvine musoro, chinhu chinowanzoitika ndechekuti neyum unogona kuisa .deb mapakeji, saka pachinzvimbo chekunyora "apt-tora kuisa firefox" unonyora "yum gadza firefox"

      1.    Juan Carlos akadaro

        Uye ndiyo nzira yazvinofanira kuva, sezvo mugadziri chinhu chimwe uye pasuru yacho iri imwe.

  4.   JULY akadaro

    Chokwadi ndechekuti ndinoona kuti tese tinoshandisa sisitimu yekushandisa asi hapana mumwe wedu ane kana nepfungwa diki yekuti inoshanda sei.

    http://www.mylifeUnix.org

    1.    naPerseus akadaro

      Iwe uri pachokwadi shamwari, vazhinji vedu tinofunga isu tinoziva zvinhu zvakawanda nezve yedu distro, asi kana isu tichiongorora zvishoma zvinoitika kuti izvo zvatinoziva zvidiki XD.

  5.   Juan Carlos akadaro

    Uye uchitaura nezve yum, wakaziva here kuti ivo Fedora vanhu vatove nekuraira zvakananga kuisa pane makumi matanhatu neshanu masisitimu?

    1.    fanira akadaro

      Ini ndanga ndisina zano, zvakadaro zvakanakira e64-bit masisitimu akawanda 🙂

    2.    naPerseus akadaro

      Zvakadii hama, sekutaura kwako, zvinokurudzirwa kwazvo kushandisa iyo 64-bit vhezheni, kubva pane zvandakaverenga, Fedora x86_64 inoshandisa mapakeji makumi matanhatu neshanu sezvazvinogona uye chete kana asipo, anovasanganisa ne izvo zve 64. Izvi zvinotonhorera sezvo isu tichigara tichinyunyuta nezve kusanzwanana kusanzwisisika pakati pe32 ne32 zvidimbu masisitimu.

      Mufaro :).

  6.   Charles Emilio akadaro

    YUM iri muDebian haina kundishamisa, sezvo Fedora musimboti yakashandisa apt-tora semaneja, ini ndakatogadzira vhezheni yechinomwe kana chimwe chinhu chakadai, sezvo ini ndichifarira kusanganisa mamaneja emapakeji ini ndinotarisa zvakawanda nezvavo, uye nguva pfupi yadarika ndakakwenya yangu fedora 7 yekuisa Pacman (hongu, iyo ArchLinux maneja) uye zvese zvakashanda kudzamara ndatanga zvakare XD

    1.    naPerseus akadaro

      Wow, pacman muFedora *. *, Zvakaipa hazvina kukushandira: nongedzera iyo data :).

      Ndatenda nekutaura uye nekushanya, kwaziso hama;).

  7.   Emiliano akadaro

    Ndanga ndichishandisa Fedora x86_64 kweanenge makore maviri.
    Handina kumbove nedambudziko.
    Inoshanda zvirinani kupfuura iyo 32-bit vhezheni.
    Yum ndeimwe yeakanakisa mapurogiramu ekuisa.
    Ndave nenguva ndarega kushandisa iyo "rpm" yekuraira ku
    ita kumisikidzwa kwemapakeji akarodha pasi uye izvo
    haisi mumidziyo. Kana iwe ukazvibatanidza ne «Yumex»,
    iyo graphical interface, zvishandiso zvine simba kwazvo.
    Mune ino vhezheni vhezheni yeFedora, "apper" inoshanda mushe,
    zvirinani kusvika pandakaedza, kuisa mapakeji
    zvaitwa kubva kuFirefox, nekuti imwe yezviito kuiisa nayo
    appar.

    Best regards,

    Emiliano
    Badajoz

    1.    pee akadaro

      D:

bool (chokwadi)