Ukufaka Amafayili we-TAR.GZ ku-Ubuntu

Pin
Send
Share
Send

I-TAR.GZ uhlobo olujwayelekile lokugcina umlando olusetshenziswa ohlelweni olusebenza lwe-Ubuntu. Imvamisa igcina izinhlelo zokufaka, noma amakhosombe ahlukahlukene. Ukufaka isoftware yalokhu ukunwetshwa akulula kangako, kudinga ukungavulwa futhi kuhlanganiswe. Namuhla singathanda ukuxoxa kabanzi ngalesi sihloko, sikhombisa wonke amaqembu nezinyathelo ngesinyathelo esichazayo isenzo ngasinye esidingekayo.

Faka kungobo yomlando ye-TAR.GZ ku-Ubuntu

Akukho lutho oluyinkimbinkimbi kwinqubo yokuvula kanye nokulungiselela isoftware, konke kwenziwa ngokusebenzisa okujwayelekile "Isiginali" ngokulayisha ngaphambili izingxenye ezengeziwe. Into esemqoka ukukhetha umlando wokusebenza ukuze kuthi emva kokuvula unzipping kungabi nazinkinga ngokufakwa. Kodwa-ke, ngaphambi kokuqala imiyalo, sifuna ukuqaphela ukuthi kufanele utadishe ngokucophelela iwebhusayithi esemthethweni yonjiniyela bohlelo ukuze kube khona amaphakheji we-DEB noma ama-RPM noma amakhosombe asemthethweni.

Ukufakwa kwemininingwane enjalo kungenziwa lula kakhulu. Funda kabanzi mayelana nokuhlaziywa kokufaka amaphakheji we-RPM kwesinye isihloko sethu, kepha sizodlulela esinyathelweni sokuqala.

Funda futhi: Ukufaka amaphakheji we-RPM ku-Ubuntu

Isinyathelo 1: Ukufaka Amathuluzi angeziwe

Ukuze ufeze lo msebenzi, uzodinga usizo olulodwa kuphela, okumele lulandwe ngaphambi kokuqala ukusebenzisana nesigcini sempilo. Kuliqiniso, Ubuntu sebevele benesihlanganisi esakhelwe ngaphakathi, kepha ukuba nomsebenzi wokuqamba nokwakha amaphakheji kuzokuvumela ukuthi uphinde ungene lapho kugcinwa khona into ehlukile esekelwa ngumphathi wefayela. Ngenxa yalokhu, ungadlulisa iphakheji ye-DEB kwabanye abasebenzisi noma ususe uhlelo kwikhompyutha ngokuphelele ngaphandle kokushiya amafayela angenasidingo.

  1. Vula imenyu bese uqala "Isiginali".
  2. Faka umyalosudo apt-get ufake checkinstall ukwakha-kubalulekile okuzenzakalelayo okuzenzakalelayoukufaka izinto ezidingekayo.
  3. Ukuqinisekisa ukwengeza, uzodinga ukufaka iphasiwedi esuka kwi-akhawunti enkulu.
  4. Khetha inketho Dukuqala umsebenzi wokulayisha ifayela.
  5. Lindela ukuthi inqubo iqede, bese kuvela umugqa wokufaka.

Inqubo yokufaka yohlelo olwengeziwe ihlala iphumelela, ngakho-ke akumele kube nezinkinga ngalesi sinyathelo. Siqhubekela phambili kwesinye isenzo.

Isinyathelo 2: Ukhipha umlando ngohlelo

