Indlela yokufaka nokusebenzisa i-Distrobox, ithuluzi elikuvumela ukuthi usebenzise ama-distros ambalwa kusistimu yokusebenza efanayo

I-Distrobox Guide

Emahoreni ambalwa edlule, uzakwethu u-Darkcrizt wabhala i-athikili mayelana nesibuyekezo sakamuva I-Distrobox. Yena ngokwakhe wabhala esikhathini esincane esidlule esinye isihloko lapho asichazela khona ukuthi bekuyini, futhi kancane mayelana nendlela yokuyifaka kanye nemiyalo eyinhloko yokuqala ukusizakala ngezinzuzo zayo. Esizokwenza lapha ukuchaza kabanzi ukufakwa nokusebenzisa isofthiwe ukuze, isibonelo, sisebenzise uhlelo olwe-Ubuntu kuphela ekusabalaliseni okusekelwe ku-Arch.

I-Distrobox wuhlelo oluncane olwakha izithombe ze ukusatshalaliswa phakathi kokunye ukusatshalaliswa, kodwa azifani nemishini ebonakalayo. Ukonga amabanga, ifana kakhulu ne-Windows WSL, nakuba uhlelo olungaphansi lwe-Microsoft lwe-Linux lusebenza ngokubona. Kubukeka kufana ngoba sizokwenza okuningi kusuka esigungwini, njengoba i-WSL yayinjalo ekuqaleni, futhi ivumela ukwethulwa kwezinhlelo zokusebenza nge-GUI, etholakala ohlelweni olungaphansi lweWindows olusuka ku-WSL2.

I-Distrobox ingeyani ngempela

Abanye bangase bazibuze ukuthi liyini iphuzu lokuba ne-Linux eyodwa ngaphakathi kwenye uma cishe yonke into engenziwa kwenye i-Linux distro. Nakhu okungenani izizathu ezintathu:

  • Hlola endaweni yokulahla. I-Distrobox ingasetshenziswa njengebhokisi lesihlabathi lokuhlola futhi ingase ibe ngcono kunokusebenzisa umshini ophelele obonakalayo.
  • Thuthukisa ezindaweni ezahlukene: I-Distrobox ilusizo kubathuthukisi abafuna ukusebenzisa imitapo yolwazi nakho konke okudingekayo kusuka ekusabalaliseni futhi bakwenze kukhompuyutha efanayo.
  • Faka izinhlelo zokusebenza ezingasekelwe ku-distro yethu: Ngeshwa, onjiniyela abaningi bakhathalela kuphela abasebenzisi be-Debian/Ubuntu kanye ne-Fedora, futhi balayisha kuphela isofthiwe yabo kumaphakheji e-DEB noma e-RPM. Isizathu esisodwa sokusebenzisa i-Distrobox kungaba ukufaka i-DEB ku-distro yethu engayisekeli ngaphandle kokwenza okuningi. Ingabe le ncazelo ayikugculisi? Ngizokusho ngesinye isibonelo: ukusebenzisa isofthiwe evamile ye-Linux ekusabalaliseni okungaguquleki, njengesofthiwe ye-Ubuntu ku-SteamOS (efakwe ngokuzenzakalelayo kusukela ku-SteamOS 3.5) ngaphandle kokuncika ku-Flathub.

Indlela yokufaka i-Distrobox

Njengoba sibona ku usekulungele, i-distrobox i etholakala kumakhosombe asemthethweni wokusatshalaliswa okuningi Linux, futhi ukufakwa kwayo kuhilela ukuvula i-terminal nokubhala sudo <nombre del gestor de paquetes de turno> <comando de instalación> distrobox. Isibonelo, ku-Ubuntu nokuphuma kokunye kufanele ubhale "sudo apt install distrobox" naku-Arch "sudo pacman -S distrobox", konke ngaphandle kwezingcaphuno. Kuyafaneleka futhi ukuyifaka i-docker, podman noma kokubili. Ziyizinhlelo ezizokwenza umlingo weziqukathi wenzeke. Uma ukhetha eyodwa, wonke amadokhumenti engiwatholile atusa iPodman kakhulu.

Iwebhusayithi esemthethweni nayo iyachaza indlela yokufaka ngezinye izindlela. Okuchazwayo kuleli phuzu kuyafana nalokho u-Darkcrizt akushicilele kusixhumanisi sesibili esisifake ekuqaleni kwalesi sihloko, mhlawumbe esibuyekeziwe. Ngingancoma ukusebenzisa amakhosombe asemthethweni noma nini lapho kungenzeka, yilokho abakwenzayo.

Ungasifaka kanjani isithombe esivela kwenye i-distro

Ukuze uqalise, singavula iwindi letheminali bese sithayipha:

dala i-distrobox

Izosibonisa umlayezo wokuthi isithombe se-Fedora asitholakali - okungenani ngenkathi lesi sihloko sibhalwa - futhi sinenketho yokusidala noma cha. Uma sicindezela ukhiye "Y" (yebo), uzosidalela wona ngemva kokulanda isithombe, okungase kuthathe isikhashana. Ekupheleni kokufakwa sizobona umlayezo ositshela ukuthi siwusebenzise kanjani:

Ulwazi mayelana nemiyalo yokuvula isithombe

Izokwenziwa ngokulandelayo, lapho igama elithi "ibhokisi" livela khona ngenhla, lapho ulidala khona nalapho usulizuzile:

distrobox faka i-my-distrobox

Ngomyalo odlule amaphakheji adingekayo ebhokisi azoqeda ukulanda, ngakho kufanele ulinde futhi.

Kuqedwe ukufakwa kwesithombe

