Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Install apk using busybox command-line

I want to install apk silently in android phone, I have found this solution (Link), is how to install apk using busybox command line, but when i tape busybox install path/to/apkfile, it does not work, can someone help me by giving some examples please.

like image 314
user820688 Avatar asked Dec 01 '11 09:12

user820688


People also ask

Does Android use BusyBox?

Busybox allows you or programs to perform actions on your phone using Linux (copied from Unix) commands. Android is basically a specialized Linux OS with a Java compatible (Dalvik) machine for running programs.


1 Answers

The command line program that does this is pm: package manager. So try pm install apkfile If you run the command with no arguments it will print out some help text. I don't know how silent it will be - but then you should not be hiding installs from the end user anyway.

like image 76
patthoyts Avatar answered Oct 29 '22 19:10

patthoyts