Izindlela ezivunyelwe zokubuyisela ukushayela kwe-SanDisk flash

Ukufaka izinhlelo ohlelweni lokusebenza lwe-Ubuntu kwenziwa ngokukhipha okuqukethwe kwephakheji ye-DEB noma ngokulanda amafayela adingekayo kusuka kubhaliso olusemthethweni noma lomsebenzisi. Kodwa-ke, ngezinye izikhathi isofthiwe ayinikezwa kuleli fomu futhi ligcinwa kuphela kwifomethi ye-RPM. Okulandelayo, singathanda ukukhuluma ngendlela yokufaka amareyibrari alolu hlobo.

Faka amaphakheji we-RPM ku-Ubuntu

I-RPM - ifomethi yamaphakheji wezinhlelo zokusebenza ezihlukahlukene, eqinisiwe ukusebenza nomsebenzi wokuvulekaSUSE, Fedora. Ngokuzenzakalelayo, Ubuntu akanawo izindlela zokufaka isicelo esilondolozwe kule phakheji, ngakho-ke kufanele wenze izinyathelo ezengeziwe ukuqedela inqubo ngempumelelo. Ngezansi sizohlaziya yonke inqubo ngesinyathelo ngesinyathelo, sinike imininingwane mayelana nakho konke.

Ngaphambi kokuqhubeka nokuzama ukufaka iphakheji ye-RPM, funda ngokucophelela isofthiwe ekhethiwe - kungenzeka ukuthi uyithole kumsebenzisi noma egcinwe ngokusemthethweni. Ngaphezu kwalokho, ungabi nobuvila ukuya kuwebhusayithi esemthethweni yabathuthukisi. Ngokuvamile kukhona izinguqulo eziningana zokulanda, phakathi kwazo okuvame ukutholakala futhi ezifanelekile ku-Ubuntu format DEB.

Uma yonke imizamo yokuthola amanye amareyibhrari noma amareferensi ayilutho, akukho lutho olwenzelwe ukukwenza kodwa zama ukufaka i-RPM usebenzisa amathuluzi engeziwe.

Isinyathelo 1: Ukwengeza iRepository Universe

Ngezinye izikhathi, ukufakwa kwezinsiza ezithile kudinga ukwandiswa kwesitoreji sesistimu. Enye yezindawo zokugcina eziphezulu kakhulu i-Universe, exhaswa ngokusekelwe ngumphakathi futhi ivuselelwe ngezikhathi ezithile. Ngakho-ke, kufanelekile ukuqala ngokufaka amashabhulali amasha ku-Ubuntu:

  1. Vula imenyu bese ugijima "Isikhumbuzo". Lokhu kungenziwa ngendlela ehlukile - chofoza nje kwideskithophu, chofoza ngakwesokudla bese ukhetha into edingekayo
  2. Ku-console evula, faka umyaloindawo yendawo yokugcina i-sudobese ucindezela ukhiye Ngena.
  3. Kuzodingeka ucacise iphasiwedi ye-akhawunti, ngoba isenzo senziwa nge-root-access. Uma ufaka izinhlamvu ngeke kuboniswe, udinga nje ukufaka ukhiye bese uchofoza Ngena.
  4. Amafayela amasha azokwengezwa noma isaziso sizovela ukuthi ingxenye isivele ihlanganisiwe kuyo yonke imithombo.
  5. Uma amafayela enziwe, buyekeza uhlelo ngokubeka umyalosudo apt-get update.
  6. Lindela ukuthi isibuyekezo siqedele futhi siqhubeke nesinyathelo esilandelayo.

Isinyathelo sesi-2: Faka uhlelo olusebenzayo lwe-Alien

Ukufeza umsebenzi okhethiwe namhlanje, sizosebenzisa Umbuso olula okuthiwa u-Alien. Ikuvumela ukuba uguqule amaphakheji kwifomathi ye-RPM ku-DEB yokufaka okunye ku-Ubuntu. Inqubo yokwengeza isevisi ayibangeli ubunzima obukhethekile futhi yenziwa ngomyalo owodwa.

  1. Uhlobo lwe-consolesudo apt-get ufake alien.
  2. Qinisekisa ukufaka ngokukhetha D.
  3. Linda ukulanda ukuqedela bese wengeza amalabhulali.

Isinyathelo sesi-3: Guqula iPhakheji ye-RPM

Manje hamba ngqo ekuguqulweni. Ukuze wenze lokhu, isofthiwe edingekayo kufanele ivele igcinwe kwikhompyutha yakho noma imidiya exhunyiwe. Ngemuva kokuthi zonke izilungiselelo seziqediwe, kunezenzo ezimbalwa ezisele:

  1. Vula indawo yesitoreji sezinto ngokusebenzisa umphathi, chofoza ngakwesokudla kuso futhi ukhethe "Izakhiwo".
  2. Lapha uzothola ulwazi mayelana nefolda yomzali. Khumbula indlela, uzodinga esikhathini esizayo.
  3. Iya ku "Isikhumbuzo" bese ufaka umyalocd / ekhaya / umsebenzisi / ifoldakuphi umsebenzisi - igama lomsebenzisi, futhi ifolda - igama lefolda yokugcina ifayela. Ngakho, usebenzisa umyalo cd ukushintshela kwirekhodi kuzokwenzeka futhi zonke izenzo ezengeziwe kuzokwenziwa kuwo.
  4. Kusuka kufolda efanele, fakasudo alien vivaldi.rpmkuphi vivaldi.rpm - igama eliqondile lephakheji elifunayo. Qaphela ukuthi kuyadingeka ukwengeza .rpm ekupheleni.
  5. Faka iphasiwedi futhi bese ulinda kuze kuguqulwe ukuguqulwa.

Isinyathelo 4: Ukufaka iphakethe leDB elidaliwe

Ngemuva kwenqubo yokuguqulwa yimpumelelo, ungaya kwifolda lapho iphakheji le-RPM lagcinwa khona ekuqaleni, ngoba ukuguqulwa kwenziwe kule ncwadi. Kuzobe sekugcinwe iphakheji ngegama elifanayo elifanayo, kodwa ifomethi ye-DEB. Itholakala ukufakwa ngethuluzi elijwayelekile elakhelwe ngaphakathi noma noma iyiphi enye indlela elula. Imiyalo eningiliziwe yalesi sihloko ingatholakala kumininingwane yethu ehlukile ngezansi.

Funda kabanzi: Ukufaka amaphakheji we-DEB ku-Ubuntu

Njengoba ubona, amafayela we-RPM ama-batch asesifakwe ku-Ubuntu, noma kunjalo, kufanele kuqashelwe ukuthi ezinye zazo azihambisani nalesi simiso sokusebenza nhlobo, ngakho-ke iphutha lizovela esigabeni sokuguqulwa. Uma kwenzeka isimo esinjalo, kunconywa ukuthola iphakheji ye-RPM yesakhiwo esihlukile noma uzama ukuthola inguqulo esekelwe eyakhiwe ngqo ku-Ubuntu.