• 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!

  • 相关阅读:
    javascript学习随笔《四》
    google卫星地图地图矫正
    sharpmap v2学习研究(二)
    c#中的位运算,逻辑非~,逻辑与&,逻辑或|,逻辑异或^,逻辑左移<<,逻辑右移>>
    如何判断一个form是否被关闭
    List转DataTable(反射)
    c#位运算
    解决ASP.NET中的各种乱码问题 转自 Fish Li
    IHE自测MESA环境搭建详解
    HTTP协议请求 转
  • 原文地址:https://www.cnblogs.com/spaceship9/p/4402312.html
Copyright © 2020-2023  润新知