Convert Figma logo to code with AI

termux logotermux-packages

A package build system for Termux.

12,955
2,982
12,955
698

Top Related Projects

🔥🔥🔥AidLearning is a powerful AIOT development platform, AidLearning builds a linux env supporting GUI, deep learning and visual IDE on Android...Now Aid supports CPU+GPU+NPU for inference with high performance acceleration...Linux on Android or HarmonyOS

Main UserLAnd Repository

Install and run GNU/Linux on Android

1,573

:computer: KiTTY, a free telnet/ssh client for Windows

Package manager for Chrome OS

Quick Overview

Termux-packages is the official package repository for Termux, a terminal emulator and Linux environment app for Android. It contains build scripts and patches for compiling various open-source software packages to run on Android devices through Termux.

Pros

  • Provides a wide range of Linux packages for Android users
  • Regularly updated and maintained by an active community
  • Enables powerful command-line tools and development environments on mobile devices
  • Customizable and extensible through user-contributed packages

Cons

  • Some packages may have limited functionality due to Android restrictions
  • Building packages can be resource-intensive and time-consuming
  • Occasional compatibility issues with certain Android devices or versions
  • Learning curve for users unfamiliar with Linux command-line environments

Getting Started

To use Termux-packages:

  1. Install Termux from the Google Play Store or F-Droid
  2. Open Termux and update the package lists:
    pkg update
    
  3. Install desired packages using the package manager:
    pkg install <package-name>
    
  4. For example, to install Python:
    pkg install python
    

Note: This is not a code library, so code examples are not applicable. The repository primarily contains build scripts and configuration files for package management in Termux.

Competitor Comparisons

🔥🔥🔥AidLearning is a powerful AIOT development platform, AidLearning builds a linux env supporting GUI, deep learning and visual IDE on Android...Now Aid supports CPU+GPU+NPU for inference with high performance acceleration...Linux on Android or HarmonyOS

Pros of AidLearning-FrameWork

  • Provides a complete AI development environment for mobile devices
  • Integrates popular AI frameworks like TensorFlow and PyTorch
  • Offers a graphical user interface for easier interaction

Cons of AidLearning-FrameWork

  • Larger footprint and resource consumption
  • Less flexibility for customization compared to Termux-packages
  • May have a steeper learning curve for users familiar with traditional Linux environments

Code Comparison

AidLearning-FrameWork:

from cvs import *
import numpy as np
import tensorflow as tf

model = tf.keras.models.load_model('my_model.h5')
result = model.predict(input_data)

Termux-packages:

pkg install python
pip install tensorflow
python -c "import tensorflow as tf; print(tf.__version__)"

The code snippets demonstrate the difference in approach. AidLearning-FrameWork provides a more integrated environment for AI development, while Termux-packages offers a more traditional Linux-style package management and setup process.

AidLearning-FrameWork is better suited for users who want a ready-to-use AI development environment on mobile devices, while Termux-packages is more appropriate for users who prefer a flexible, customizable Linux-like environment with the ability to install and configure AI tools manually.

Main UserLAnd Repository

Pros of UserLAnd

  • Provides a full Linux environment with a graphical user interface (GUI)
  • Supports multiple Linux distributions (e.g., Ubuntu, Debian, Kali)
  • Doesn't require root access on the Android device

Cons of UserLAnd

  • Larger app size and resource consumption
  • Less frequently updated compared to Termux-packages
  • More complex setup process for new users

Code Comparison

UserLAnd (Shell script for launching a distribution):

#!/bin/bash
. /support/common_functions.sh
dist_name="debian"
launch_distribution $dist_name $@

Termux-packages (Package build script):

TERMUX_PKG_HOMEPAGE=https://example.com
TERMUX_PKG_DESCRIPTION="Example package"
TERMUX_PKG_VERSION=1.0.0
TERMUX_PKG_SRCURL=https://example.com/source.tar.gz
TERMUX_PKG_SHA256=abcdef1234567890...

UserLAnd focuses on providing a complete Linux environment with GUI support, making it suitable for users who need a more traditional desktop experience. However, this comes at the cost of increased resource usage and a more complex setup.

Termux-packages, on the other hand, offers a lightweight command-line environment with a wide range of packages, making it more suitable for users who prefer a minimalist approach and are comfortable with the terminal. It's also more frequently updated and has a simpler setup process.

