Hi, Here are the instructions for running idevicerestore on a debian machine. I did the work on another laptop, but I have to admit I didn't actually test it from this laptop, but it should work. If you have any issues, let me know, I can try to figure out what is wrong. #Install packages: apt install build-essential checkinstall git autoconf automake libtool-bin libreadline-dev libusb-1.0-0-dev libplist-dev libcurl4-openssl-dev libssl-dev libzip-dev zlib1g-dev libusbmuxd-dev #Clone the libimobiledevice-glue repository, configure and build git clone https://github.com/libimobiledevice/libimobiledevice-glue.git cd libimobiledevice-glue/ ./autogen.sh make # Install it sudo make install cd .. #Clone the libimobiledevice repository, configure and build git clone https://github.com/libimobiledevice/libimobiledevice.git cd libimobiledevice/ ./autogen.sh make # Install it sudo make install cd .. #Clone the libirecovery repository, configure and build git clone https://github.com/libimobiledevice/libirecovery.git cd libirecovery ./autogen.sh make # Install it sudo make install cd .. #Clone the idevicerestore repository, configure and buidl git clone https://github.com/libimobiledevice/idevicerestore.git cd idevicerestore ./autogen.sh make # Install it sudo make install cd .. sudo ldconfig # Download the version of ipsw for your device from: https://ipsw.me/product/Mac sudo idevicerestore .ipsw # If the mac is unbootable, the light at the front is blinking orange: ## unplug the mac, wait around 30 seconds ## push and hold the power button while plugging the power back in ## the light will be solid orange, you can now run the restore. ## NOTE: this will delete everything on the mac for a factory reset sudo idevicerestore -e .ipsw