본문 바로가기

Termux

Ubuntu 설치하기

Termux에 우분투를 설치할 수 있습니다.

 

Termux에서 Python을 하고자 하였고, Deep Learning 라이브러리인 keras를 설치하기 위해

갖은 노력을 해봤는데 쉽지 않더군요...

 

그래서 알아 보니 Ubuntu를 설치할 수 있는 방법을 제시한 분이 계셔서

소개를 하고자 합니다.

 

Ubuntu를 설치하면서 발생하는 많은 장점들이 있긴 하지만,

단점들을 집어보자면

 

1. 네트워크가 되질 않습니다. (Termux도 가상인데 그 안에 USB 부팅 같은 느낌이라 그런듯 합니다.)

2. Scipy 를 설치할 때 팅깁니다. (Panda는 설치가 가능햇으나 결국 Keras 까지 가질 못함)

 

그래서 저는 결국 Ubuntu 설치하는 것을 지우고 본래 Termux만 사용하는 것으로 전환하였습니다.

 

그래도 아래 방법을 따르면 20년 10월 버젼으로는 동작하오니 참조하시기 바랍니다.

 

 

  1. Update termux: apt-get update && apt-get upgrade -y
  2. Install wget: apt-get install wget -y
  3. Install proot: apt-get install proot -y
  4. Install git: apt-get install git -y
  5. Go to HOME folder: cd ~
  6. Download script: git clone https://github.com/MFDGaming/ubuntu-in-termux.git
  7. Go to script folder: cd ubuntu-in-termux
  8. Give execution permission: chmod +x ubuntu.sh
  9. Run the script: ./ubuntu.sh -y

Now just start ubuntu: ./startubuntu.sh

참조 : https://github.com/MFDgaming/ubuntu-in-termux

 

MFDGaming/ubuntu-in-termux

This is a script by which you can install Ubuntu in your termux application without a rooted device - MFDGaming/ubuntu-in-termux

github.com