Isetshenziswa kanjani i-AUR kunoma yikuphi ukusatshalaliswa okungeyona i-Arch sibonga ku-Distrobox

Ubuntu, i-Arch ne-Pamac sibonga i-Distrobox

I-Arch Linux ingase ibize kancane ukuyifaka nokuyilungisa, kodwa ingenye yezinketho ezithandwayo kulabo abazi konke abakudingayo futhi abafuna ukuba nendawo yabo yokusebenza ngendlela abayithandayo. Inenketho yokufaka isofthiwe ye-AUR, emele i-Arch User Repository, futhi kuyo sithola cishe noma yiluphi uhlelo olukhona ku-Linux. Kungesinye sezimangalo zayo ezinhle kakhulu, futhi ama-non-Arch distros ayibheka ngomona othile. Ngenhlanhla kukhona I-Distrobox, ebukeka njenge-Linux Subsystem ye-Linux, yonga ibanga.

Ezinsukwini ezimbalwa ezedlule sikhulume nawe mayelana nokuthi iyini nokuthi isetshenziswa kanjani, futhi namuhla sizoshicilela lesi sifundo ukuze dala isithombe se-Arch Linux futhi usilungiselele ukuze ufinyelele ku-AUR. Ngeke kuhlale kunesidingo, kodwa kungafika kahle. Futhi njengoba ku-Linux singabasebenzisi abanamandla okunquma ukuthi benzeni nabangafanele, sizochaza ukuthi singakufeza kanjani futhi ngamunye enze lokho acabanga ukuthi kufanele.

Ngaphambi kokuthi siqale: Iyini i-AUR?

Njengoba sesichazile, i-AUR isifinyezo salo I-Arch User Repository, futhi iyinqolobane isofthiwe yayo inakekelwa umphakathi. I-Arch Linux, njengokusabalalisa okuningi kwe-Linux engikwaziyo, inezindawo zayo zokugcina ezisemthethweni lapho sithola khona isofthiwe efana ne-Distrobox, VLC, GIMP noma i-LibreOffice ezinguqulweni. namanje y fresh, kodwa lapho asitholi I-Spottube naphezu kokuba umthombo ovulekile. Unjiniyela ofanayo we-Spotube ulayisha isofthiwe yakhe ku-AUR egcina ngo-bin, okusho ukuthi isihlanganisiwe kakade. Singathola futhi ku-AUR enye isofthiwe endala esingase siyidinge ukwenza okuthile okuqondile, isibonelo into encike kuPython 2.

Uma umsebenzisi womphakathi ekubona kulula, ulayisha isofthiwe ku-AUR, futhi noma ngubani one-Arch based based angakwazi ukuyifaka. Kungenziwa ngesandla noma ngokusebenzisa iwizadi, njenge Yay, leyo esizoyisebenzisa lapha ukufaka i-Bauh ne-Pamac.

Akunconywa ukuthi ujatshuliswe futhi usebenzise i-AUR ngaphandle kokwenza umqondo.. Isizathu esiyinhloko ukuthi okukhona ngokuvamile kuba isofthiwe ethathwa ngumuntu othile emphakathini futhi ayilayishe, okungukuthi, ayizange ilayishwe iphrojekthi ngokwayo. Futhi, okuningi akuhlanganisiwe, futhi uma ufaka okuthile okudingeka kuhlanganiswe kuthatha isikhathi eside. Uma sine-AUR eningi, ezinye izibuyekezo zingathatha isikhathi eside kunokulindelekile.

Kodwa ngokuvamile, Yinqolobane evikelekile, futhi ngaphandle kwayo kungaba nzima kakhulu ukufaka izinhlelo ezifana ne-Visual Studio Code noma i-Google Chrome kumasistimu asekelwe ku-Arch.

Ukudala isithombe se-Arch Linux nge-Distrobox

  1. Into yokuqala esizoyenza ukufaka i-distrobox ekusatshalalisweni kwethu kweLinux. Ku Lesi sihloko Sichaza ukuthi kwenziwa kanjani, kodwa ngokuyisisekelo kubhalwa kutheminali sudo kulandelwa umphathi wephakheji wokusabalalisa kwethu, bese kuba umyalo wokufaka - like install - bese distrobox. Ingase futhi ivele esitolo sesofthiwe yesistimu yokusebenza. Ezimweni ezikhethekile, ku- lesi sixhumanisi Ichaza indlela yokwenza nge-curl ne-wget.
  2. Njengoba i-Distrobox isivele ifakiwe, sakha isithombe ngalo myalo, lapho "i-arch" igama esizolinika ibhokisi (kungaba noma iyiphi enye) nokuthi yini engemuva -i isithombe se-Arch Linux. Uma kungasebenzi, lesi sixhumanisi esivela kumadokhumenti asemthethweni ibeka amagama ezithombe ezihambisanayo:
