मंगलवार, 23 सितंबर 2025

Docs: https://doc.termux.com
Community: https://community.termux.com

Working with packages:
 - Search: pkg search <query>
 - Install: pkg install <package>
 - Upgrade: pkg upgrade

Report issues at https://bugs.termux.com
~ $ https://f-droid.org/en/packages/com.termux/pkg update && pkg upgrade -y
bash: https://f-droid.org/en/packages/com.termux/pkg: No such file or directory
~ $ pkg install root-repo -y
Get:1 https://termux.net stable InRelease [1089 B]
Get:2 https://termux.net stable/main aarch64 Packages [245 kB]
Fetched 246 kB in 1s (376 kB/s)
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Installing:
  root-repo

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 1
  Download size: 1124 B
  Space needed: 53.2 kB

Get:1 https://termux.net stable/main aarch64 root-repo all 2.4-4 [1124 B]
Fetched 1124 B in 0s (4800 B/s)
pkg install x11-repo -y
pkg install proot-distro git curl wget nano htop -y
proot-distro install ubuntu
proot-distro login ubuntu
apt update && apt upgrade -y
apt install podman -y
1
nvcr.io/nvidia/cuda:13.0.1-devel-rockylinux9Selecting previously unselected package root-repo.
(Reading database ... 4029 files and directories currently installed.)
Preparing to unpack .../root-repo_2.4-4_all.deb ...
Unpacking root-repo (2.4-4) ...
Setting up root-repo (2.4-4) ...
Hit:1 https://termux.net stable InRelease
Get:2 https://root-packages.termux.net root InRelease [1074 B]
Get:3 https://root-packages.termux.net root/main aarch64 Packages [10.7 kB]
Fetched 11.8 kB in 0s (27.4 kB/s)
1 package can be upgraded. Run 'apt list --upgradable' to see it.
~ $ proot-distro login ubuntu
The program proot-distro is not installed. Install it by executing:
 pkg install proot-distro
~ $ apt update && apt upgrade -y
Hit:1 https://termux.net stable InRelease
Hit:2 https://root-packages.termux.net root InRelease
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Upgrading:
  command-not-found

Summary:
  Upgrading: 1, Installing: 0, Removing: 0, Not Upgrading: 0
  Download size: 102 kB
  Space needed: 4096 B

Get:1 https://termux.net stable/main aarch64 command-not-found aarch64 3.1-13 [102 kB]
Fetched 102 kB in 0s (364 kB/s)
apt install podman -y
(Reading database ... 4032 files and directories currently installed.)
Preparing to unpack .../command-not-found_3.1-13_aarch64.deb ...
Unpacking command-not-found (3.1-13) over (3.1-12) ...
Setting up command-not-found (3.1-13) ...
~ $ proot-distro login ubuntu
The program proot-distro is not installed. Install it by executing:
 pkg install proot-distro
~ $ apt update && apt upgrade -y
Hit:1 https://root-packages.termux.net root InRelease
Hit:2 https://termux.net stable InRelease
All packages are up to date.
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
~ $ podman run hello-world
No command podman found, did you mean:
 Command pod2man in package perl
~ $ podman pull nvcr.io/nvidia/pytorch:24.01-py3
No command podman found, did you mean:
 Command pod2man in package perl
~ $ podman run -it nvcr.io/nvidia/pytorch:24.01-py3 python3
No command podman found, did you mean:
 Command pod2man in package perl
~ $ proot-distro login ubuntu
The program proot-distro is not installed. Install it by executing:
 pkg install proot-distro
~ $ apt update && apt upgrade -y
Hit:1 https://root-packages.termux.net root InRelease
Hit:2 https://termux.net stable InRelease
All packages are up to date.
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
~ $ apt install podman -y
Error: Unable to locate package podman
~ $ podman run hello-world
No command podman found, did you mean:
 Command pod2man in package perl
~ $ podman pull nvcr.io/nvidia/pytorch:24.01-py3
No command podman found, did you mean:
 Command pod2man in package perl
~ $ podman run -it nvcr.io/nvidia/pytorch:24.01-py3 python3
No command podman found, did you mean:
 Command pod2man in package perl
~ $ pkg install python
-smi
!docker pull nvcr.io/nvidia/pytorch:24.01-py3
!docker run --gpus all -it nvcr.io/nvidia/pytorch:24.01-Installing:
  python

