How To Install idevicerestore on Ubuntu 22.04

In this tutorial we learn how to install idevicerestore on Ubuntu 22.04. idevicerestore is command-line application to restore firmware files to iOS devices

Introduction

In this tutorial we learn how to install idevicerestore on Ubuntu 22.04.

What is idevicerestore

idevicerestore is:

The idevicerestore application is a full reimplementation of all granular steps which are performed during the restore of a firmware to a device.

In general, upgrades and downgrades are possible, however subject to availability of SHSH blobs from Apple for signing the firmare files.

Some key features are:

  • Restore: Update firmware on iOS devices
  • Firmware: Use official IPSW firmware archive file or a directory as source
  • Update: Allows updating the device by default or erasing all data
  • Download: On demand download of latest available firmware for a device
  • Cache: Downloaded firmware files are cached locally
  • Custom Firmware: Restore custom firmware files (requires bootrom exploit)
  • Baseband: Allows one to skip NOR/Baseband upgrade
  • SHSH: Fetch TSS records and save them as “.shsh” files
  • DFU: Put devices in pwned DFU mode (limera1n devices only)
  • AP Ticket: Use custom AP ticket from a file

There are three methods to install idevicerestore on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install idevicerestore Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install idevicerestore using apt-get by running the following command:

sudo apt-get -y install idevicerestore

Install idevicerestore Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install idevicerestore using apt by running the following command:

sudo apt -y install idevicerestore

Install idevicerestore Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install idevicerestore using aptitude by running the following command:

sudo aptitude -y install idevicerestore

How To Uninstall idevicerestore on Ubuntu 22.04

To uninstall only the idevicerestore package we can use the following command:

sudo apt-get remove idevicerestore

Uninstall idevicerestore And Its Dependencies

To uninstall idevicerestore and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove idevicerestore

Remove idevicerestore Configurations and Data

To remove idevicerestore configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge idevicerestore

Remove idevicerestore configuration, data, and all of its dependencies

We can use the following command to remove idevicerestore configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge idevicerestore

References

Summary

In this tutorial we learn how to install idevicerestore package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.