Skip to content

Instantly share code, notes, and snippets.

@VulBusters
Created October 17, 2023 16:04
Show Gist options
  • Save VulBusters/a29a1a21b357a674a15dac86c3994b5f to your computer and use it in GitHub Desktop.
Save VulBusters/a29a1a21b357a674a15dac86c3994b5f to your computer and use it in GitHub Desktop.

Install libimobiledevice from source

MacOS

If you are already install from the package manger like Homebrew, remove it first

brew uninstall ideviceinstaller
brew uninstall --force libimobiledevice

Newly install from source

brew install --HEAD --build-from-source libimobiledevice

Linux

If you are already install from the package manager like api, remove it first

sudo apt remove libimobiledevice-utils

Install essential tools

sudo apt-get install \
	build-essential \
	checkinstall \
	git \
	autoconf \
	automake \
	libtool-bin

Install libplist from https://github.com/libimobiledevice/libplist

git clone https://github.com/libimobiledevice/libplist.git
cd libplist

Build and install

./autogen.sh
make
sudo make install

Test

plistutil -h

If error while loading shared libraries: occur, run the following command

sudo ldconfig

Install libimobiledevice-glue from https://github.com/libimobiledevice/libimobiledevice-glue

git clone https://github.com/libimobiledevice/libimobiledevice-glue.git
cd libimobiledevice-glue

Build and install

./autogen.sh
make
sudo make install

Install libusbmuxd from https://github.com/libimobiledevice/libusbmuxd

git clone https://github.com/libimobiledevice/libusbmuxd.git
cd libusbmuxd

Build and install

./autogen.sh
make
sudo make install

Test

iproxy -h

If error while loading shared libraries: occur, run the following command

sudo ldconfig

Install libimobiledevice from https://github.com/libimobiledevice/libimobiledevice

git clone https://github.com/libimobiledevice/libimobiledevice.git
cd libimobiledevice

Build and install

./autogen.sh
make
sudo make install

Test

ideviceinfo -h

If error while loading shared libraries: occur, run the following command

sudo ldconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment