Configuration
Users can configure the terminal in the termux.properties file. Unlike other terminal emulators, Termux's configuration is read within that file, rather than using graphical settings that users would have to use a text editor for.
Add-On
Termux also includes 6 add-ons, which are as follows;
Termux API - exposes Android functionality to CLI applications.
Termux Styling - Allows changing the color scheme and font of the terminal.
Termux Boot - Executes termux commands on boot.
Termux Widget - Let users run scripts in a dedicated widget or shortcut in the home screen.
Termux Float - Runs a terminal session in a floating window.
Termux Tasker - Plugin for integrating Tasker app into Termux.
Add-ons must be installed from the same source, because to use add-ons signed with the same signing key, there is the same user ID between these apps.
Package Management & Distribution
Packages in Termux are installed via the application's package manager ( pkg ) and use the .deb format by default. But normal Debian packages cannot be installed because Termux is not FHS compliant. Users can also create and submit packages.
Package Availability
Termux has more than 1000+ packages available till 2021. However, Termux is still relatively small compared to other distribution packages and some packages cannot be ported for various reasons including compilation.
Package Repository
Termux has 3 repositories available. The default Termux Bootstrap installation includes;
Main is the main repository, which contains all the CLI utilities and other popular Linux tools and language compilers/interpreters.
The x11-repo includes X11-based packages and graphical applications.
Root-repo contains packages that are only useful for rooted devices. However, some packages can be used without root but the functionality may be somewhat limited.
Google Play Update
Termux v0.101 is the last version to be updated in the Google Play Store. Google Play implemented apps to target in API level 29 from November 2020 which breaks execution of binaries on private applications directory.
According to Google:- Untrusted apps targeting Android 10 cannot enforce exec() execution on files within the app's home directory. This execution of files from the writable app home directory is a W^X violation. Apps should only load binary code, which is embedded in an app's APK file.
The Termux development team suggests moving to F-Droid to continue receiving updates.
Bintray Shutdown
On May 2021 Bintray ceased its services, which have been the primary hosting for Termux packages. Termux migrated to another hosting service and updating/installing packages causes 403/404 errors in older termux versions.
Comentários