Manje udinga ukuxhuma i-drive nesigcini se-agcinwe lapho noma ulayishe into ungene kwelinye lamafolda ekhompyutheni. Ngemuva kwalokho, qhubeka nemiyalo elandelayo:

  1. Vula imenenja yefayela bese uya kufolda yokulondolozwa kwengobo yomlando.
  2. Qhafaza kwesokudla kuso bese ukhetha "Izindawo".
  3. Thola indlela eya ku-TAR.GZ - izokusebenziseka kahle ekusebenzeni kukhonsoli.
  4. Gijima "Isiginali" futhi uye kule folda yesigcini se-Archive usebenzisa umyalocd / ikhaya / umsebenzisi / ifoldakuphi umsebenzisi - igama lomsebenzisi, futhi ifolda - Igama lesiqondisi.
  5. Khipha amafayela kusiqondisi ngokuthayipha i-tar-xvf falkon.tar.gzkuphi falkon.tar.gz - Igama le-Archive. Qiniseka ukuthi ungafaki igama kuphela, kodwa futhi.tar.gz.
  6. Uzokwethulwa nohlu lwayo yonke idatha okwazile ukuyikhipha. Bazosindiswa kufolda entsha ehlukaniswe nendlela efanayo.

Kuhlala kuphela ukuqoqa wonke amafayela atholakele kwiphakeji elilodwa le-DEB ukuze kufakwe okunye okuvamile kwesoftware kwikhompyutha.

Isinyathelo 3: Ukuhlanganisa Iphakheji ye-DEB

Esinyathelweni sesibili, ukhiphe amafayela endaweni yokugcina yomlando uwafake enkombeni ejwayelekile, noma kunjalo lokhu ngeke kuqinisekise ukusebenza okujwayelekile kohlelo. Kufanele ihlanganiswe, inikeze ukubukeka okunengqondo futhi yenze ukufakwa okufunayo. Ukuze wenze lokhu, sebenzisa imiyalo ejwayelekile ku- "Isiginali".

  1. Ngemuva kwenqubo yokuvula ukuvula, ungavali ikhonsoli bese uya ngqo kufolda eyakhiwe ngomyalocd falkonkuphi falkon - Igama lohla lwemibhalo oludingekayo.
  2. Imvamisa kunemibhalo esetshenzisiwe yokuhlanganisa, ngakho-ke sincoma ukuthi uhlole umyalo kuqala./bootstrap, futhi uma ngabe ukungasebenzi kwayo kungabandakanyeka./autogen.sh.
  3. Uma womabili amaqembu esebenzisana nokungasebenzi, udinga ukuzengeza iskripthi esidingekayo ngokwakho. Faka imiyalo elandelayo kukhonsoli:

    i-aclocal
    autoheader
    automake --gnu --add-ulahlekile - isigcino - i-foreign
    autoconf -f -Wall

    Uma ungeza amaphakheji amasha, kungavela ukuthi uhlelo alunayo imitapo yolwazi ethile. Uzobona isaziso ku "Isiginali". Ungafaka umtapo wezincwadi olahlekile ngomyalofaka i-sudo aptkuphi namelib - Igama lencenye edingekayo.

  4. Ekupheleni kwesinyathelo esedlule, qhubeka uhlanganise ngokuthayipha umyaloyenza. Isikhathi sokwakha sincike enanini lemininingwane kwifolda, ngakho-ke ungavali ikhonsoli bese ulinda isaziso mayelana nokuhlanganiswa okuphumelelayo.
  5. Bhala ekugcinenihlola.

Isinyathelo 4: Faka iphakheji eqediwe

Njengoba sishilo phambilini, indlela esetshenzisiwe isetshenziselwa ukudala iphakethe le-DEB kusuka kungobo yomlando yokuqhubeka kokufakwa kohlelo nganoma yiziphi izindlela ezilula. Uzothola iphakheji ngokwayo kwisikhombi esifanayo lapho i-TAR.GZ igcinwa khona, futhi nezindlela zokuyifaka, bona i-athikili yethu ehlukile kusixhumanisi esingezansi.

Funda kabanzi: Ukufaka amaphakheji e-DEB ku-Ubuntu

Lapho uzama ukufaka ezingobo zomlando kubuyekezwe, kubalulekile futhi ukuthi ubhekele ukuthi ezinye zazo zaqoqwa kusetshenziswa izindlela ezithile. Uma inqubo engenhla ingasebenzi, bheka kufolda ye-TAR.GZ engasasebenzi uqobo bese uthola ifayela lapho Readme noma Fakaukubuka izincazelo zokufakwa.

Pin
Send
Share
Send