Test if an android application is installed from the command line

asked 2017-05-11 02:03:04 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2017-05-11 02:03:04 +0300

SebM gravatar image

Hi,

I'd like to test if an android application is installed from the command line, how can I do it ?

edit retag flag offensive close delete

Comments

1

Here's one way, not elegant, but might help. If the app is installed, there should be an entry in 'applications', so try this;

grep -r 'insert-app-name-here' /usr/share/applications
Spam Hunter ( 2017-05-11 03:33:52 +0300 )edit

@fmotl Thanks :) Can you replace your command line by this one in your comment :

grep -ri 'Exec=.*insert-app-name-here' /usr/share/applications/
SebM ( 2017-05-11 22:03:51 +0300 )edit