ubuntu安装libimobiledevice

督德泽
2023-12-01

libimobiledevice用于ubuntu为Iphone安装ipa安装包,获取ios手机信息等;
需要安装编译以下文件,几个包之间有依赖,要按序安装。

  1. 准备环境
    sudo apt-get install build-essential automake autoconf git cmake pkg-config libtool
    
  2. 安装libplist
    sudo apt-get install libxml2-dev python-dev python-pip
    sudo pip install cython
    git clone https://github.com/libimobiledevice/libplist.git
    cd libplist
    ./autogen.sh
    make
    sudo make install
    
  3. 安装libusbmuxd
    git clone https://github.com/libimobiledevice/libusbmuxd.git
    cd libusbmuxd
    ./autogen.sh
    make
    sudo make install
    
  4. 安装libimobiledevice
     git clone https://github.com/libimobiledevice/libimobiledevice.git
    cd libimobiledevice
    ./autogen.sh
    make
    sudo make install
    
  5. 安装usbmuxd
     sudo apt-get install libusb-dev libusb-1.0-0-dev
    git clone http://git.sukimashita.com/usbmuxd.git
    cd usbmuxd
    ./autogen.sh
    make
    sudo make install
    
  6. 安装ideviceinstaller
    sudo apt-get install libzip-dev
    git clone https://github.com/libimobiledevice/ideviceinstaller.git
    cd ideviceinstaller
    ./autogen.sh
    make
    sudo make install
    
  7. 安装ifuse
    sudo apt-get install libfuse-dev
    git clone https://github.com/libimobiledevice/ifuse.git
    cd ifuse
    ./autogen.sh
    make
    sudo make install
    
  8. 常用命令
    ideviceinstaller -i xxx.ipa    # 安装ipa文件
    
 类似资料: