How to connect iPhone in Debian/Ubuntu linux
To connect an iPhone device in Debian/Ubuntu Linux, you need to install the following packages:
sudo apt-get install ideviceinstaller python-imobiledevice libimobiledevice-utils libimobiledevice4 libplist2 python-plist ifuse
Unlock the device screen.
Check dmesg:
dmesg | grep usb
Output:
[101340.276496] usb 3-4: Manufacturer: Apple Inc.
[101340.276497] usb 3-4: SerialNumber: 403fd9c6503943d9cb773109429d3b725091fd90
[101340.345510] usbcore: registered new interface driver ipheth
Pair the device:
devicepair pair
Next, create a mount point (e.g., ~/iPhone) and mount the iPhone using ifuse:
mkdir ~/iPhone ifuse ~/iPhone
Do what you need to do and then disconnect using the following command:
usermount -u ~/iPhone