Nokufamba kwenguva, iyeiye misiyano pakati pemashandisirwo masisitimu ave kusava nebasa. Virtual muchina, midziyo uye mamwe matekinoroji anotitendera kushandisa mamwe mazita ezvatinoda zvirongwa zuva rega rega kunyangwe isina vhezheni yedu yekushandisa system.
Waini, chishandiso chinoshanda semuturikiri pakati peLinux kernel neWindows application chave chiripo kwenguva yakareba. Munguva pfupi yapfuura, isu tine zvakare chishandiso che macOS zvirongwa.
MacOS zvirongwa paLinux? NaDarling zvinogoneka
Darling anozadzisa basa rakafanana nereWaini ine Windows zvirongwa, chete haina kuomarara mukuzvitsanangura seyemulator. Chainoita kuita semuturikiri inobvumira macOS zvirongwa kuti zvimhanye uchishandisa Linux zviwanikwa. Zita rekuti Darling (Mudikani) ndicho chikamu chekutanga chezita remacOS kernel (Darwin) uye mavara matatu ekutanga eLinux. Ini ndinofungidzira iyo yekupedzisira G ndeyekuvaka izwi riri nyore kubata nemusoro.
Zvinofanira kutaurwa kuti vagadziri veDarling vanozviwana zviri nyore kupfuura Vagadziri vewaini. Ivo havafanirwe kudzosera kumashure mainjiniya kana kudzoreredza chero chinhu kubva ipapo zvinobva pazvikamu zveDarwin zviri pasi pemarezinesi akavhurika. Darling pachayo inogoverwa pasi peGPL rezinesi.
Kutanga Darling
Iyo purogiramu haina graphical interface. Isu tinozvitanga kubva kune terminal nekuraira:
darling shell
Nekuinyora, Darling anozogadzira chaiyo midzi dhairekitori kana kubatana kune iripo. Ichaisawo kernel modules uye kuvaka iyo chaiyo faira system kwatinomhanyisa zvirongwa.
Kubva pamutsetse wemirairo tinogona kuwana marudzi maviri emafaira masisitimu: echinyakare macOS ayo anosanganisira epamusoro-nhanho madhairekitori akadai se / Zvishandiso, / Vashandisi uye / System pakati pevamwe. Kune rimwe divi, isu tinowana iyo host inoshanda sisitimu mune chikamu chinonzi / Mavhoriyamu / SystemRoot
Tinogona kutarisa kernel nemurairo unotevera:
uname
Uye tsvaga iyo vhezheni ye macOS ne:
sw_vers
Takasiya terminal nayo
exit
Uye tinodzima mudziyo ne:
darling shutdown
Kuiswa kwezvirongwa
Kana iwe uri kushandisa Linux mune mbiri bhutsu ine macOS uye iwe uchida kumhanyisa chero mapurogiramu awakaisa paMac partition, unogona kuzviita nemurairo:
/Volumes/SystemRoot/run/media/usuario/Macintosh HD/Applications/nombre_app.app)
Zvirongwa zvakawanda zvemacOS zvinotakura ne .dmg format. Kuvaisa muDarling tinoita:
Darling [~]$ hdiutil attach Downloads/aplicación.dmg
/Volumes/aplicacion
Darling [~]$ cp -r /Volumes/aplicación/aplicación.app /Applications/
Panyaya yezvishandiso zvakachengetwa mumafaira akamanikidzwa, tinoisunungura uye tinoikopa kune / Zvishandiso folda. Zvimwe chete nemaapps akatorwa kubva kuApp store.
Pakupedzisira tine maapplications .pkg, iyo yemhando yepasuru ye macOS. Iyi fomati inosanganisira kushandisa zvinyorwa panguva yekuisa. Kuti tishandise, tinofanira kuita zvinotevera:
Darling [~]$ installer -pkg aplicación.pkg -target /
Tinogona kusunungura zvirongwa ne:
uninstaller nombre_del_paquete
Isu tinofanirwa kunzwisisa kuti nepo Darling ichishanda nemazvo nemirairo mitsetse yekushandisa, inongove nekuita kushoma kune avo vanoda graphical interface.
Darling installation
Kana ukashandisa Debian kana zvinobva, kuisa Darling hakuna dambudziko rakakura. Iwe unongofanirwa kutaipa mirairo:
sudo apt install gdebi
sudo gdebi darling-dkms_X.X.X.testing_amd64.deb
sudo gdebi darling_X.X.X.testing_amd64.deb
Tsiva iyo X nenhamba yevhezheni yemapakeji auchadhawunirodha kubva pano
Mune kumwe kugoverwa iwe uchafanirwa kuiunganidza iyo inoda disk nzvimbo ye10 GB uye 1 GB yekuisa. Mukuwedzera, iwe unofanirwa kuisa kare zvinotsamira pakugovera kwako. Unogona kuvatarisa mune zvinyorwa
Isu tinodhawunirodha mafaera anodiwa ne:
git clone --recursive https://github.com/darlinghq/darling.git
Unogona kuisa iyo git package.
Isu tinotarisa kana paine vhezheni itsva (Chete kana iwe wakarodha kare kare)
git pull
git submodule init
git submodule update
Tinoenderera mberi nekunyora
- Isu tinoenda kudhairekitori kwatinorodha nayo
cd darling
- Isu tinogadzira dhairekitori rekushanda ne
mkdir build
- Isu tinoshandura kune iro dhairekitori ne
cd build
- Isu tinogadzirisa nemurairo
cmake
- Tinovaka nemurairo
make
- Isu tinoisa ne
sudo make install
Isu tichazoda kuisa kernel module. Tinozviita nemirairo:
make lkm
sudo make lkm_install
Mirayiridzo yekuvaka haina kunaka, haigone kuisa Darling.
Wakaisa zvinodiwa zvinoenderana here?
Apa vanokuudza zvavari
https://docs.darlinghq.org/build-instructions.html
Kwaziwai. Ndezvipi zvirongwa zvinogona kuiswa, kupa mimwe mienzaniso?
Ini handizive zvakawanda nezveApple uye hapana mienzaniso inopiwa pawebhu.
Chero ani anomhanya pamutsetse wekuraira