Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the latest version of the libmtp library there are fixes for my Android device so I would like to install the latest version I'm just not sure how! I would assume that this would pushed into the official repositories at some point, so the smart advice would probably be just to wait, but I would like to know how to do this myself if anyone could tell me.

I'm currently using Ubuntu 12.04 and am running libmtp-1.1.2, the latest version (libmtp-1.1.3) has recently been released and the tar.gz file is downloadable from this direct link:

How do I install this? Thanks for any help.

share|improve this question
up vote 8 down vote accepted

First you need to get the file, extract the tarball and change to the folder. You can do this from a terminal:

tar zxf libmtp-1.1.3.tar.gz
cd libmtp-1.1.3

Second, build the source and install the binaries:

sudo make install

I'd be more inclined to use checkinstall - so not use the make install command, if so enter this commands instead:

sudo checkinstall

If you have not complied any software you might need some extra packages prior to starting.

sudo apt-get install build-essential checkinstall wget

share|improve this answer
gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now. how do I solve this issue? – SY_13 Feb 15 at 5:55

Installing the ppa mentioned here will also allow you to update your libmtp:

How To Properly Mount Android 4.0+ Devices In Ubuntu Using Go-mtpfs ~ Web Upd8: Ubuntu / Linux blog

sudo add-apt-repository ppa:webupd8team/unstable
sudo apt-get update
sudo apt-get install go-mtpfs

Optional, custom Unity Launcher for Go-mtpfs:

sudo apt-get install go-mtpfs-unity

But be careful: This PPA has other packages that you may not want to install.

share|improve this answer
note to others: libmtp hasn't been maintained in this PPA since 2013 – dez93_2000 Feb 18 at 0:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.