Yuav ua li cas rau nruab Linux ntawm Android smartphone lossis ntsiav tshuaj
Yuav ua li cas rau nruab Linux ntawm Android smartphone lossis ntsiav tshuaj
Anonim

Cov lus qhia ntxaws txog yuav ua li cas tig ib qho khoom siv hauv Android mus rau hauv lub khoos phis tawj Linux puv npo.

Yuav ua li cas rau nruab Linux ntawm Android smartphone lossis ntsiav tshuaj
Yuav ua li cas rau nruab Linux ntawm Android smartphone lossis ntsiav tshuaj

Khiav Linux ntawm Android yog ua tau! Thiab koj tsis xav tau lub cuab yeej hauv paus rau qhov no: tag nrho cov software koj xav tau yog muaj nyob rau hauv lub official Google Play khw. Tsuas yog 10-15 feeb koj tuaj yeem tau txais kev khiav haujlwm uas txawv ntawm Android hauv kev ua haujlwm siab heev.

Nco tseg: Yog tias koj ua raws li peb cov lus qhia, Linux OS yuav khiav hauv ib puag ncig virtual. Android yuav txuas ntxiv khiav hauv keeb kwm yav dhau. Nws yuav yog qhov tsis ncaj ncees rau kev hu ua qhov system ua tiav. Txawm li cas los xij, nws ua tau zoo nrog cov npe ntawm cov dej num ntau.

Ua ntej txhim kho, kaw tag nrho cov ntawv thov tsis tsim nyog thiab tshem tawm RAM ntawm koj lub cuab yeej Android.

1. Nruab GNURoot Debian thiab XServer XSDL los ntawm google play store.

2. Ua ntej pib Linux installation, xyuas kom koj lub cuab yeej txuas nrog lub network ruaj khov Wi-Fi. Pib GNURoot. Kev rub tawm ntawm cov pob khoom ib puag ncig yuav tsum pib.

Yuav ua li cas rau nruab Linux ntawm Android
Yuav ua li cas rau nruab Linux ntawm Android

Kev teeb tsa yuav siv li ntawm 30 vib nas this mus rau ob peb feeb, nyob ntawm qhov ceev ntawm koj qhov kev sib txuas hauv Is Taws Nem. Tsis quav ntsej cov kab creeping kom txog thaum cov ntawv sau hauv qab no tshwm:

hauv paus @ localhost: / #

Cia cov kab no tsis txhob ntshai cov neeg paub txog lub tswv yim ntawm "hauv paus-txoj cai": daim ntawv thov yuav tsis ua rau muaj kev phom sij rau lub cuab yeej, vim nws ua haujlwm hauv "sandbox".

3. Nkag mus rau cov lus txib hauv qab no:

apt-tau hloov tshiab

Tos kom cov pob mus download tau. Qhov no yuav qhia los ntawm kab Nyeem pob cov npe… Ua tiav.

4. Tam sim no nkag mus rau ib kab ntxiv:

apt-tau upgrade

Rau lo lus nug "Koj puas xav mus ntxiv?" ntaus ntawv Askiv Y thiab nias Enter. Lub installation ntawm cov pob yuav pib.

Txhim kho pob
Txhim kho pob

Lub sij hawm no, cov txheej txheem installation yuav siv sij hawm ntev me ntsis. Tos ua siab ntev rau qhov kawg ntawm kev teeb tsa kom txog thaum cov kab uas tau tshwm sim:

hauv paus @ localhost: / #

Lub Debian Linux ib puag ncig tau teeb tsa, thiab tam sim no koj tuaj yeem txuas ntxiv mus xa cov duab nraaj.

5. Kev txhim kho tag nrho cov pob ntawm Linux faib yog ua nrog cov lus txib hauv qab no:

apt-tau nruab lxde

Kuj tseem muaj kev xaiv rau nruab qhov system kernel siv kab:

apt-tau nruab lxde-core

Paub meej tias kev teeb tsa los ntawm kev rov ntaus Y thiab nias tus yuam sij Enter. Cov txheej txheem rub tawm pob yuav pib.

