0

I am new to Linux so I don't really know how to install from source.

I went to libusb.org and downloaded the latest version of libusb.

  • Where do I put it?
  • When I follow the install instructions, where does it end up?
  • How can I make sure that it has installed correctly?

The reason I need to install it (and many other things) is because I need to use this project: http://www.libimobiledevice.org/ and there are many things to install, but I will start with libusb 1.0.9 first, and then I install USBMUXD.

1

As with most software for Linux, both libusb and libimobiledevice are packaged for Debian. There is no need to download and compile it yourself! Just install it:

sudo apt install libimobiledevice-utils libimobiledevice-doc

will get you the command-line tools shipped with libimobiledevice, as well as the documentation. You probably don't want to use those tools, however, since they're fairly low-level. Instead, try using gtkpod (sudo apt install gtkpod), a graphical application which uses libimobiledevice. There are a few other things which may do what you want; if you run

apt-cache rdepends libimobiledevice4

you will get a list of packages that use libimobiledevice for some things; you can look at their description with apt-cache show and install them with sudo apt install

3
  • thanks. I won't need the graphicals of that library, I really only need USBMUXD, iFuse and LibUSB, as I am developing my own software,. – vaid Oct 10 '15 at 14:06
  • I tried apt-cache rdepends libimobiledevice4 and and then sudo apt install usbmuxd, and then I write usbmuxd -V to check the version and it is 1.0.9 while the latest version of usbmuxd seems to be 1.1.0. Why didn't the latest version get installed? – vaid Oct 10 '15 at 14:30
  • @vaid "Why didn't the latest version get installed?" Because that is the version in jessie. In general, if it is a leaf package, you can often backport it. See unix.stackexchange.com/q/112157/4671 – Faheem Mitha Oct 13 '15 at 1:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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