Created
July 7, 2019 15:08
-
-
Save brandonhilkert/94c32819bef6d15ae6969ce9b971c0ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get -y upgrade | |
sudo apt-get -y install vim tmux git build-essential openssl-dev libxml2-dev python2.7 python2.7-dev fuse libtool autoconf libusb-1.0-0-dev libfuse-dev | |
pip install cython | |
pip3 install cython | |
mkdir ios && cd ios | |
git clone https://github.com/libimobiledevice/libplist.git | |
git clone https://github.com/libimobiledevice/libusbmuxd.git | |
git clone https://github.com/libimobiledevice/usbmuxd.git | |
git clone https://github.com/libimobiledevice/libimobiledevice.git | |
git clone https://github.com/libimobiledevice/ifuse.git | |
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig | |
echo "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" | sudo tee -a /etc/bash.bashrc | |
cd libplist && ./autogen.sh && make && sudo make install && cd .. | |
cd libusbmuxd && ./autogen.sh && make && sudo make install && cd .. | |
cd libimobiledevice && ./autogen.sh && make && sudo make install && cd .. | |
cd usbmuxd && ./autogen.sh && make && sudo make install && cd .. | |
cd ifuse && ./autogen.sh && make && sudo make install && cd .. | |
groupadd -g 140 usbmux &>/dev/null | |
useradd -c 'usbmux user' -u 140 -g usbmux -d / -s /sbin/nologin usbmux &>/dev/null | |
passwd -l usbmux &>/dev/null | |
echo /usr/local/lib | sudo tee /etc/ld.so.conf.d/libimobiledevice-libs.conf | |
sudo ldconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment