Termux Package Installation
In Termux it is recommended to use package manager pkg which is a wrapper for apt. It simplifies installing or upgrading packages by automatically updating apt lists so you dont have to type apt update when installing or upgrading packages.

Install package:pkg install [package name]
Remove package:pkg uninstall [package name]
List all packages:pkg list-all

Manual installation of *.deb files
If you have a *.deb package file, you can install it with dpkg. Note that packages downloaded from Ubuntu or from repositories of other Linux distributions will not work due to incompatible libc ABI, however statically compiled binaries may work.

Installing:dpkg -i ./package.deb
Uninstalling:dpkg --remove [package name]
Listing all installed packages:dpkg -l

0 Comments