Libimobiledevice: Difference between revisions

From iPhone Development Wiki
No edit summary
No edit summary
 
Line 6: Line 6:
== Installation ==
== Installation ==


=== macOS ===
<tabber>
|-|macOS=
{{#tag:tabber|
Macports=
<pre>
sudo port install libimobiledevice
</pre>
{{!}}-{{!}}
Homebrew=
<pre>
brew install libimobiledevice
</pre>
}}
|-|Windows=


With Macports:
A compiled version of libimobiledevice is available [https://github.com/L1ghtmann/libimobiledevice/releases/latest here]. Download the .tar.xz file and extract it using [https://www.7-zip.org/ 7-zip] or a similar program.
 
<pre>
sudo port install libimobiledevice
</pre>
 
With Homebrew:
 
<pre>
brew install libimobiledevice
</pre>
 
=== Linux ===
 
 
==== Ubuntu ====
 
<pre>
sudo apt-get install usbmuxd libimobiledevice6 libimobiledevice-utils
</pre>
 
==== Debian ====
<pre>
sudo apt-get install \
    build-essential \
    checkinstall \
    git \
    autoconf \
    automake \
    libtool-bin \
    libplist-dev \
    libimobiledevice-glue-dev \
    libusbmuxd-dev \
    libssl-dev \
    usbmuxd
 
git clone https://github.com/libimobiledevice/libimobiledevice.git
cd libimobiledevice
 
./autogen.sh \
    --prefix=/opt/local \
    --enable-debug
 
make
</pre>
 
==== openSUSE ====
 
<pre>
sudo zypper install libimobiledevice6 usbmuxd
</pre>
 
=== Windows ===
 
A compiled version of libimobiledevice is available [https://github.com/L1ghtmann/libimobiledevice/releases/latest here]. Download the .tar.xz file and extract it using [https://www.7-zip.org/ 7-zip] or a similar program.
 
You can add this extracted folder to the path by following the walkthrough [https://stackoverflow.com/a/44272417 here]


You can add this extracted folder to the path by following the walkthrough [https://stackoverflow.com/a/44272417 here]
|-|Linux=
{{#tag:tabber|
Ubuntu=
<pre>
sudo apt-get install usbmuxd libimobiledevice6 libimobiledevice-utils
</pre>
{{!}}-{{!}}
Debian=
<pre>
sudo apt-get install \
    build-essential \
    checkinstall \
    git \
    autoconf \
    automake \
    libtool-bin \
    libplist-dev \
    libimobiledevice-glue-dev \
    libusbmuxd-dev \
    libssl-dev \
    usbmuxd
git clone https://github.com/libimobiledevice/libimobiledevice.git
cd libimobiledevice


./autogen.sh \
    --prefix=/opt/local \
    --enable-debug
make
</pre>
{{!}}-{{!}}
openSUSE=
<pre>
sudo zypper install libimobiledevice6 usbmuxd
</pre>
}}
</tabber>


[[Category:Getting Started]]
[[Category:Getting Started]]

Latest revision as of 19:03, 29 September 2023


libimobiledevice is a large, vigorously maintained cross-platform suite of tools for communicating with iOS devices.

Installation

 sudo port install libimobiledevice
 

brew install libimobiledevice

A compiled version of libimobiledevice is available here. Download the .tar.xz file and extract it using 7-zip or a similar program. You can add this extracted folder to the path by following the walkthrough here

 sudo apt-get install usbmuxd libimobiledevice6 libimobiledevice-utils
 

sudo apt-get install \
    build-essential \
    checkinstall \
    git \
    autoconf \
    automake \
    libtool-bin \
    libplist-dev \
    libimobiledevice-glue-dev \
    libusbmuxd-dev \
    libssl-dev \
    usbmuxd

git clone https://github.com/libimobiledevice/libimobiledevice.git
cd libimobiledevice
./autogen.sh \
    --prefix=/opt/local \
    --enable-debug

make

sudo zypper install libimobiledevice6 usbmuxd