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:
- Vula imenyu bese ugijima "Isikhumbuzo". Lokhu kungenziwa ngendlela ehlukile - chofoza nje kwideskithophu, chofoza ngakwesokudla bese ukhetha into edingekayo
- Ku-console evula, faka umyalo
indawo yendawo yokugcina i-sudo
bese ucindezela ukhiye Ngena. - Kuzodingeka ucacise iphasiwedi ye-akhawunti, ngoba isenzo senziwa nge-root-access. Uma ufaka izinhlamvu ngeke kuboniswe, udinga nje ukufaka ukhiye bese uchofoza Ngena.
- Amafayela amasha azokwengezwa noma isaziso sizovela ukuthi ingxenye isivele ihlanganisiwe kuyo yonke imithombo.
- Uma amafayela enziwe, buyekeza uhlelo ngokubeka umyalo
sudo apt-get update
. - 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.
- Uhlobo lwe-console
sudo apt-get ufake alien
. - Qinisekisa ukufaka ngokukhetha D.
- 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:
- Vula indawo yesitoreji sezinto ngokusebenzisa umphathi, chofoza ngakwesokudla kuso futhi ukhethe "Izakhiwo".
- Lapha uzothola ulwazi mayelana nefolda yomzali. Khumbula indlela, uzodinga esikhathini esizayo.
- Iya ku "Isikhumbuzo" bese ufaka umyalo
cd / ekhaya / umsebenzisi / ifolda
kuphi umsebenzisi - igama lomsebenzisi, futhi ifolda - igama lefolda yokugcina ifayela. Ngakho, usebenzisa umyalo cd ukushintshela kwirekhodi kuzokwenzeka futhi zonke izenzo ezengeziwe kuzokwenziwa kuwo. - Kusuka kufolda efanele, faka
sudo alien vivaldi.rpm
kuphi vivaldi.rpm - igama eliqondile lephakheji elifunayo. Qaphela ukuthi kuyadingeka ukwengeza .rpm ekupheleni. - 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.