https://github.com/dylanmeca/ubuntu-termux
Install Ubuntu on Android using Termux, no need for root. Develop software using the Ubuntu distribution on your android without the need for root and install software maintained by Canonical.
https://github.com/dylanmeca/ubuntu-termux
android bash linux linux-distribution linux-on-android proot proot-android proot-distro smartphone termux ubuntu ubuntu-focal ubuntu-on-android ubuntu-on-android-termux ubuntu-on-termux udroid
Last synced: 4 months ago
JSON representation
Install Ubuntu on Android using Termux, no need for root. Develop software using the Ubuntu distribution on your android without the need for root and install software maintained by Canonical.
- Host: GitHub
- URL: https://github.com/dylanmeca/ubuntu-termux
- Owner: dylanmeca
- License: gpl-3.0
- Created: 2021-12-31T01:10:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-18T23:59:19.000Z (over 2 years ago)
- Last Synced: 2025-02-02T08:11:31.823Z (5 months ago)
- Topics: android, bash, linux, linux-distribution, linux-on-android, proot, proot-android, proot-distro, smartphone, termux, ubuntu, ubuntu-focal, ubuntu-on-android, ubuntu-on-android-termux, ubuntu-on-termux, udroid
- Language: Shell
- Homepage:
- Size: 68.4 KB
- Stars: 17
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Ubuntu on Termux
[](https://github.com/dylanmeca/ubuntu-termux)
[](https://github.com/dylanmeca/ubuntu-termux/blob/main/LICENSE)
[](https://github.com/dylanmeca)
[](https://github.com/dylanmeca/ubuntu-termux/blob/main/.github/ISSUE_TEMPLATE/bug_report.md)
[](https://github.com/dylanmeca/ubuntu-termux/blob/main/SECURITY.md)
[](https://www.gnu.org/software/bash/)Install Ubuntu on Android using Termux, no need for root.
Develop software using the Ubuntu distribution on your android without the need for root and install software maintained by Canonical.
## Pre-requirements
The requirements to install Ubuntu on android is to have termux installed and within termux it is necessary to have proot installed. It is not necessary to have root.
## Installation
To install Ubuntu in Termux you need to run these commands:
```shell
pkg install wget -y
pkg install proot -y
wget https://raw.githubusercontent.com/dylanmeca/ubuntu-termux/main/install.sh
chmod +x install.sh
./install.sh
```Once the installation is finished to start Ubuntu you have to execute the command: ```ubuntu```
It is also possible to run an Ubuntu command from Termux. For example: ```ubuntu pwd```.
This will allow to run ubuntu commands from termux.
## Solution to known issues
* 1- One of the main mistakes is:
```text
groups: cannot find name for group ID 3003
groups: cannot find name for group ID 9997
groups: cannot find name for group ID 50399
```To solve this error you must run these commands.
```shell
addgroup --system --gid 3003 inet
addgroup --system --gid 9997 everybody
addgroup --system --gid 50399 all_a399
```Once these commands have been executed, this error will have been solved.
## Authors
* **Dylan Meca** - *Initial Work* - [dylanmeca](https://github.com/dylanmeca)
You can also look at the list of all [contributors](https://github.com/dylanmeca/ubuntu-termux/contributors) who have participated in this project.
## License
The license for this project is [GPL-3.0](https://github.com/dylanmeca/ubuntu-termux/blob/main/LICENSE).