au

au

-r–r–r– au

-rwxrwx— au

Tapping au at the command prompt 💪 in Termux 🙂 will update and backup your Termux Packages installation in three keystrokes! You can use au 📲 to backup your installation files in Termux, i.e. *.deb files available for reinstallation, if the need should arise on your Android or Chrome device.

Should you find your Termux operating system unstable after updating, ensure that Android and Termux app are also updated to their newest versions, too.

You can use dpkg --purge pkg_name, and then dpkg --install pkg_name from /storage/emulated/0/Android/data/com.termux/txdebs to downgrade packages to a previous version of a package in the hope of regaining package stability in Termux.

You should use the script au from your $PATH. To see your $PATH, type $PATH +enter/return. Then use mv au destination_directory to move au to your $PATH. au will update and backup your Termux in three keystrokes!

Every time you want to apt update && apt upgrade and pkg up, you will also be backing up your former installation debs to /storage/emulated/0/Android/data/com.termux/txdebs by using au. Ideally, you should change /storage/emulated/0/Android/data/com.termux/txdebs to an external mirco SD card destination in lines 8 and 10 of au to save space on device!

If you find your system unstable, you can use dpkg --purge pkg_name and then dpkg --install pkg_name from /storage/emulated/0/Android/data/com.termux/txdebs to downgrade packages to a previous version of a package in the hope of regaining package stability. Enjoy utilizing Termux 💪🙂 on device! Termux is completely amazing on a smartphone and/or a tablet in you pocket!