Install and run GNU/Linux on Android

Pros of LinuxDeploy

  • Allows installation of full Linux distributions on Android
  • Provides a more complete Linux environment with init system
  • Supports multiple Linux distributions (Debian, Ubuntu, Kali, etc.)

Cons of LinuxDeploy

  • Requires root access on the Android device
  • May have higher resource usage compared to Termux
  • Less frequently updated than Termux Packages

Code Comparison

LinuxDeploy (shell script for chroot environment):

#!/system/bin/sh
mount -o bind /dev $TARGET_PATH/dev
mount -t proc proc $TARGET_PATH/proc
mount -t sysfs sysfs $TARGET_PATH/sys
chroot $TARGET_PATH /bin/bash

Termux Packages (package build script):

TERMUX_PKG_HOMEPAGE=https://example.com
TERMUX_PKG_DESCRIPTION="Example package"
TERMUX_PKG_VERSION=1.0.0
TERMUX_PKG_SRCURL=https://example.com/source.tar.gz
TERMUX_PKG_SHA256=abcdef1234567890abcdef1234567890

While LinuxDeploy focuses on creating a chroot environment for running full Linux distributions, Termux Packages aims to provide individual packages compiled specifically for the Termux environment. LinuxDeploy offers a more complete Linux experience but requires root access, while Termux Packages provides a rootless solution with a wide range of packages optimized for Android.

1,573

:computer: KiTTY, a free telnet/ssh client for Windows

Pros of KiTTY

  • Focused on SSH client functionality with enhanced features
  • Portable Windows application, no installation required
  • Includes session management and scripting capabilities

Cons of KiTTY

  • Limited to Windows platform
  • Smaller community and less frequent updates
  • Narrower scope compared to Termux's package ecosystem

Code Comparison

KiTTY (config example):

Host example
    HostName example.com
    User myuser
    Port 22
    IdentityFile ~/.ssh/id_rsa

Termux (package installation):

pkg install openssh
ssh-keygen -t rsa
ssh user@example.com

Summary

KiTTY is a Windows-specific SSH client with advanced features, while Termux-packages is a comprehensive package repository for Android terminal emulation. KiTTY offers a portable solution with session management, but is limited to Windows. Termux provides a broader range of packages and tools for Android users, enabling a Linux-like environment on mobile devices. The code comparison illustrates KiTTY's configuration approach versus Termux's package management and SSH setup process.

Package manager for Chrome OS

Pros of Chromebrew

  • Designed specifically for Chrome OS, offering better integration with the system
  • Supports a wider range of architectures, including x86, x86_64, and ARM
  • Provides a more user-friendly installation process for Chrome OS users

Cons of Chromebrew

  • Smaller package repository compared to Termux
  • Less frequent updates and maintenance
  • Limited to Chrome OS, while Termux works on various Android devices

Code Comparison

Termux package installation:

pkg install package_name

Chromebrew package installation:

crew install package_name

Both projects use similar package management systems, but with different command structures. Termux uses pkg as its package manager, while Chromebrew uses crew.

Termux-packages is primarily focused on providing a Linux-like environment for Android devices, offering a wide range of packages and tools. It has a larger community and more frequent updates.

Chromebrew, on the other hand, is tailored for Chrome OS users who want to enhance their system with additional packages and development tools. While it has a smaller package repository, it offers better integration with Chrome OS and supports multiple architectures.

Both projects aim to bring additional functionality to their respective platforms, but they cater to different user bases and have distinct strengths and limitations.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Termux packages

GitHub repo size Packages last build status Docker image status Repology metadata Join the chat at https://gitter.im/termux/termux Join the Termux discord server

Repository status

Hosted by Hetzner

This project contains scripts and patches to build packages for the Termux Android application.

Quick how-to about Termux package management is available at Package Management. It also has info on how to fix repository is under maintenance or down errors when running apt or pkg commands.

Contributing

Read CONTRIBUTING.md and Developer's Wiki for more details.

Contacts

General mailing list: https://groups.io/g/termux

Developer mailing list: https://groups.io/g/termux-dev

General chat: https://gitter.im/termux/termux or #termux on IRC/libera.chat.

Developer chat: https://gitter.im/termux/dev.