Skip to content

KrutosVIP/TermuxInstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Termux-Install

Install Termux Bootstrap as a container in Termux

Installation

You need to install basic dependencies at first

$ pkg install python3 proot wget

After that, you can install bin files with make install command
Or use binaries directly from there.

If Termux gives "permission denied", use command chmod 0700 bin/* from here

Or, even more faster, just install deb from Releases, by using dpkg -i <deb>

Or install package from tur-repo:

pkg install tur-repo && pkg install termux-install

Usage

Install

If you want to use termux bootstrap with pacman, replace all termux with termux-pacman
Example: termux-install64 -> termux-pacman-install64

Also, you can install glibc by using command in 64-bit container (pacman-only), by using termux-install-glibc in container.
More on this: https://github.com/Maxython/glibc-for-termux/
But keep in mind, the support is experimental. In case of errors, restart the script. If the error persists, create an issue.

To install 64-bit container:

$ termux-install64

To install 32-bit container:

$ termux-install32

Start proot in container

To start 64-bit container:

$ termux-chroot64

To start 32-bit container:

$ termux-chroot32

Remove container

To remove 64-bit container:

$ termux-remove64

To remove 32-bit container:

$ termux-remove32

Features

  • No root (because of proot)
  • Isolated from real Termux installation
  • /home in accessibility
  • Can be built into .deb using termux-create-package and manifest here
  • Installer made up right from TermuxInstaller.java code
  • Written in python and Bash (Also used scripts from proot package - termux-chroot)