Esithombeni sangaphambilini kufanele ubheke imininingwane ye ngokushesha, okungukuthi, umyalezo ovela ngokuzenzakalelayo futhi osimema ukuthi sifake imiyalo. Kusithombe-skrini sibona ukuthi ithi igama lami lomsebenzisi lilandelwa "my-distrobox", okuyibhokisi esisanda kulidala futhi elikhombisa ukuthi sikulo. Uma sifuna ukuyihlola, singafaka i-neofetch, kodwa singakwenza nge:

ikati / njll / os-release

Ulwazi lwebhokisi ku-Distrobox

Ifaka nokusebenzisa izinhlelo

Manje njengoba sine-distro efakiwe futhi isebenza, sizokwenza ukuhlolwa. ukufakwa kwesofthiwe. Njengoba esinakho esibonelweni kuyi-Fedora, sizokwenza ukufaka nge-DNF, futhi uhlelo olukhethiwe luzoba yiFirefox ngoba ulwazi lwayo lwenza kube lula ukukhombisa ukuthi yiluphi uhlelo olusebenza kulo. Umyalo uzoba:

sudo dnf faka i-firefox

Ukufaka iFirefox ebhokisini le-Fedora

Njengoba nina enibaziyo i-Fedora bengabona, ekubonisayo ulwazi olujwayelekile lomphathi wephakheji ye-DNF. Kodwa uma lokho kungebo ubufakazi obanele, manje sethula isiphequluli ngokuthayipha okuthi "firefox" ngaphandle kwezingcaphuno kutheminali efanayo. Bese siya engxenyeni ethi Usizo/Mayelana neFirefox futhi sizobona into efana nalena elandelayo:

IFirefox ku-Fedora ngaphakathi kwe-Manjaro nge-Distrobox

Ukudala izithombe ze-Distrobox zangokwezifiso

Ngokuzenzakalelayo, ilungiselelwe ukufaka i-Fedora, futhi lokhu kuchazwe kulwazi esiluthole ekuqaleni. Kodwa singakha izithombe ohlwini lwezinketho etholakala kulwazi lokuhambisana kwe-Distrobox (isixhumanisi). Esibonelweni esilandelayo sizofaka isithombe se-Ubuntu, kodwa sinikeze igama langokwezifiso. Ukwenza lokhu sizosebenzisa umyalo olandelayo:

distrobox create -n ubuntubox --image ubuntu:22.04

Ngomyalo odlule sikucelile ukuthi "udale isithombe esinegama elithi 'ubuntubox' usuka ku-Ubuntu 22.04 image." Ngeke ukuthole, ngakho Izosibuza ukuthi siyafuna yini ukuyidala futhi kufanele sithi yebo. Njengalapho sidala isithombe se-Fedora, kufanele silinde ukuthi sisidale bese silanda yonke into edingekayo ukuze sisisebenzise. Lapho sibona ngokushesha kusuka ku-ubuntubox, sizobe sesingaphakathi ku-Ubuntu 22.04.

Uma sifuna ukubona uhlu olunamabhokisi afakiwe, sizobhala - ngaphandle kwebhokisi -:

uhlu lwe-distrobox

Ukusebenzisa izinhlelo zokusebenza ezivela kumenyu enkulu

Uma sifuna sebenzisa izinhlelo zokusebenza kwimenyu enkulu noma ufinyelele kuzo ngohlelo lokusingatha, sizofaka ibhokisi bese sibhala into efana nale:

distrobox-export --app firefox

Sizobona umlayezo oqinisekisa ukuthi uhlelo lokusebenza luyatholakala futhi kuzoba njalo. Lona osebhokisini unegama lakhe kubakaki.

I-Distrobox Firefox kumenyu enkulu

Sizohlehlisa ukuthekelisa ngokuthi:

distrobox-export --app firefox --delete

Susa ibhokisi le-Distrobox

para susa ibhokisi, lo kumele amiswe. Lokhu kuzofezwa ngokubhala, kusuka ohlelweni lokusingatha, kuqala distrobox stop nombre-de-la-caja bese distrobox rm nombre-de-la-caja. Kuzo zombili lezi zimo kufanele samukele imilayezo elisibonisa yona. Ibhokisi nakho konke okuqukethwe kwalo kuzonyamalala ku-distrobox, kodwa izinyathelo ezengeziwe ziyadingeka ukuze kukhishwe ngokuphelele isiqukathi.

  1. Kutheminali, sibhala podman images.
  2. Sibhala phansi i-ID yesithombe esifuna ukusisusa.
  3. Okokugcina, siyabhala podman rmi id-de-la-imagen, esikhundleni seyunithi yezinhlamvu yokugcina nesithombe esizosuswa.

Uma kukhona izinqamuleli ezisele kumenyu yezinhlelo zokusebenza, nakuba kungafanele kwenzeke, zingasuswa ngesandla kufolda. ~ / .local / share / izicelo /. Ukuze ugweme lokhu, kufanelekile ukuhlehlisa okuthunyelwa ngaphandle ngaphambi kokususa ibhokisi.

Eminye imininingwane ethokozisayo

  • I-kernel esetshenziswe emabhokisini iyafana nesistimu yokubamba ezenzakalelayo.
  • Uma sifuna ukuhamba, kufanele sifake igama exit.
  • Ibhokisi lingafinyelelwa ngokuqondile kumenyu yezinhlelo zokusebenza. Ifayela elithi .desktop lenzelwa lokhu.

Ngithemba ukuthi ngalo mhlahlandlela manje sekucacile ukuthi iyini i-Distrobox, ukuthi iyini nokuthi isetshenziswa kanjani.


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.