All Projects → termux → Termux Apt Repo

termux / Termux Apt Repo

Licence: apache-2.0
Script to create Termux apt repositories.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Termux Apt Repo

Pacaptr
Pacman-like syntax wrapper for many package managers.
Stars: ✭ 138 (+5.34%)
Mutual labels:  package-manager, apt
ansible-apt
Ansible role to manage packages and up(date|grade)s in Debian-like systems
Stars: ✭ 21 (-83.97%)
Mutual labels:  package-manager, apt
termux-x
it is unofficial repository maintained by me @Hax4us. you can check available packages in README
Stars: ✭ 87 (-33.59%)
Mutual labels:  apt, termux
Zebra
🦓 A Useful Package Manager for iOS
Stars: ✭ 667 (+409.16%)
Mutual labels:  package-manager, apt
meta-package-manager
🎁 a wrapper around all package managers
Stars: ✭ 277 (+111.45%)
Mutual labels:  package-manager, apt
Apt Offline
Offline APT Package Manager
Stars: ✭ 102 (-22.14%)
Mutual labels:  package-manager, apt
Zpm
ZPM — Zsh Plugin Manager
Stars: ✭ 112 (-14.5%)
Mutual labels:  termux
Pnpm
Fast, disk space efficient package manager -- 快速的,节省磁盘空间的包管理工具
Stars: ✭ 14,219 (+10754.2%)
Mutual labels:  package-manager
Nexus Repository Apt
A Nexus Repository 3 plugin that allows usage of apt repositories
Stars: ✭ 109 (-16.79%)
Mutual labels:  apt
Alire
Command-line tool from the Alire project and supporting library
Stars: ✭ 108 (-17.56%)
Mutual labels:  package-manager
Core Plans
Core Habitat Plan definitions
Stars: ✭ 129 (-1.53%)
Mutual labels:  package-manager
Integration
HACS gives you a powerful UI to handle downloads of all your custom needs.
Stars: ✭ 2,114 (+1513.74%)
Mutual labels:  package-manager
Mint
A package manager that installs and runs executable Swift packages
Stars: ✭ 1,750 (+1235.88%)
Mutual labels:  package-manager
Bpkg
Lightweight bash package manager
Stars: ✭ 1,601 (+1122.14%)
Mutual labels:  package-manager
Gyro
A zig package manager with an index, build runner, and build dependencies
Stars: ✭ 126 (-3.82%)
Mutual labels:  package-manager
Termux Extra Packages
Stars: ✭ 110 (-16.03%)
Mutual labels:  termux
Swiftbrew
Homebrew for Swift packages
Stars: ✭ 129 (-1.53%)
Mutual labels:  package-manager
Vulrec
Vulnerability Recurrence:漏洞复现记录
Stars: ✭ 109 (-16.79%)
Mutual labels:  apt
Toolsig
toolsigv3.1 (Instagram Tools)
Stars: ✭ 121 (-7.63%)
Mutual labels:  termux
Anlinux Adfree
AnLinux, Ad free version.
Stars: ✭ 127 (-3.05%)
Mutual labels:  termux

termux-apt-repo

Script to create Termux <https://termux.com>__ package repos.

It can be used to publish cross-compiled packages created using the Termux build setup <https://github.com/termux/termux-packages>__ or with packages created (possibly on-device) with termux-create-package <https://github.com/termux/termux-create-package>__.

Usage instructions

In Termux, install with packages install termux-apt-repo and execute as:

::

termux-apt-repo [-h] [--use-hard-links] input output [dist] [comp]

positional arguments:
input             folder where .deb files are located
output            folder with repository tree
dist              name of distribution folder. deb files are put into
                  output/dists/distribution/component/binary-$ARCH/
comp              name of component folder. deb files are put into
                  output/dists/distribution/component/binary-$ARCH/

optional arguments:
-h, --help        show this help message and exit
--use-hard-links  use hard links instead of copying deb files. Will not work
                  on an android device

When using outside Termux (the script should work on most Linux distributions), install with pip3 install termux-apt-repo.

All the .deb files in the first directory will be published to a newly created APT repository in the second directory (which will be deleted if it exists, so take caution).

Publishing the generated folder

The published folder can be made available at a publicly accessible $REPO_URL using any method:

  1. By running termux-apt-repository on a web server directly.
  2. Using rsync: rsync --delete -r <apt-repository-directory> your.host:path/to/folder.
  3. Creating a zip or tar file and unpacking it at a web server.
  4. Any other creative way.

It can also be published using e.g. GitHub pages <https://pages.github.com/>__.

Accessing the repository

With the created <apt-repository-directory> available at $REPO_URL, users can access repo by creating a file:

::

$PREFIX/etc/apt/sources.list.d

containing the single line:

::

deb [trusted=yes] $REPO_URL $dist $comp

[trusted=yes] is needed if the repo has not been signed with a gpg key. To sign it, edit termux-apt-repo and change if False: to if True: near end of script. The signing key then has to be imported by the user to make apt trust it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].