Ukufaka izinhlelo ohlelweni olusebenza lwe-Ubuntu kwenziwa ngokuvumbulula okuqukethwe kusuka kumaphakeji e-DEB noma ngokulanda amafayela adingekayo kwizikhwama ezisemthethweni noma zomsebenzisi. Noma kunjalo, kwesinye isikhathi isoftware ayihanjiswa ngale ndlela futhi igcinwa ngefomethi ye-RPM kuphela. Okulandelayo, singathanda ukukhuluma ngendlela yokufaka imitapo yolwazi yalolu hlobo.
Faka amaphakheji we-RPM ku-Ubuntu
I-RPM yifomethi yephakheji yezinhlelo zokusebenza ezahlukahlukene ezenzelwe ukusebenza nge-openSUSE, ukusatshalaliswa kwe-Fedora. Ngokuzenzakalelayo, Ubuntu abunikeli amathuluzi wokufaka uhlelo lokusebenza olugcinwe kule phakethe, ngakho-ke kuzodingeka ukuthi wenze izinyathelo ezengeziwe ukuqeda inqubo ngempumelelo. Ngezansi sizohlaziya yonke inqubo ngesinyathelo ngesinyathelo, sichaze yonke into ngokulandelana.
Ngaphambi kokuqhubeka nemizamo yokufaka iphakheji ye-RPM, funda ngokucophelela isoftware ekhethiwe - kungenzeka ukuyithola kumsebenzisi noma ekubhokisini okusemthethweni. Ngaphezu kwalokho, ungavilaphi kakhulu ukuya kuwebhusayithi esemthethweni yabathuthukisi. Imvamisa kunezinguqulo ezimbalwa zokulanda, phakathi kwazo lapho ifomethi ye-DEB efanelekile Ubuntu ivame ukutholakala.
Uma yonke imizamo yokuthola eminye imitapo yolwazi noma eyokubhala ibingasebenzi, akukho okusasele okufanele kwenziwe kepha zama ukufaka i-RPM usebenzisa amathuluzi angeziwe.
Isinyathelo 1: Ngeza Isixhumi Somhlaba
Kwesinye isikhathi, ukufakwa kwezinsiza ezithile kudinga ukunwetshwa kwama-storages wesistimu. Enye yezimpawu ezinhle kakhulu yi-Universe, esekelwa ngumphakathi futhi ivuselelwa ngezikhathi ezithile. Ngakho-ke, kufanelekile ngokufaka imitapo yolwazi entsha ku-Ubuntu:
- Vula imenyu bese uqala "Isiginali". Ungakwenza lokhu ngenye indlela - chofoza nje kubuso bekhompiyutha yePCM bese ukhetha into oyifunayo.
- Kwikhonsoli evulayo, faka umyalo
umkhathi we-sudo-add-apt-repository
bese ucindezela ukhiye Ngena. - Uzodinga ukucacisa iphasiwedi ye-akhawunti, ngoba isenzo senziwa ngokufinyelela kwezimpande. Lapho ukufaka izinhlamvu kungakhonjiswa, udinga nje ukufaka ukhiye bese uqhafaza kuwo Ngena.
- Kuzofakwa amafayela amasha noma kuzovela isaziso esiveza ukuthi ingxenye isivele ifakiwe kuyo yonke imithombo.
- Uma ngabe amafayela afakiwe, buyekeza uhlelo ngokubhala umyalo
ukuvuselelwa kwesudo
. - Lindela isibuyekezo ukuthi siqede bese uqhubekela esigabeni esilandelayo.
Isinyathelo 2: Faka indawo yokusebenzisa Alien
Ukuqalisa umsebenzi namhlanje, sizosebenzisa into elula ebizwa ngokuthi yi-Alien. Ikuvumela ukuba uguqule amaphakheji we-RPM abe yi-DEB ukuze ufake okunye ku-Ubuntu. Inqubo yokwengeza insiza ayibangeli bunzima obukhethekile futhi yenziwa ngumyalo owodwa.
- Kwikhonsoli, thayipha
sudo apt-get ukufaka umfokazi
. - Qinisekisa ukwengeza ngokukhetha D.
- Lindela ukuqedela ukulanda nokungeza imitapo yolwazi.
Isinyathelo 3: Guqula i-RPM Package
Manje iya ngqo ekuguqukeni. Ukuze wenze lokhu, kufanele usuvele unayo i-software edingekayo egcinwe kwikhompyuter yakho noma kwimidiya exhunyiwe. Ngemuva kokuqeda zonke izilungiselelo, kusele ukwenza izinto ezimbalwa kuphela:
- Vula indawo yokugcina yento ngokusebenzisa umphathi, chofoza kuyo nge-RMB bese ukhetha "Izindawo".
- Lapha uzothola imininingwane mayelana nefolda yomzali. Khumbula indlela, uzowudinga ngokuzayo.
- Iya ku "Isiginali" bese ufaka umyalo
cd / ikhaya / umsebenzisi / ifolda
kuphi umsebenzisi - igama lomsebenzisi, futhi ifolda - Igama lefolda lokulondolozwa kwefayela. Ngakho-ke usebenzisa umyalo cd kuzoba nokushintshwa kohla lwemibhalo futhi zonke izenzo ezengeziwe zizokwenziwa kuwo. - Kwifolda oyifunayo, faka
sudo alien vivaldi.rpm
kuphi vivaldi.rpm - Igama eliqondile lephakeji olifunayo. Uyacelwa ukuthi uqaphele ukuthi .rpm iyimpoqo ekugcineni. - Faka iphasiwedi futhi bese ulinda kuze kube yilapho ukuguqulwa kuqediwe.
Isinyathelo 4: Ukufaka Iphakheji ye-DEB Kudaliwe
Ngemuva kwenqubo yokuguqula ephumelelayo, ungaya kufolda lapho iphakheji ye-RPM laligcinwe khona ekuqaleni, ngoba ukuguqulwa kwenziwa kulo mkhombandlela. Iphakheji enegama elifanayo kodwa ifomethi ye-DEB izogcinwa lapho. Iyatholakala ukufakwa ngethuluzi elijwayelekile elakhelwe ngaphakathi noma enye indlela elula. Funda imiyalo enemininingwane ngalesi sihloko ezintweni zethu ezingezansi ezingezansi.
Funda kabanzi: Ukufaka amaphakheji e-DEB ku-Ubuntu
Njengoba ukwazi ukubona, amafayili ebhethri le-RPM asafakwa ku-Ubuntu, noma kunjalo, kufanele kwaziwe ukuthi amanye awo awahambelani nalesi simiso sokusebenza nhlobo, ngakho-ke iphutha lizovela esigabeni sokuguqulwa. Uma kwenzeka lesi simo, kunconywa ukuthola iphakheji le-RPM lesakhiwo esithile noma zama ukuthola uhlobo olwesekelwe olwenzelwe Ubuntu ngqo.