Indawo yokugcina yendawo yaseChakra Linux (Kusebenza kuma-distros asebenzisa i-pacman)

Isingeniso

Sawubona, nakhu okunye okuthunyelwe, uma ufuna "okufana" nalokho engangikwenzela phambilini I-Archlinux, kulokhu sizokwenza into efanayo, ngomehluko wokuthi yize ngikwenza ngaphansi I-Chakra Linux, Kusebenza kuwo wonke ama-distros lokho sebenzisa i-pacman njengomphathi wephakheji

Izidingo

  • Amaphakheji okufanele ahlanganiswe, imvamisa kungamaqembu agcina ngo- ukukhulisa (ngoba Arch kungaba yi-base-devel)

Ukwakha isakhiwo sokugcina

Ngalokhu kuyadingeka ukudala (uku-odwa) amafolda ama-2 ngaphakathi kwendawo yethu yokugcina, kimi ngizokwakha i-repo yami yezimg ku: /home/x11tete11x/.repo/x11tete11x namafolda azoqukethwa azoba: bsakha y pkgs-x86_64

Ukungeza inqolobane yethu ku-Pacman

Sihlela ifayela /etc/pacman.conf futhi sengeza i-repo yethu ngolwazi olulandelayo:

[I-RepoName] SigLevel = Iseva =

Isibonelo sendlela engiyilungiselele ngayo i-repo yami:

[x11tete11x] SigLevel = Okokuzithandela TrustAll Server = file: ///home/x11tete11x/.repo/x11tete11x/pkgs-x86_64

Indlela Yezandla

Ukwakha i-DB yokugcina

Lapha sisebenzisa imiyalo repo-engeza ukukhiqiza i-database yokugcina

