How to download apk files from Google Play Store on Linux

Suppose you want to install an Android app on your Android device. However, for whatever reason, you cannot access Google Play Store on the Android device. What can you do then? One way to install the app without Google Play Store access is to download its APK file using some other means, and then install the APK file on the Android device manually.

There are several ways to download official APK files from Google Play Store on non-Android devices such as regular computers and laptops. For example, there are browser plugins (e.g., for Chrome or Firefox) or online APK archives that allow you to download APK files using a web browser. If you do not trust these closed-source plugins or third-party APK repositories, there is yet another way to download official APK files manually, and that is via an open-source Linux app called GooglePlayDownloader.

GooglePlayDownloader is a Python-based GUI application that enables you to search and download APK files from Google Play Store. Since this is completely open-source, you can be assured while using it. In this tutorial, I am going to show how to download an APK file from Google Play Store using GooglePlayDownloader in Linux environment.

Python requirement

GooglePlayDownloader requires Python with SNI (Server Name Indication) support for SSL/TLS communication. This feature comes with Python 2.7.9 or higher. This leaves out older distributions such as Debian 7 Wheezy or earlier, Ubuntu 14.04 or earlier, or CentOS/RHEL 7 or earlier. Assuming that you have a Linux distribution with Python 2.7.9 or higher, proceed to install GooglePlayDownloader as follows.

Install GooglePlayDownloader on Ubuntu

On Ubuntu, you can use the official deb build. One catch is that you may need to install one required dependency manually.

On Ubuntu 14.10

Download python-ndg-httpsclient deb package, which is a missing dependency on older Ubuntu distributions. Also download GooglePlayDownloader's official deb package.

$ wget
$ wget

We are going to use gdebi command to install those two deb files as follows. The gdebi command will automatically handle any other dependencies.

$ sudo apt-get install gdebi-core
$ sudo gdebi python-ndg-httpsclient_0.3.2-1ubuntu4_all.deb
$ sudo gdebi googleplaydownloader_1.7-1_all.deb

On Ubuntu 15.04 or later

Recent Ubuntu distributions ship all required dependencies, and thus the installation is straightforward as follows.

$ wget
$ sudo apt-get install gdebi-core
$ sudo gdebi googleplaydownloader_1.7-1_all.deb

Install GooglePlayDownloader on Debian

Due to its Python requirement, GooglePlayDownloader cannot be installed on Debian 7 Wheezy or earlier unless you upgrade its stock Python.

On Debian 8 Jessie and higher:

$ wget
$ sudo apt-get install gdebi-core
$ sudo gdebi googleplaydownloader_1.7-1_all.deb

Install GooglePlayDownloader on Fedora

Since GooglePlayDownloader was originally developed for Debian based distributions, you need to install it from the source if you want to use it on Fedora.

First, install necessary dependencies.

$ sudo yum install python-pyasn1 wxPython python-ndg_httpsclient protobuf-python python-requests

Then install it as follows.

$ wget
$ tar -xvf googleplaydownloader_1.7.orig.tar.gz
$ cd googleplaydownloader-1.7
$ chmod o+r -R .
$ sudo python install
$ sudo sh -c "echo 'python /usr/lib/python2.7/site-packages/googleplaydownloader-1.7-py2.7.egg/googleplaydownloader/' > /usr/bin/googleplaydownloader"

Download APK Files from Google Play Store with GooglePlayDownloader

Once you installed GooglePlayDownloader, you can download APK files from Google Play Store as follows.

First launch the app by typing:

$ googleplaydownloader

At the search bar, type the name of the app you want to download from Google Play Store.

Once you find the app in the search list, choose the app, and click on "Download selected APK(s)" button. You will find the downloaded APK file in your home directory. Now you can move the APK file to the Android device of your choice, and install it manually.

Hope this helps.

Subscribe to Xmodulo

Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.

Support Xmodulo

Did you find this tutorial helpful? Then please be generous and support Xmodulo!

The following two tabs change content below.
Dan Nanni is the founder and also a regular contributor of He is a Linux/FOSS enthusiast who loves to get his hands dirty with his Linux box. He likes to procrastinate when he is supposed to be busy and productive. When he is otherwise free, he likes to watch movies and shop for the coolest gadgets.

6 thoughts on “How to download apk files from Google Play Store on Linux

  1. Having an older phone with limited storage, this could be useful. It's now necessary to fully install and load the current Google Play app, about 18mb, before even starting to download apps from the store - after which I then uninstall Play again to keep enough storage free. I've been using third party APK sources to get around Google's bloating of its basic Android services (Gmail, Maps, etc all work fine in original versions at less than 1mb each). Getting safe app files from the Play store without the bloated service app would be nice.

  2. couldn't you just open chrome, then go to the play store on chrome and add the program you want to your library? it automatically downloads them to your phone...

    • I think that will work only if Google Play store is installed and accessible on your Android. The assumption here is that what if Google Play store is not available on your phone.

  3. I've used this on an older nexus 5 that I didn't want hooked up to Google at all. Just something that was more of a WiFi device.
    Git the job done. The only thing that can be a pain is updating everything when/if you choose to.

Leave a comment

Your email address will not be published. Required fields are marked *