# Android 에서 리눅스 App 실행: Linux Terminal Emulator (Termux)

> Clean Markdown view of GeekNews topic #2761. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=2761](https://news.hada.io/topic?id=2761)
- GeekNews Markdown: [https://news.hada.io/topic/2761.md](https://news.hada.io/topic/2761.md)
- Type: news
- Author: [kibua20](https://news.hada.io/@kibua20)
- Published: 2020-09-01T22:02:16+09:00
- Updated: 2020-09-01T22:02:16+09:00
- Original source: [kibua20.tistory.com](https://kibua20.tistory.com/116)
- Points: 5
- Comments: 0

## Topic Body

안드로이드의 Libc는 Bionic  libc이고,  리눅스의 Libc는 gLibc를 사용하기 때문에  리눅스에 빌드된 실행 파일을 그대로 실행하는 것은 불가능합니다.

이러한 차이점을 해결하기 위해서 안드로이드 스마트 폰에서는 Linux Terminal Emulator Termux 를 사용해야 합니다. Playstore에서 Termux  설치 후  apt(pkg)를 통해서 각종 리눅스 실행 파일을 설치하고  실행이 가능합니다.

안드로이드 폰에서 리눅스 터미널 Termux  활용 방안:

 ① 안드로이드 폰에 Web server를 올리는 경우

 ②안드로이드 폰에 Python 프로그램을 구동시키는 경우

 ③안드로이드 폰에서 SSH 기반의 서버 (e.g. sFTP)로 활용하는 경우

 ④안드로이드 폰의 SW를 HACK 하는 경우 (루팅 된 device) - Termux에서 Hacking tool을 지원한다고 함.

 ⑤ 리눅스에서 개발된 프로그램을 재사용 : Termux에서는 C 컴파일로 clang을 사용하기 때문에 우분투 gcc로 빌드된 실행파일 (ELF)는 직접 실행이 안되고 재 빌드해야 함 (소스만 재 활용)

 ⑥Python과 같은 interpreter 언어는 그대로 실행됨

## Comments



_No public comments on this page._
