zoukankan      html  css  js  c++  java
  • iphone/ipad/iOS on Linux Debian7/ubuntu12.04/linuxmint13/ubuntu14.04 compiling from source

    The packages we need for ubuntu12.04 and its derived destros are:

    libimobiledevices, libplist, libusbmuxd

    Mostly the important thing is libimobiledevices. and it has an official site: http://libimobiledevice.org   . You can download the sources codes there.

    Now I have compiled those packages for Debian7/ubuntu12.04/linuxmint13 x64 version . You may download and try.

    libimobiledevice 1.2.0

    http://pan.baidu.com/s/1i3zkwpn

    libplist 1.12

    http://pan.baidu.com/s/1c0pRf0G

    libusbmuxd 1.0.10

    http://pan.baidu.com/s/1o6uWzRs

    Happy hacking!

    -------

    updated on 12/02/2015

    Add support for ubuntu14.04 LTS

    You can get the package from ubuntu APT or compile by yourself.

    1) Get it from APT

    sudo apt-get install libimobiledevice-dev  -y

    http://packages.ubuntu.com/trusty/libimobiledevice-dev

    The version of libimobiledevice is 1.1.5. Actually the lastest libimobiledevice (1.2.0) supports iOS 9. So if you want to use that, just compile by yourself.

    2) Compile by yourself

    Before doing this, you should remove the package named **libimobiledevice-dev** if you had installed before.

    sudo apt-get remove libimobiledevice-dev libusbmuxd-dev libplist-dev usbmuxd -y

     Before your compiling libimobiledevice for your Linux system, you should have some packages installed, those including libusbmuxd ( >= 1.0.9) and libplist ( >=1.11)

     
    (1) Pre-compiling: Compiling libplist 

    http://www.libimobiledevice.org/downloads/libplist-1.12.tar.bz2

    (2) Pre-compiling: Compiling libusbmuxd 

    http://www.libimobiledevice.org/downloads/libusbmuxd-1.0.10.tar.bz2

     (3)libfuse-dev

    sudo apt-get install libfuse-dev -y

    (4)ifuse

    wget -c http://www.libimobiledevice.org/downloads/ifuse-1.1.3.tar.bz2
    tar -xjvf ifuse-1.1.3.tar.bz2
    cd ifuse-1.1.3/
    ./configure --prefix=/usr/local/    # This is important for setting sys lib path
    make 
    make install

    Then go compling libimobiledevice,

    sudo apt-get install libplist-dev  libplist++-dev libgnutls-dev libssl-dev
    sudo git clone https://github.com/libimobiledevice/libimobiledevice
    cd libimobiledevice/
    ./autogen.sh
    make
    make install

     If you have error as this:

    /src/.libs/libimobiledevice.so: undefined reference to `SSLv3_method'

    Issue and solution from : https://github.com/libimobiledevice/libimobiledevice/issues/254

    Just try download the source codes from github rather than the official site.

    Or if you want to build a deb package file

    sudo checkinstall -D -install=no -pkgversion=1.2.1 -pkgname=libimobiledevice make install
    dpkg -i libimobiledevice-1.2.0-1-ubuntu.deb
    # Then check it where it was installed
    dpkg -L libimobiledevice

    Or you don't need to compile by yourself, just download these packages for your system.

    Downloads for ubuntu 14.04 AMD64

    1) libplist 1.12

    http://pan.baidu.com/s/1mgESAco

    2) libusbmuxd 1.0.10

    http://pan.baidu.com/s/1gdi8KBD

    3) libimobiledevice 1.2.1

    http://pan.baidu.com/s/1eQg8Xkm

    Happy hacking!

  • 相关阅读:
    【转载】STL之priority_queue
    数据结构作业——直通车(并查集)
    Codeforces Round #342 (Div. 2) D. Finals in arithmetic(想法题/构造题)
    Size Balance Tree(SBT模板整理)
    平衡二叉查找树(AVL)的理解与实现
    查找树ADT——二叉搜索树
    (转载)通过金矿模型介绍动态规划
    动态规划(DP)基础
    hdu 1969 Pie(二分查找)
    poj 3104 Drying(二分查找)
  • 原文地址:https://www.cnblogs.com/spaceship9/p/4402312.html
Copyright © 2011-2022 走看看