repo-add / path / to / repo / Depkgs ifolda / /path/to/repo/Depkgsfolder/*.pkg.tar.xz
Kufanele usuvele unephakeji ngaphakathi kwefolda ye-pkgs, ngoba uma kungenjalo i-repo-add ngeke ikwazi ukudala iDB

Kuhlanganiswa amaphakheji

Lapha ngaphezu kwezinyathelo, nginentshisekelo yokunikeza "imihlahlandlela" noma iseluleko esithe xaxa, izinyathelo yilezi:

  • Landa noma hlanganisa i-PKGBUILD yephakeji oyifunayo kufolda bsakha, bese ufaka okufanayo
  • Yenza i-PKGBUILD ivumelane namagama wokuncika kwe-distro yakho
  • Gijima ukwakheka
  • Kopisha kanambambili kufolda ama-pkgs
  • Vuselela i-DB nge repo-engeza
  • Vuselela amakhosombe we-pacman nge pacman -Sy

Ukucatshangelwa lapho kuhlanganiswa

Ngaphambi kokuqala ukuhlanganisa kwizithutha nokuhlanya hlola ukuthi unakho konke ukuncika kokugcina kwakho izikhulu, ngoba uma siqala phinda amaphakheji ezinqolobaneni zethu nakuhlelo, singakwazi ukukhiqiza ukungahambelani, ngokwesibonelo.

Kamuva ngizohambisana nalokhu okuthunyelwe, ngesifundo sevidiyo esibonisa konke okuvezwe lapha, ikakhulukazi ku Chakra yiphakheji «toluapp"futhi phakathi Arch ibizwa ngegama "tolua ++»Ngakho-ke uma sifuna ukwenza iphakheji ku Chakra (okuyisibonelo esivela nayo Arch) enokuxhomekeka tolua ++, CHA kufanele sihlanganise tolua ++ simane siguqule i- PKGBUILD, ukuze ukuncika okufanayo kwenzeka toluapp.

Lokho kufanele kube ukucatshangelwa okukhulu ukucabanga ngakho-ke, kuyindaba yangaphambi kwanoma ikuphi ukwenzeka, ukuhamba kancane ukuguqula i-PKGBUILD ukuze ihlanganise (esibonelweni engisikhombisa kwividiyo, kukhona yonke le mibuzo, ngisho iphutha lokuhlanganiswa, elilungisiwe kamuva)

Naka ukucatshangelwa lapho uhlanganisa, ngoba njengoba kuchaziwe, ngale ndlela amaphakheji amahle akhiqizwa ngokuya nge-distro

Indlela ezenzakalelayo

Indlela "ezenzakalelayo" iqukethe iskripthi esilula, engisenzile ukwenza umsebenzi wokuhlanganisa nokwengeza amaphakheji endaweni yokugcina izinto (ayicishe iphelele njenge i-repo yendawo de Arch kepha ifeza inhloso yayo) ikhodi yayo imi kanjena:

#! / bin / bash REPONAME = x11tete11x PATHPKG = / home / x11tete11x / .repo / x11tete11x / pkgs-x86_64 / makepkg && cp * .pkg.tar.xz $ {PATHPKG} && rm * .pkg.tar.xz && repo -ngeza $ {PATHPKG} / $ {REPARE ME} .db.tar.gz $ {PATHPKG} *. pkg.tar.xz

Njengoba uzobona, kulula kakhulu futhi ukuze uyisebenzise kufanele wenze okulandelayo:

  • Bagcina leyo khodi ngegama abalifunayo (kimi ngiyibize I-chakra-repo)
  • Setha okuguqukayo NGISHINTSHE, negama lekhosombe lakho, kufanele lifane njengoba lifaka i-pacman.conf, nokuguquguqukayo INDLELA ngomkhombandlela lapho wonke amafayela we- ama-pkgs
  • Bakunikeza izimvume zokwenza:
    i-chmod + x scriptname
  • Bayikopisha ku- / usr / bin /

Ukuyisebenzisa, ngemuva kokulanda noma ukuhlomisa i-PKGBUILD yabo, esikhundleni sokuqalisa ukwakheka bayakhipha iskripthi (esimweni sami chakra-repo) Lokhu kuhlanganisa ngokuzenzakalela uhlelo, kukopishe okubhanari kufolda ye-binaries, bese kuvuselela i-DB kusetshenziswa phinda ungeze, ngakho-ke ngemuva kokusebenzisa iskripthi, vele wenze i-pacman -Sy ukufaka iphakethe okukhulunywa ngalo.

Okulandelayo, ngikushiya ividiyo yokufundisa lapho ungabona khona konke lokhu engikudalulile, kusebenza (i-PS: uma ulalela i-AC / DC umshini uhlanganisa kangcono i-xD haha)


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-14, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   truko22 kusho

    Kuyathakazelisa 😀

  2.   Fega kusho

    Inohlonze impela!

  3.   ngobe1993 kusho

    Kubukeka kuthakazelisa, ngiyazibuza ukuthi kungani i-Arch ne-Ubuntu zingaba nawo wonke amaphakheji endaweni yonke kanti amanye ama-distros awakwazi.

  4.   ntombikayise kusho

    Itimu enhle kakhulu, ngaphandle kokuthi konke kunemininingwane lapho kwenziwa ukucushwa,
    Futhi imininingwane ehamba phambili, ngombono wami, eyayiyiyona engcono kunazo zonke, kwaba lapho wawufuna isixazululo sephutha elaphuma lapho uqeda, ngoba umuntu akazi ukuthi kwenzekani lapho ehlangabezana nalezi zinhlobo zamaphutha nokuthi angaxazululwa kanjani lapha ukhombisa nge-echo elula yokufuna izinto kuvela ukuthi yini okudingeka yenziwe.

  5.   mnqobi kusho

    Buenisimo

  6.   patodx kusho

    iyiphi indlela yokufunda i-GNU / Linux kuleli khasi. ngiyabonga ..

  7.   okusele72 kusho

    Ukungena okuhle kakhulu, ukubona ukuthi ngabe othile uyakhuthazwa yini ukuthi abeke okufanayo kuma-debianadictos.
    Mayelana nomculo…. I-AC / CD yinhle kakhulu, kepha okufanayo noMarilyn Manson kuhamba kancane…: - /

  8.   Fega kusho

    Ngabe ukusingathwa kwamafu kungasetshenziswa njengeseva? ngqo eyinqolobane

    1.    yezimg kusho
    2.    Yoyo kusho

      Yebo impela, ngenkathi ngikuPardus nasePisi Linux, umphakathi ubusuphindile kuDropbox.

    3.    Fega kusho

      Iphelele! 😀

  9.   Yoyo kusho

    Manje njengoba ngiyi-UniDistro, ake sibheke ukuthi ngingalinga yini ukuyizama kuKaOS

    Umnikelo omuhle kakhulu 😉

    1.    yezimg kusho

      zama ngaphandle kokwesaba, ukuthi ekuqaleni i-repo yendawo "ibhukwana", ngiyenze ngaphansi kweKaOS xD

  10.   umsebenzisi kusho

    Umsebenzi owusizo kakhulu wama-neophyte onjengami, futhi ngalokho ngikubonga kakhulu ngentshisekelo obe nayo yokuyishicilela.
    Kulungile, ngicabanga ukuthi sengivele ngiyakuqonda ofuna ukukudlulisa, le nto "yendawo repo", yonga isikhathi, uma sicabanga ukufaka i-archlinux noma i-derivative; ngoba ngokwesibonelo iseva ye-archlinux.org isanda kusethelwa ku-56 kb / s yokulandwa. Kepha uma sine-repo yendawo (iseva yephakeji lendawo, ngicabanga?) Ukufakwa kuzokwenziwa ngaphandle kokuncika kokuxhunywa kwi-inthanethi.