Thaum lub sij hawm installation, xyuas kom meej tias tag nrho cov ntaub ntawv tau downloaded tiav, thiab hais tias thaum unpacking, koj ntaus ntawv yuav tsis khiav tawm ntawm qhov chaw dawb. Txwv tsis pub, pib lub system yuav xaus nrog qhov yuam kev.

6. Txhawm rau ua kom tiav qhov kev teeb tsa ntawm lub operating system, koj yuav tsum rub tawm peb yam khoom siv ntxiv:

  • XTerm - rau kev nkag mus rau lub davhlau ya nyob twg los ntawm Linux graphical plhaub;
  • Synaptic Package Manager - rau kev tswj cov pob khoom apt thiab rub daim ntawv thov;
  • Pulseaudio - rau kev txhim kho suab tsav tsheb.

Tag nrho peb cov khoom siv hluav taws xob tau teeb tsa nrog ib qho GNURoot davhlau ya nyob twg hais kom ua:

apt-tau nruab xterm synaptic pulseaudio

Txog 260 MB ntawm cov ntaub ntawv yuav raug rub tawm rau hauv lub cuab yeej.

7. Tam sim no txo qis GNURoot daim ntawv thov thiab qhib XServer XSDL yav dhau los. Pom zoo mus download tau fonts ntxiv. Tom qab kev teeb tsa tiav, coj mus rhaub lub vijtsam ob peb zaug (daim ntawv thov yuav hais kom koj xaiv qhov kev daws teeb meem thiab font loj - nws tag nrho yog nyob ntawm koj nyiam) kom txog rau thaum koj pom ib qho screen txaws nrog xiav keeb kwm yav dhau thiab cov ntawv dawb.

Yuav ua li cas rau nruab Linux ntawm Android smartphone lossis ntsiav tshuaj
Yuav ua li cas rau nruab Linux ntawm Android smartphone lossis ntsiav tshuaj

Pib dua GNURoot thiab nkag mus rau ob qho lus txib hauv qab no:

export DISPLAY =: 0 PULSE_SERVER = tcp: 127.0.0.1: 4712

startlxde &

Cov kab ke ntawm kev rov pib dua lub system ntxiv (thaum koj xav rov qhib Linux) zoo li qhov no: pib XServer XSDL thiab tos kom lub vijtsam xiav tshwm, qhib GNURoot thiab nkag mus rau ob cov lus txib saum toj no, rov qab mus rau XServer XSDL.

Yog tias lub davhlau ya nyob twg cog lus ntawm qhov tsis raug cai, rov qab mus rau kauj ruam 5 ntawm phau ntawv no thiab sim txhim kho "liab qab" kernel. Tshawb xyuas cov xwm txheej nco ntawm koj lub cuab yeej Android.

8. Tam sim no qhib XServer XSDL, tos ob peb feeb, thiab koj muaj Linux npaj mus.

Txhim kho Linux ntawm Android
Txhim kho Linux ntawm Android

Txhawm rau nruab cov ntawv thov, hauv qab sab laug ces kaum, qhib Start menu thiab xaiv Run. Ntaus Synaptic thiab nias Enter.

Txhim kho cov ntawv thov
Txhim kho cov ntawv thov

Hauv lub qhov rai uas qhib, siv qhov kev tshawb nrhiav thiab nruab cov ntawv thov uas xav tau. Qhov no tuaj yeem yog Firefox browser, GIMP duab editor, Libre office suite, thiab lwm yam Linux-tshaj cov kev pab cuam.

Linux apps
Linux apps
Graphics editor hauv Linux
Graphics editor hauv Linux

Tau kawg, qhov kev xaiv no rau kev txhim kho Linux tsis tuaj yeem hu ua qhov kev tso tawm tag nrho ntawm kev ua haujlwm ntawm Android. Virtual Linux muaj ntau qhov kev txwv, tab sis thaum siv wireless nas thiab keyboard (nws tseem tuaj yeem txuas tau siv OTG adapter thiab USB hub), koj tuaj yeem tig koj lub smartphone lossis ntsiav tshuaj rau hauv lub laptop nrog kev ua haujlwm ntawm tus neeg laus OS.

Pom zoo: