idevicebackup2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
idevicebackup2: command not found
or when using sudo you get the following error message
sudo: idevicebackup2: command not found
Solutions to idevicebackup2: command not found
How To Fix idevicebackup2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu idevicebackup2 is provided by libimobiledevice-utils package.
libimobiledevice-utils is:
This package contains various utilities to interact with iPhone, iPad and iPod touch devices, like:
- idevice_id: List attached devices or print device name of given device
- idevicebackup: Create or restore backup for devices (legacy)
- idevicebackup2: Create or restore backups for devices running iOS 4 or later
- idevicecrashreport: Retrieve crash reports from a device
- idevicedate: Display the current date or set it on a device
- idevicedebug: Interact with the debugserver service of a device
- idevicedebugserverproxy: Proxy a debugserver connection from a device for remote debugging
- idevicediagnostics: Interact with the diagnostics interface of a device
- ideviceenterrecovery: Make a device enter recovery mode
- ideviceimagemounter: Mount disk images on the device
- ideviceinfo: Show information about a connected device
- idevicename: Display or set the device name
- idevicenotificationproxy: Post or observe notifications on a device
- idevicepair: Manage host pairings with devices and usbmuxd
- ideviceprovision: Manage provisioning profiles on a device
- idevicescreenshot: Gets a screenshot from the connected device
- idevicesetlocation: Simulate location on device
- idevicesyslog: Relay syslog of a connected device
To fix this problem, we can install more using the command below.
sudo apt-get -y install libimobiledevice-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libimobiledevice-utils.
sudo apt -y install libimobiledevice-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install libimobiledevice-utils
Summary
In this tutorial we learn how to fix idevicebackup2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.