Skip to content

Instantly share code, notes, and snippets.

@kirb
Last active October 18, 2022 03:26

Revisions

  1. kirb revised this gist May 29, 2017. 1 changed file with 1 addition and 11 deletions.
    12 changes: 1 addition & 11 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1 @@
    # Theos installer for Linux
    by [Ad@m](http://adam.hbang.ws); based on installsdk3 and installtheos3 by [BigBoss](http://thebigboss.org)

    _**NOTE:** This isn't any better than using the on-device toolchain. You should really use that instead._

    ## Usage
    Download the script and pipe it to `bash` as `root`, like so:

    curl git.io/linuxtheos -kL | sudo bash

    Once the script returns you to the bash prompt, Theos is ready to go! Check out the [iPhone Dev Wiki](http://iphonedevwiki.net/index.php/theos) for more on how Theos works.
    Please don't use this. It's old and didn't really even work in the first place. Just keeping it around for historical value.
  2. kirb revised this gist Mar 14, 2013. 2 changed files with 11 additions and 2 deletions.
    4 changes: 3 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,11 @@
    # Theos installer for Linux
    by [Ad@m](http://adam.hbang.ws); based on installsdk3 and installtheos3 by [BigBoss](http://thebigboss.org)

    _**NOTE:** This isn't any better than using the on-device toolchain. You should really use that instead._

    ## Usage
    Download the script and pipe it to `bash` as `root`, like so:

    curl git.io/linuxtheos -kL|sudo bash
    curl git.io/linuxtheos -kL | sudo bash

    Once the script returns you to the bash prompt, Theos is ready to go! Check out the [iPhone Dev Wiki](http://iphonedevwiki.net/index.php/theos) for more on how Theos works.
    9 changes: 8 additions & 1 deletion linuxtheos.sh
    Original file line number Diff line number Diff line change
    @@ -2,17 +2,20 @@
    # based on BigBoss' installsdk3 and installtheos3, included with
    # the BigBoss Recommended Tools package. works on machines with
    # apt-get. currently untested but probably works.

    if [[ "$(whoami)" != "root" ]]; then
    echo "Please run this script as root"
    [[ -f "/usr/bin/sudo" ]]&&sudo "$0"||su "$0"
    [[ -f "/usr/bin/sudo" ]] && sudo "$0" || su "$0"
    exit 1
    fi

    mkdir /var/sdk
    pushd /var/sdk
    wget http://thebigboss.org/hostedfiles/sdk3.tar.gz -O/tmp/sdk.tar.gz
    tar xfv /tmp/sdk.tar.gz
    rm /tmp/sdk.tar.gz
    popd

    pushd /var/sdk/usr/lib
    ln -s libgcc_s.1.dylib libgcc_s.10.5.dylib
    ln -s dylib1.o dylib1.10.5.o
    @@ -22,14 +25,18 @@ ln -s libstdc++.6.0.9.dylib libstdc++.dylib
    ln -s libobjc.A.dylib libobjc.dylib
    ln -s libSystem.B.dylib libSystem.dylib
    popd

    pushd /
    wget http://pjtrix.com/iphone/presentations/OSCON2009/iphone-toolchain-linux.tgz -O/tmp/toolchain.tar.gz
    tar xfv /tmp/toolchain.tar.gz
    rm /tmp/toolchain.tar.gz
    popd

    ln -s /usr/local/bin/arm-apple-darwin9-gcc /usr/local/bin/arm-apple-darwin-gcc

    apt-get update
    apt-get -y --force-yes install curl wget git make nano rsync perl build-essential

    pushd /var
    git clone git://github.com/DHowett/theos.git
    popd
  3. kirb revised this gist Jun 3, 2012. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions linuxtheos.sh
    Original file line number Diff line number Diff line change
    @@ -24,12 +24,12 @@ ln -s libSystem.B.dylib libSystem.dylib
    popd
    pushd /
    wget http://pjtrix.com/iphone/presentations/OSCON2009/iphone-toolchain-linux.tgz -O/tmp/toolchain.tar.gz
    tar xfv /tmp/sdk.tar.gz
    rm /tmp/sdk.tar.gz
    tar xfv /tmp/toolchain.tar.gz
    rm /tmp/toolchain.tar.gz
    popd
    ln -s /usr/local/bin/arm-apple-darwin9-gcc /usr/local/bin/arm-apple-darwin-gcc
    apt-get update
    apt-get -y --force-yes install curl wget git make nano top rsync perl build-essential
    apt-get -y --force-yes install curl wget git make nano rsync perl build-essential
    pushd /var
    git clone git://github.com/DHowett/theos.git
    popd
  4. kirb revised this gist Apr 11, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,6 @@ by [Ad@m](http://adam.hbang.ws); based on installsdk3 and installtheos3 by [BigB
    ## Usage
    Download the script and pipe it to `bash` as `root`, like so:

    curl "https://raw.github.com/gist/2353599/linuxtheos.sh" -kL|sudo bash
    curl git.io/linuxtheos -kL|sudo bash

    Once the script returns you to the bash prompt, Theos is ready to go! Check out the [iPhone Dev Wiki](http://iphonedevwiki.net/index.php/theos) for more on how Theos works.
  5. kirb revised this gist Apr 11, 2012. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    # Theos installer for Linux
    by [Ad@m](http://adam.hbang.ws); based on installsdk3 and installtheos3 by [BigBoss](http://thebigboss.org)

    ## Usage
    Download the script and pipe it to `bash` as `root`, like so:

    curl "https://raw.github.com/gist/2353599/linuxtheos.sh" -kL|sudo bash

    Once the script returns you to the bash prompt, Theos is ready to go! Check out the [iPhone Dev Wiki](http://iphonedevwiki.net/index.php/theos) for more on how Theos works.
  6. kirb created this gist Apr 10, 2012.
    35 changes: 35 additions & 0 deletions linuxtheos.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,35 @@
    #!/bin/bash
    # based on BigBoss' installsdk3 and installtheos3, included with
    # the BigBoss Recommended Tools package. works on machines with
    # apt-get. currently untested but probably works.
    if [[ "$(whoami)" != "root" ]]; then
    echo "Please run this script as root"
    [[ -f "/usr/bin/sudo" ]]&&sudo "$0"||su "$0"
    exit 1
    fi
    mkdir /var/sdk
    pushd /var/sdk
    wget http://thebigboss.org/hostedfiles/sdk3.tar.gz -O/tmp/sdk.tar.gz
    tar xfv /tmp/sdk.tar.gz
    rm /tmp/sdk.tar.gz
    popd
    pushd /var/sdk/usr/lib
    ln -s libgcc_s.1.dylib libgcc_s.10.5.dylib
    ln -s dylib1.o dylib1.10.5.o
    ln -s crt1.o crt1.10.5.o
    ln -s libstdc++.6.0.9.dylib libstdc++.6.dylib
    ln -s libstdc++.6.0.9.dylib libstdc++.dylib
    ln -s libobjc.A.dylib libobjc.dylib
    ln -s libSystem.B.dylib libSystem.dylib
    popd
    pushd /
    wget http://pjtrix.com/iphone/presentations/OSCON2009/iphone-toolchain-linux.tgz -O/tmp/toolchain.tar.gz
    tar xfv /tmp/sdk.tar.gz
    rm /tmp/sdk.tar.gz
    popd
    ln -s /usr/local/bin/arm-apple-darwin9-gcc /usr/local/bin/arm-apple-darwin-gcc
    apt-get update
    apt-get -y --force-yes install curl wget git make nano top rsync perl build-essential
    pushd /var
    git clone git://github.com/DHowett/theos.git
    popd