Installing dependencies:
  clang libxml2
  gdbm lld
  glib llvm
  libandroid-posix-semaphore make
  libcompiler-rt ncurses-ui-libs
  libcrypt ndk-sysroot
  libexpat pkg-config
  libffi python-ensurepip-wheels
  libllvm python-pip
  libsqlite zstd

Summary:
  Upgrading: 0, Installing: 21, Removing: 0, Not Upgrading: 0
  Download size: 97.3 MB
  Space needed: 617 MB

Continue? [Y/n] pkg install proot-distro
proot-distro install ubuntu
proot-distro login ubuntu
apt update
apt installAbort.
 podman
pkg install python
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
~ $ proot-distro install ubuntu
The program proot-distro is not installed. Install it by executing:
 pkg install proot-distro
~ $ proot-distro login ubuntu
The program proot-distro is not installed. Install it by executing:
 pkg install proot-distro
~ $ apt update
Hit:1 https://root-packages.termux.net root InRelease
Hit:2 https://termux.net stable InRelease
All packages are up to date.
~ $ apt install podman
Error: Unable to locate package podman
~ $ pkg install python
Installing:
  python

Installing dependencies:
  clang libxml2
  gdbm lld
  glib llvm
  libandroid-posix-semaphore make
  libcompiler-rt ncurses-ui-libs
  libcrypt ndk-sysroot
  libexpat pkg-config
  libffi python-ensurepip-wheels
  libllvm python-pip
  libsqlite zstd

Summary:
  Upgrading: 0, Installing: 21, Removing: 0, Not Upgrading: 0
  Download size: 97.3 MB
  Space needed: 617 MB

Continue? [Y/n] pkg update
pkg upgrade -y
pkg install proot-distro -y
which proot-distro
proot-Abort.
distro install ubuntu
proot-distro login ubuntu
Error: Unable to locate package podman
pkg install python -y
pip install --upgrade pip
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
~ $ pkg upgrade -y
Hit:1 https://termux.net stable InRelease
Hit:2 https://root-packages.termux.net root InRelease
All packages are up to date.
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
~ $ pkg install proot-distro -y
Installing:
  proot-distro

Installing dependencies:
  bzip2 gzip ncurses-utils xz-utils
  file libtalloc proot

Suggested packages:
  bash-completion termux-api

Summary:
  Upgrading: 0, Installing: 8, Removing: 0, Not Upgrading: 0
  Download size: 817 kB
  Space needed: 12.3 MB

Get:1 https://termux.net stable/main aarch64 bzip2 aarch64 1.0.8-8 [26.2 kB]
Get:2 https://termux.net stable/main aarch64 file aarch64 5.46-2 [397 kB]
Get:3 https://termux.net stable/main aarch64 gzip aarch64 1.14-2 [87.7 kB]
Get:4 https://termux.net stable/main aarch64 libtalloc aarch64 2.4.3 [33.1 kB]
Get:5 https://termux.net stable/main aarch64 ncurses-utils aarch64 6.5.20240831-3 [87.8 kB]
Get:6 https://termux.net stable/main aarch64 proot aarch64 5.1.107-67 [83.2 kB]
Get:7 https://termux.net stable/main aarch64 xz-utils aarch64 5.8.1-1 [70.9 kB]
Get:8 https://termux.net stable/main aarch64 proot-distro all 4.29.0 [31.4 kB]
Fetched 817 kB in 0s (1915 kB/s)
which proot-distro
proot-distro install ubuntu
proot-distro login ubuntu
Error: Unable to locate package podman
pkg install python -y
pip install --upgrade pip
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
Selecting previously unselected package bzip2.
(Reading database ... 4032 files and directories currently installed.)
Preparing to unpack .../0-bzip2_1.0.8-8_aarch64.deb ...
Unpacking bzip2 (1.0.8-8) ...
Selecting previously unselected package file.
Preparing to unpack .../1-file_5.46-2_aarch64.deb ...
Unpacking file (5.46-2) ...
Selecting previously unselected package gzip.
Preparing to unpack .../2-gzip_1.14-2_aarch64.deb ...
Unpacking gzip (1.14-2) ...
Selecting previously unselected package libtalloc.
Preparing to unpack .../3-libtalloc_2.4.3_aarch64.deb ...
Unpacking libtalloc (2.4.3) ...
Selecting previously unselected package ncurses-utils.
Preparing to unpack .../4-ncurses-utils_6.5.20240831-3_aarch64.deb ...
Unpacking ncurses-utils (6.5.20240831-3) ...
Selecting previously unselected package proot.
Preparing to unpack .../5-proot_5.1.107-67_aarch64.deb ...
Unpacking proot (5.1.107-67) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../6-xz-utils_5.8.1-1_aarch64.deb ...
Unpacking xz-utils (5.8.1-1) ...
Selecting previously unselected package proot-distro.
Preparing to unpack .../7-proot-distro_4.29.0_all.deb ...
Unpacking proot-distro (4.29.0) ...
Setting up file (5.46-2) ...
Setting up ncurses-utils (6.5.20240831-3) ...
Setting up bzip2 (1.0.8-8) ...
Setting up xz-utils (5.8.1-1) ...
Setting up gzip (1.14-2) ...
Setting up libtalloc (2.4.3) ...
Setting up proot (5.1.107-67) ...
Setting up proot-distro (4.29.0) ...
~ $ pkg install python -y
orchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pkg update && pkg upgrade -y
proot-distro install ubuntu
proot-distro login ubuntu
pkg install proot-distro python -y
apt update && apt upgrade -y
apt install python3-pip -y
pip install --upgrade pip
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
python3 -c "import torch; print(torch.__version__); print(torch.rand(2,3))"
Installing:
  python

