Skip to content

NiDrZero/Termux-Package-Manager-Enhancements

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Termux Package Manager Enhancements

Version License Status

NOTE: Script is only slightly modified for my personal desire!

Overview

Termux Package Manager Enhancements is a script designed to improve the package management capabilities of Termux. It provides advanced dependency management, automatic updates and upgrade scheduling, a user-friendly command-line interface, and backup and restore functionality for packages and configurations.

Features

  • Advanced Dependency Management

    • Automatically resolve and install package dependencies.
    • Detect and warn about package conflicts.
  • Automatic Updates and Upgrade Scheduling

    • Schedule automatic package updates.
    • Notification options before updates.
    • Rollback functionality for updates.
  • User-friendly Command-line Interface Enhancements

    • Intuitive commands for managing packages and configurations.
    • Interactive prompts for critical actions.
    • Comprehensive help and documentation.
  • Backup and Restore Functionality

    • Backup installed packages and their configurations.
    • Restore packages and configurations from backups.

Installation

To install the script, follow these steps:

  1. Clone The Repo:
    git clone https://github.com/NiDrZero/Termux-Package-Manager-Enhancements.git
  2. Make the Script Executable:
    chmod +x termux_manager.sh
  3. Move the Script to a Directory in Your PATH:
    mv termux_manager.sh ~/.local/bin/termux_manager

Usage

Install a Package with Dependencies

termux_manager install <package_name>

Schedule Automatic Updates

termux_manager update "<cron_schedule>"

Example:

termux_manager update "0 2 * * *"  # Schedule updates at 2 AM daily

Backup Packages and Configurations

termux_manager backup /path/to/backup_directory

Restore Packages and Configurations

termux_manager restore /path/to/backup_directory

Display Help

termux_manager Help

Search For Packages

termux_manager search <package name>

Examples

  1. Install a Package:
termux_manager install vim
  1. Schedule Automatic Updates at 3 AM Every Day:
termux_manager update "0 3 * * *"
  1. Backup to a Directory:
termux_manager backup ~/termux_backup
  1. Restore from a Backup:
termux_manager restore ~/termux_backup
  1. Search For A Package:
termux_manager search vim

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Improve the package management experience in Termux by adding new features or enhancing existing ones

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%