distrobox dala -n arch -i quay.io/toolbx/arch-toolbox:yakamuva
  1. Uma isiqedile, izosinika umyalo wokungena ukuze sifake isithombe esidaliwe. Esimeni sethu kuzoba njalo distrobox enter arch, okuyigama esilinike lona esinyathelweni esedlule.
  2. Uma sesingenile, sizolinda isikhathi esizoncika emfanekisweni namandla emishini yethu. Isikhathi sokuqala kufanele ufake amaphakheji ayisisekelo. Lapho usuqedile, ku ngokushesha sizobona our_user_name@image_name, njengoba sichazile kusixhumanisi esinyathelweni 1.
  3. Njengesinyathelo sokuzithandela, singafaka izibuyekezo ezilindile nge sudo pacman -Syu.
  4. Manje kufanele senze usekelo lusebenze ukuze sifake lokho i-AUR ezokuphatha. Kuzothatha isikhathi esincane kakhulu futhi kimi sezivele zifakiwe, kodwa ukuzifaka kabusha ngeke zilimaze. Sibhala okulandelayo:
Isudo pacman -S base-devel git

Ifaka i-Yay

  1. Okulandelayo sihlanganisa inqolobane ye-yay, futhi izokwenza ngokushesha:
git clone https://aur.archlinux.org/yay.git
  1. Singena ohlwini lwakho lwemibhalo nge cd yay.
  2. Manje sibhala okulandelayo bese silinda ukuthi inqubo iphele:
Makepkg -si
  1. Manje ungaqala ukusebenzisa i-yay futhi ufake isofthiwe ye-AUR, ukuze inqubo iqedelwe uma kuyilokho obukufuna.

Ifaka isitolo esinesithombe esibonakalayo sokufaka isoftware ye-Arch

Kodwa sizoqhubeka nokufaka ithuluzi eliyisithombe, ikakhulukazi i-Manjaro's Pamac. Kutheminali, ngemva kokuthayipha cd .. Ukubuyela emuva, sibhala:

yay -S pamac-aur

Emilayezweni osibuza kuyo ukuthi sikwenze ukufaka, yonke into inguyebo. Emilayezweni ye-diffstat, singafaka u-"n", akukho, futhi sisuse ukuncika ngo-"s". Sizokwethula i-Pamac ngokufaka i-terminal pamac-manager.

Pamac ku-Ubuntu

Njengoba sesivele sichazile esihlokweni sendlela yokufaka nokusebenzisa i-Distrobox, singathumela i-Pamac ukuze ivele ekhabetheni lohlelo lokusebenza lokusabalalisa kwethu ngokubhala:

distrobox-export --app pamac-manager

I-Pamac ekhabetheni lohlelo lokusebenza lwe-Ubuntu

Uma ubheka, ivela njenge-Engeza/Susa isofthiwe, kodwa kubakaki ithi "ku-arch", okusho ukuthi ifakwe esithombeni/isitsha se-Distrobox esinegama elithi "arch", okuyisona esidalele lo mhlahlandlela. .

Enye inketho ukwenza konke lokhu nge-Bauh (yebo -S bauh), okukuvumela futhi ukuthi uphathe isoftware ye-AUR.

Senzeni nge-Distrobox?

Esikwenzile ngakho konke lokhu kwakhiwa i-subsystem - ngithanda ukusho kanjalo - ye-Arch Linux ku-Ubuntu, sifake i-yay futhi kusukela kuyo i-Pamac, ithuluzi lesithombe sokufaka isofthiwe e-Manjaro, i-Arch base. wengeze isitolo ekhabetheni lezinhlelo zokusebenza ze-Ubuntu. Kodwa-ke, manje sesiyakwazi ukufinyelela ku-AUR kusuka ku-Ubuntu ngokusebenzisa i-yay, futhi nge-Pamac noma i-Bauh singafaka isofthiwe kusuka kumakhosombe asemthethweni e-Arch kanye ne-AUR.

Lokhu kungenzeka kunoma yikuphi okunye ukusatshalaliswa, ngakho i-AUR itholakala kunoma ubani.


Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Unomthwalo wemfanelo ngedatha: AB Internet Networks 2008 SL
  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.