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.
-
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.
To install the script, follow these steps:
- Download the Script:
curl -O https://github.com/craftingeagle/Termux-Package-Manager-Enhancements.git
- Make the Script Executable:
chmod +x termux_manager.sh
- Move the Script to a Directory in Your PATH:
mv termux_manager.sh /usr/local/bin/termux_manager
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 dailyBackup Packages and Configurations
termux_manager backup /path/to/backup_directoryRestore Packages and Configurations
termux_manager restore /path/to/backup_directoryDisplay Help
termux_manager HelpExamples
- Install a Package:
termux_manager install vim- Schedule Automatic Updates at 3 AM Every Day:
termux_manager update "0 3 * * *"- Backup to a Directory:
termux_manager backup ~/termux_backup- Restore from a Backup:
termux_manager restore ~/termux_backupWe welcome contributions! Please open an issue or submit a pull request on GitHub.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or feedback, please contact [email protected]