Installing dependencies:
  clang libxml2
  gdbm lld
  glib llvm
  libandroid-posix-semaphore make
  libcompiler-rt ncurses-ui-libs
  libcrypt ndk-sysroot
  libexpat pkg-config
  libffi python-ensurepip-wheels
  libllvm python-pip
  libsqlite zstd

Summary:
  Upgrading: 0, Installing: 21, Removing: 0, Not Upgrading: 0
  Download size: 97.3 MB
  Space needed: 617 MB

Get:1 https://termux.net stable/main aarch64 libcompiler-rt aarch64 20.1.8-3 [2804 kB]
Get:2 https://termux.net stable/main aarch64 libffi aarch64 3.4.7-1 [30.7 kB]
Get:3 https://termux.net stable/main aarch64 libxml2 aarch64 2.14.6 [453 kB]
Get:4 https://termux.net stable/main aarch64 zstd aarch64 1.5.7-1 [360 kB]
Get:5 https://termux.net stable/main aarch64 libllvm aarch64 20.1.8-3 [29.1 MB]
Get:6 https://termux.net stable/main aarch64 lld aarch64 20.1.8-3 [2516 kB]
Get:7 https://termux.net stable/main aarch64 llvm aarch64 20.1.8-3 [14.2 MB]
Get:8 https://termux.net stable/main aarch64 ndk-sysroot aarch64 28c [1764 kB]
Get:9 https://termux.net stable/main aarch64 clang aarch64 20.1.8-3 [29.4 MB]
Get:10 https://termux.net stable/main aarch64 gdbm aarch64 1.26-1 [150 kB]
Get:11 https://termux.net stable/main aarch64 libandroid-posix-semaphore aarch64 0.1-4 [4084 B]
Get:12 https://termux.net stable/main aarch64 libcrypt aarch64 0.2-6 [8868 B]
Get:13 https://termux.net stable/main aarch64 libexpat aarch64 2.7.2 [90.0 kB]
Get:14 https://termux.net stable/main aarch64 libsqlite aarch64 3.50.4-1 [634 kB]
Get:15 https://termux.net stable/main aarch64 ncurses-ui-libs aarch64 6.5.20240831-3 [33.0 kB]
Get:16 https://termux.net stable/main aarch64 python aarch64 3.12.11-1 [8742 kB]
Get:17 https://termux.net stable/main aarch64 glib aarch64 2.84.4 [2542 kB]
Get:18 https://termux.net stable/main aarch64 make aarch64 4.4.1-1 [240 kB]
Get:19 https://termux.net stable/main aarch64 pkg-config aarch64 0.29.2-3 [32.8 kB]
Get:20 https://termux.net stable/main aarch64 python-ensurepip-wheels all 3.12.11-1 [1802 kB]
Get:21 https://termux.net stable/main aarch64 python-pip all 25.2 [2387 kB]
Fetched 97.3 MB in 19s (5231 kB/s)
pip install --upgrade pip
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pkg update && pkg upgrade -y
proot-distro install ubuntu
proot-distro login ubuntu
pkg install proot-distro python -y
apt update && apt upgrade -y
apt install python3-pip -y
pip install --upgrade pip
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
python3 -c "import torch; print(torch.__version__); print(torch.rand(2,3))"
Selecting previously unselected package libcompiler-rt.
(Reading database ... 4185 files and directories currently installed.)
Preparing to unpack .../00-libcompiler-rt_20.1.8-3_aarch64.deb ...
Unpacking libcompiler-rt (20.1.8-3) ...
Selecting previously unselected package libffi.
Preparing to unpack .../01-libffi_3.4.7-1_aarch64.deb ...
Unpacking libffi (3.4.7-1) ...
Selecting previously unselected package libxml2.
Preparing to unpack .../02-libxml2_2.14.6_aarch64.deb ...
Unpacking libxml2 (2.14.6) ...
Selecting previously unselected package zstd.
Preparing to unpack .../03-zstd_1.5.7-1_aarch64.deb ...
Unpacking zstd (1.5.7-1) ...
Selecting previously unselected package libllvm.
Preparing to unpack .../04-libllvm_20.1.8-3_aarch64.deb ...
Unpacking libllvm (20.1.8-3) ...
Selecting previously unselected package lld.
Preparing to unpack .../05-lld_20.1.8-3_aarch64.deb ...
Unpacking lld (20.1.8-3) ...
Selecting previously unselected package llvm.
Preparing to unpack .../06-llvm_20.1.8-3_aarch64.deb ...
Unpacking llvm (20.1.8-3) ...
Selecting previously unselected package ndk-sysroot.
Preparing to unpack .../07-ndk-sysroot_28c_aarch64.deb ...
Unpacking ndk-sysroot (28c) ...
Selecting previously unselected package clang.
Preparing to unpack .../08-clang_20.1.8-3_aarch64.deb ...
Unpacking clang (20.1.8-3) ...
Selecting previously unselected package gdbm.
Preparing to unpack .../09-gdbm_1.26-1_aarch64.deb ...
Unpacking gdbm (1.26-1) ...
Selecting previously unselected package libandroid-posix-semaphore.
Preparing to unpack .../10-libandroid-posix-semaphore_0.1-4_aarch64.deb ...
Unpacking libandroid-posix-semaphore (0.1-4) ...
Selecting previously unselected package libcrypt.
Preparing to unpack .../11-libcrypt_0.2-6_aarch64.deb ...
Unpacking libcrypt (0.2-6) ...
Selecting previously unselected package libexpat.
Preparing to unpack .../12-libexpat_2.7.2_aarch64.deb ...
Unpacking libexpat (2.7.2) ...
Selecting previously unselected package libsqlite.
Preparing to unpack .../13-libsqlite_3.50.4-1_aarch64.deb ...
Unpacking libsqlite (3.50.4-1) ...
Selecting previously unselected package ncurses-ui-libs.
Preparing to unpack .../14-ncurses-ui-libs_6.5.20240831-3_aarch64.deb ...
Unpacking ncurses-ui-libs (6.5.20240831-3) ...
Selecting previously unselected package python.
Preparing to unpack .../15-python_3.12.11-1_aarch64.deb ...
Unpacking python (3.12.11-1) ...
Selecting previously unselected package glib.
Preparing to unpack .../16-glib_2.84.4_aarch64.deb ...
Unpacking glib (2.84.4) ...
Selecting previously unselected package make.
Preparing to unpack .../17-make_4.4.1-1_aarch64.deb ...
Unpacking make (4.4.1-1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../18-pkg-config_0.29.2-3_aarch64.deb ...
Unpacking pkg-config (0.29.2-3) ...
Selecting previously unselected package python-ensurepip-wheels.
Preparing to unpack .../19-python-ensurepip-wheels_3.12.11-1_all.deb ...
Unpacking python-ensurepip-wheels (3.12.11-1) ...
Selecting previously unselected package python-pip.
Preparing to unpack .../20-python-pip_25.2_all.deb ...
Unpacking python-pip (25.2) ...
Setting up gdbm (1.26-1) ...
Setting up ndk-sysroot (28c) ...
Setting up libexpat (2.7.2) ...
Setting up libandroid-posix-semaphore (0.1-4) ...
Setting up libsqlite (3.50.4-1) ...
Setting up libffi (3.4.7-1) ...
Setting up libcrypt (0.2-6) ...
Setting up ncurses-ui-libs (6.5.20240831-3) ...
Setting up make (4.4.1-1) ...
Setting up libcompiler-rt (20.1.8-3) ...
Setting up python (3.12.11-1) ...
Setting up libxml2 (2.14.6) ...
Setting up zstd (1.5.7-1) ...
Setting up python-ensurepip-wheels (3.12.11-1) ...
Setting up libllvm (20.1.8-3) ...
Setting up glib (2.84.4) ...
No schema files found: doing nothing.
Setting up lld (20.1.8-3) ...
Setting up pkg-config (0.29.2-3) ...
Setting up llvm (20.1.8-3) ...
Setting up clang (20.1.8-3) ...
Setting up python-pip (25.2) ...
pip setup...
Writing to /data/data/com.termux/files/usr/etc/pip.conf
~ $ pkg update && pkg upgrade -y
 tensor: tensor([[0.1234, 0.5678, 0.9101],
                       [0.1112, 0.1314, 0.1516]])
Hit:1 https://root-packages.termux.net root InRelease
Hit:2 https://termux.net stable InRelease
All packages are up to date.
Hit:1 https://root-packages.termux.net root InRelease
Hit:2 https://termux.net stable InRelease
All packages are up to date.
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
~ $ pkg install proot-distro -y
proot-distro is already the newest version (4.29.0).
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
~ $ proot-distro install ubuntu
[*] Installing Ubuntu (24.04)...
[*] Creating directory '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu'...
[*] Creating directory '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu/.l2s'...
[*] Creating directory '/data/data/com.termux/files/usr/var/lib/proot-distro/dlcache'...
[*] Downloading rootfs tarball...
[*] URL: https://github.com/termux/proot-distro/releases/download/v4.18.0/ubuntu-noble-aarch64-pd-v4.18.0.tar.xz

  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- - 0 0 0 0 0 0 0 0 --:--:-- - 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
  2 61.1M 2 1536k 0 0 1134k 0 0:00:55 6 61.1M 6 4383k 0 0 1862k 0 0:00:33 11 61.1M 11 7134k 0 0 2125k 0 0:00:29 15 61.1M 15 9502k 0 0 2182k 0 0:00:28 19 61.1M 19 11.6M 0 0 2234k 0 0:00:28 22 61.1M 22 13.9M 0 0 2242k 0 0:00:27 26 61.1M 26 16.0M 0 0 2233k 0 0:00:28 29 61.1M 29 18.1M 0 0 2229k 0 0:00:28 33 61.1M 33 20.2M 0 0 2212k 0 0:00:28 36 61.1M 36 22.1M 0 0 2191k 0 0:00:28 39 61.1M 39 24.0M 0 0 2168k 0 0:00:28 42 61.1M 42 26.0M 0 0 2158k 0 0:00:29 46 61.1M 46 28.2M 0 0 2162k 0 0:00:28 49 61.1M 49 30.2M 0 0 2160k 0 0:00:28 52 61.1M 52 32.2M 0 0 2153k 0 0:00:29 56 61.1M 56 34.3M 0 0 2148k 0 0:00:29 59 61.1M 59 36.2M 0 0 2140k 0 0:00:29 62 61.1M 62 38.2M 0 0 2135k 0 0:00:29 65 61.1M 65 40.2M 0 0 2131k 0 0:00:29 69 61.1M 69 42.2M 0 0 2127k 0 0:00:29 72 61.1M 72 44.1M 0 0 2116k 0 0:00:29 75 61.1M 75 45.9M 0 0 2105k 0 0:00:29 78 61.1M 78 47.8M 0 0 2099k 0 0:00:29 81 61.1M 81 49.7M 0 0 2093k 0 0:00:29 84 61.1M 84 51.7M 0 0 2090k 0 0:00:29 87 61.1M 87 53.6M 0 0 2086k 0 0:00:30 90 61.1M 90 55.4M 0 0 2074k 0 0:00:30 93 61.1M 93 57.3M 0 0 2071k 0 0:00:30 98 61.1M 98 60.5M 0 0 2110k 0 0:00:29 100 61.1M 100 61.1M 0 0 2122k 0 0:00:29 0:00:29 --:--:-- 2314k

[*] Checking integrity, please wait...
[*] Extracting rootfs, please wait...
[*] Writing file '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu/etc/environment'...
[*] Updating PATH in '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu/etc/bash.bashrc' if needed...
[*] Updating PATH in '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu/etc

कोई टिप्पणी नहीं:

एक टिप्पणी भेजें

Docs: https://doc.termux.com Community: https://community.termux.com Working with packages:  - Search: pkg search <query>  - I...