termux was unable to install the bootstrap packages что делать

Termux was unable to install the bootstrap packages

After doing some research, it mention that the bootstrap in this url (http://termux.net/bootstrap/) must be download and install before one can use Termux.

So, how do I install the bootstrap? or do I put the bootstrap files into a particular folder in the phone before install Termux? or something else I need to do? or are there alternative methods to get Termux installed and running without connecting to the Internet?

(Note: The phone is not connect to the Internet. The phone need to have Termux installed with all prerequisite packages, such as bootstrap.)

2 Answers 2

If you want to install that bootstrap package without internet, you need root access.

The easiest way I’ve found is with Titanium Backup. You can install Termux on another device, bootstrap it then back it up with TB, and transfer the TB backup to the offline device and restore. It’s also convenient for batch deploy.

If you want to manually install the bootstrap package via a shell (another Terminal Emulator or ADB shell), here’s a possible method (I haven’t tested it myself, but I think it’s mostly correct). As said before, manual installation also requires root access.

First download the ZIP of the correct architecture and create these directories:

Then create some symbolic links because they’re required for Termux to work. The instruction to creating those symbolic links are stored in SYMLINKS.txt and you need to process that.

Finally, correct the permissions, ownerships and SELinux contexts. Run the following commands. You can use the «vanilla» toolset in /system/bin for this job. They perform well here.

If you’re running Android 7 (API 24) or up, run this command in addition:

Источник

[Bug]: Unable to install bootstrap packages after reinstalling on a rooted android 10 device #2264

Comments

NukedBart commented Sep 10, 2021

Problem description

unable to install the bootstrap packages
termux.net/bootstrap is accessable

Steps to reproduce the behavior.

uninstalled termux
reinstalled termux apk from fdroid
unable to install the bootstrap packages

What is the expected behavior?

showing the hello message and run termux

System information

The text was updated successfully, but these errors were encountered:

Grimler91 commented Sep 10, 2021

What does the error message say? Probably you have termux apps from google play still installed, for example termux-widget.

WMCB-Tech commented Sep 10, 2021 •

that is very unclear, latest versions of Termux doesn’t use termux.net/bootstraps anymore to setup bootstraps by downloading it and termux.net is for legacy versions. instead it locally installs the bootstrap. maybe you chose the older version of termux or didn’t see the version properly. (eg. 0.17 instead of 0.117)

Also if you’re rooted, you could have played around with fire root. in that case you may try restoring correct permissions and selinux contexts using restorecon

xeffyr commented Sep 10, 2021

NukedBart commented Sep 11, 2021

Downloaded the latest version of termux from F-Droid, SELinux is disabled from recovery

NukedBart commented Sep 11, 2021

that is very unclear, latest versions of Termux doesn’t use termux.net/bootstraps anymore to setup bootstraps by downloading it and termux.net is for legacy versions. instead it locally installs the bootstrap. maybe you chose the older version of termux or didn’t see the version properly. (eg. 0.17 instead of 0.117)

Also if you’re rooted, you could have played around with fire root. in that case you may try restoring correct permissions and selinux contexts using restorecon

Источник

Termux was unable to install the bootstrap packages что делать

Краткое описание:
Termux сочетает в себе мощные эмуляцию терминала с обширной коллекцией пакетов Linux.

Termux combines powerful terminal emulation with an extensive Linux package collection.

• Enjoy the bash and zsh shells.
• Edit files with nano and vim.
• Access servers over ssh.
• Compile code with gcc and clang.
• Use the python console as a pocket calculator.
• Check out projects with git and subversion.
• Run text-based games with frotz.

Читайте также:  к чему снится распустить волосы

Want to ask questions, report bugs or give feedback?
See https://termux.com/community

Версия: 0.102 Termux (digmavip)
Версия: 0.101 от 29/09/2020 (iMiKED)
Версия: 0.99 от 15/09/2020 (iMiKED)
Версия: 0.98 от 09/08/2020 (RiddickABSent)
Версия: 0.95 от 13/06/2020 (iMiKED)
Версия: 0.94 от 25/03/2020 (iMiKED)
Версия: 0.92 от 09/02/2020 (iMiKED)
Версия: 0.88 от 18/01/2020 (iMiKED)
Версия: 0.84 (7.0+)(f-droid) Сообщение №3704, автор blackeangel
Версия: 0.75 Оригинал (Ultra119)
Версия: 0.75 GP (Ultra119)
Версия: 0.73 04.08.19 GP (hackdog)
Версия: 0.72 Termux (Displax)
Версия: 0.71 Termux (Displax)
версия: 0.68 Termux (Пост Farthah #84737189)
версия: 0.66 Сообщение №1619, автор алекс12
версия: 0.65 Сообщение №785, автор алекс12
версия: 0.64 Сообщение №639, автор алекс12
версия: 0.63 Сообщение №635, автор алекс12
версия: 0.61 Сообщение №623, автор Evbuley
версия: 0.60 Termux (Пост алекс12 #69631056)
Версия: 0.59 Termux (Пост алекс12 #67845982)
Версия: 0.56 Termux (Пост алекс12 #67233087)
Версия: 0.54 Termux (Пост алекс12 #66459493)
Версия: 0.53 Termux (Пост алекс12 #62674540)
Версия: 0.52 Termux (Пост алекс12 #62332662)
версия: 0.51 Termux (Пост алекс12 #62106399)
версия: 0.48 Termux (Пост алекс12 #58901446)
версия: 0.47 Termux (Пост Ramzes26 #58821225)
версия: 0.46 Termux (Пост алекс12 #56940751)
версия: 0.42 Termux (Пост ilyaor #53212592)
версия: 0.34 com.termux_0.34.apk ( 149.44 КБ )

Примечательно, что хотя некоторые плагины платные, на странице автора есть ссылки на исходный код на github-e https://github.com/termux, т.е. можно самому собрать как само приложение так и все плагины; термукс из маркета надо будет удалить и собрать и установить руками потому что подписи должны совпадать.

Если кому-то лень самому собирать, в прицепе моя сборка с плагинами. Отдельно плагины из этой сборки не будут работать с версией из маркета, так как я все подписал своим серификатом, который ессно не совпадает с сертификатом автора.

Если кто-то хочет собрать из исходников, то помимо android sdk также потребуется ndk.

Хотя исходники платных плагинов открыты, я один плагин купил по-любому, потому что очень уж хочется поддержать разработчика за такой мега-подарок.

*ВАЖНО*: Только для андроид версии 5.х и выше!

Termux v0.46:
• Work better with the stock CyanogenMod and AOSP keyboards.
• Remove the shaking of the terminal on a bell character introduced in v0.44.
• Restore the ability to press Enter on the on-screen Android TV keyboard.
termux-app_v0.46.apk ( 176.21 КБ )

Termux:Styling v0.16:
• Add monochrome White on Black and Black on White color schemes.
termux-styling_v0.16.apk ( 1.72 МБ )

Termux:Widget v0.7:
• Update app icon.
termux-widget_v0.7.apk ( 54.1 КБ )

Termux:Task v0.1:
• Initial release for testing and feedback.
termux-task_v0.1.apk ( 942.95 КБ )

Termux:Boot v0.1:
• Initial release for testing and feedback.
termux-boot_v0.1.apk ( 26.4 КБ )

Termux:Float v0.7 (Original)

Источник

Termux was unable to install the bootstrap packages что делать

Краткое описание:
Termux сочетает в себе мощные эмуляцию терминала с обширной коллекцией пакетов Linux.

Termux combines powerful terminal emulation with an extensive Linux package collection.

• Enjoy the bash and zsh shells.
• Edit files with nano and vim.
• Access servers over ssh.
• Compile code with gcc and clang.
• Use the python console as a pocket calculator.
• Check out projects with git and subversion.
• Run text-based games with frotz.

Want to ask questions, report bugs or give feedback?
See https://termux.com/community

Версия: 0.102 Termux (digmavip)
Версия: 0.101 от 29/09/2020 (iMiKED)
Версия: 0.99 от 15/09/2020 (iMiKED)
Версия: 0.98 от 09/08/2020 (RiddickABSent)
Версия: 0.95 от 13/06/2020 (iMiKED)
Версия: 0.94 от 25/03/2020 (iMiKED)
Версия: 0.92 от 09/02/2020 (iMiKED)
Версия: 0.88 от 18/01/2020 (iMiKED)
Версия: 0.84 (7.0+)(f-droid) Сообщение №3704, автор blackeangel
Версия: 0.75 Оригинал (Ultra119)
Версия: 0.75 GP (Ultra119)
Версия: 0.73 04.08.19 GP (hackdog)
Версия: 0.72 Termux (Displax)
Версия: 0.71 Termux (Displax)
версия: 0.68 Termux (Пост Farthah #84737189)
версия: 0.66 Сообщение №1619, автор алекс12
версия: 0.65 Сообщение №785, автор алекс12
версия: 0.64 Сообщение №639, автор алекс12
версия: 0.63 Сообщение №635, автор алекс12
версия: 0.61 Сообщение №623, автор Evbuley
версия: 0.60 Termux (Пост алекс12 #69631056)
Версия: 0.59 Termux (Пост алекс12 #67845982)
Версия: 0.56 Termux (Пост алекс12 #67233087)
Версия: 0.54 Termux (Пост алекс12 #66459493)
Версия: 0.53 Termux (Пост алекс12 #62674540)
Версия: 0.52 Termux (Пост алекс12 #62332662)
версия: 0.51 Termux (Пост алекс12 #62106399)
версия: 0.48 Termux (Пост алекс12 #58901446)
версия: 0.47 Termux (Пост Ramzes26 #58821225)
версия: 0.46 Termux (Пост алекс12 #56940751)
версия: 0.42 Termux (Пост ilyaor #53212592)
версия: 0.34 com.termux_0.34.apk ( 149.44 КБ )

Читайте также:  Мамочка спасибо что ты есть

Примечательно, что хотя некоторые плагины платные, на странице автора есть ссылки на исходный код на github-e https://github.com/termux, т.е. можно самому собрать как само приложение так и все плагины; термукс из маркета надо будет удалить и собрать и установить руками потому что подписи должны совпадать.

Если кому-то лень самому собирать, в прицепе моя сборка с плагинами. Отдельно плагины из этой сборки не будут работать с версией из маркета, так как я все подписал своим серификатом, который ессно не совпадает с сертификатом автора.

Если кто-то хочет собрать из исходников, то помимо android sdk также потребуется ndk.

Хотя исходники платных плагинов открыты, я один плагин купил по-любому, потому что очень уж хочется поддержать разработчика за такой мега-подарок.

*ВАЖНО*: Только для андроид версии 5.х и выше!

Termux v0.46:
• Work better with the stock CyanogenMod and AOSP keyboards.
• Remove the shaking of the terminal on a bell character introduced in v0.44.
• Restore the ability to press Enter on the on-screen Android TV keyboard.
termux-app_v0.46.apk ( 176.21 КБ )

Termux:Styling v0.16:
• Add monochrome White on Black and Black on White color schemes.
termux-styling_v0.16.apk ( 1.72 МБ )

Termux:Widget v0.7:
• Update app icon.
termux-widget_v0.7.apk ( 54.1 КБ )

Termux:Task v0.1:
• Initial release for testing and feedback.
termux-task_v0.1.apk ( 942.95 КБ )

Termux:Boot v0.1:
• Initial release for testing and feedback.
termux-boot_v0.1.apk ( 26.4 КБ )

Termux:Float v0.7 (Original)

Источник

Basic use of termux

Introduction to Termux

downloads a newer coolapk version in Google Play, and plug-in is easy to install. Competent friends suggest that you first consider downloading the Google PLay version, then the F-Droid version, and finally the pitiful coolapk version.

Termux is the next advanced terminal emulator for Android, which is open source and does not require root, and supports apt Manage packages, easy to install, perfect support for Python, PHP, Ruby, Nodejs, MySQL, etc. As the popularity and performance of smart devices continue to improve, today’s hardware standards for mobile phones, tablets and so on have reached the hardware standards of primary desktop computers, to create DIY That turns your phone into a powerful geek tool.

The first time you start Termux, you need to load data from a remote server, but you may encounter this problem:

The official remote server address for Termux here is: http://termux.net/bootstrap/

There are two solutions currently:

basic operation

The basic operation still needs to be learned.

Scale Text

You can use zoom gestures to adjust the font size.Yes, just zoom in and out with your two fingers.

Long press screen

Long press on the screen will bring up display menu items (including copy, paste, more) for us to copy or paste

The description of the More menu is as follows:

session management

Show hidden navigation bar to create, switch, rename session, and invoke pop-up input

You can also see how many sessions Termux is currently running in Android’s notification bar:

Common keys

Common keys are the keys commonly used on the PC side, such as ESC, Tab, CTR, ALT keys, which can improve the efficiency of our daily operations, so Termux now displays this extended function key by default.(Not shown by default in 2018)

There are two ways to turn on and hide this extended function button:

Slide left to right, show hidden navigation bar, long press KEYBOARD in lower left corner

Use Termux shortcuts: Volume++ Q or Volume++ K

Customization is also supported for this common key in later Termux.

Fundamentals

Shortcut table

The Ctrl key is a common key used by end users, but most touch keyboards do not have it, so Termux uses the volume down button to simulate the Ctrl key.
For example, pressing Volume Decrease + L on a touch keyboard is equivalent to pressing Ctrl + L on the keyboard to clear the screen.

Читайте также:  а 100 на дороге что значит

Volume ++ key can also be used as a special key to generate a specific input.

Familiar with shortcuts can also greatly improve the efficiency of operations.

Basic Commands

In addition to supporting apt commands, Termux encapsulates pkg commands on this basis, which are downward compatible with apt commands.The apt command should be familiar to everyone. Here is a simple introduction to the pkg command:

I recommends that you use the pkg command, because it is very convenient to automatically execute apt update command every time when pkg command is executed

Software Installation

directory structure

Friends who have used Linux for a long time may find that this HOME path does not look the same as on our computers, because it is designed to facilitate the special environment variables provided by Termux.

Port View

Android version below 10

Versions below Andorid 10 can normally use the netstat command, which makes it easy to view port information

Android Version 10

Using nmap is a purely helpless operation, but it works.

Advanced Configuration

Advanced configuration is essential for a good experience.

Replace domestic sources

When using pkg update to update, we found that the default official source network speed is a bit slow. At this time, we will change to the domestic source of Termux Tsinghua University to speed up the download of software packages.

Method 1: Automatic replacement (recommended)

You can use the following commands to automatically replace the official source to a TUNA mirror source

Don’t wait foolishly if pkg update gets stuck, just pressing return a few times

Method 2: Manual modification

Use a text editor built in or installed in Termux, such as vi / vim / nano, to edit the source files directly. Do not use other external APPs with ROOT privileges, such as RE Manager, to modify Termux files

Install Base Tools

After replacing the source, download and install some basic tools, which are essentially built into the Linux system, because Termux does not carry these tools by default for its small size. Follow these commands to install:

Terminal color scheme

The script mainly uses zsh instead of bash as the default shell, supports color and font styles, and activates external storage to access directories directly under the SD card.The default theme is agnoster, the default color style is Tango, and the default font is Ubuntu.

Execute the following command to ensure that the curl command is installed

If port 443: Connection refused network timeout occurs, then execute the following command

Android 6.0 and above will pop-up box to confirm whether to authorize access to the file, click Always allow authorized Termux to access SD card files easily.

Mobile App can only access its own data by default. If you want to access the storage of your mobile phone, you need to request permission. If you just accidentally refused, you can execute the following commands to regain access:

Scripts allow the following two options:

Choose the color style and font style, respectively, and restart Termux app for configuration. If you want to continue changing the color scheme, you can change the corresponding color scheme according to the following commands:

Set the color style:

Enter chcolor command to change color style, or:

Run chfont to change the font, or:

Create directory soft link

After executing the configuration script above and granting access to Termux files, the storage directory is generated in the home directory and several directories are generated, with soft links pointing to the directory of the external storage card:

Create QQ Folder Soft link

Mobile QQ is often used on mobile phones to receive files. In order to facilitate file transfer, soft links are created directly in the storage directory.
QQ

Источник

Обзорно-познавательный сайт