Skip to content
Guest Big Announcement

[New 2024] Install Theos on Windows 10/11 (Subsystem for Linux)

Featured Replies

Updated

This tutorial is outdated. Please use the updated tutorial by the official theos developers: https://theos.dev/docs/installation-linux

-----------------------------------

OGww29S.png

 

Instructions:
1. First of all you will need the latest Windows update, so before proceeding, check for Windows updates and make sure your Windows 10 is up to date. This tutorial only works on Windows 10.

1.1. Next, you need to open Windows PowerShell as Admin and run this command:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux


2. Open the Microsoft Store app and install the Ubuntu app on your Windows.

3. Once the download has completed, select "Launch" from the Microsoft Store page and wait for the terminal Window to do it's thing.

4. When asked for a UNIX username & password, enter anything you want. Example: Username: iosgods & Password: iosgods

5. Once that is done, you now need to open CMD & type in ubuntu or just search "Ubuntu" from your start menu.

6. If done correctly so far, you will see the username you set in a green color next to your PC name (as seen in the picture above). From that terminal Window, you will need to run a few commands to get theos up and running properly. Run these in order one at a time:

Installing dependencies:

sudo apt-get update
sudo apt-get install -y build-essential git zip unzip libio-compress-perl fakeroot perl clang-6.0 libplist-utils


Setting the $THEOS variable:

https://theos.dev/docs/installation-linux


Installing Theos, Toolchain & SDK:

https://theos.dev/docs/installation-linux



And you're done! Theos is officially installed and ready to run. CD into the folder where you want your projects to be stored and run:

 

Notes:
- You can pin the Ubuntu terminal on your taskbar or create a desktop shortcut for easier access.
- Your projects and whole Ubuntu file system is located in: C:\Users\%USERNAME%\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_xxxxxx\LocalState\rootfs. Your projects are usually stored inside the /home folder.
- You can set root as the default user by running this command in CMD: ubuntu config --default-user root - It's better to login and always use root because of how drag and dropping via Explorer works. If you are going to use root always, you need to run the "setting $THEOS variable" part of the tutorial again as root user. It is actually highly suggested you do this because things might not work properly if you're not root.
- To use make package install you need iFunBox's USB Tunnel running & your iDevice connected via USB. Then run echo export "THEOS_DEVICE_IP=localhost THEOS_DEVICE_PORT=23" >> ~/.bashrc in your terminal window.
- You can add extra helpful aliases by running commands like: echo 'alias mpi="make package install"' >>~/.profile && source ~/.profile so when you want to make and install your package, you can simply run 'mpi' command.
- To install theos on your iDevice, see this topic.


Useful links: 
https://docs.microsoft.com/en-us/windows/wsl/install-win10
https://docs.microsoft.com/en-us/windows/wsl/user-support
https://docs.microsoft.com/en-us/windows/wsl/wsl-config
https://github.com/theos/theos/wiki/Installation
https://github.com/theos/theos/wiki/NIC

Updated by Rook
Updated commands, improved installation

  • Replies 75
  • Views 46.5k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

10 minutes ago, DiDA said:

2018 part is clickbait since we're still in 2017. :p

LULgotcha.

Just noticed its a guide for installing Theos on PC but IOS. too complicated for me.:wonder:

  • Author
12 minutes ago, chaos2nirvana said:

LULgotcha.

Just noticed its a guide for installing Theos on PC but IOS. too complicated for me.:wonder:

You can follow this for iOS, quite easy. :)

https://github.com/theos/theos/wiki/Installation

Updated by DiDA

Thanks @DiDA

when try to install Toolchain after download it using this command

sudo wget https://developer.angelxwind.net/Linux/ios-toolchain_clang%2bllvm%2bld64_latest_linux_x86_64.zip -O LinuxToolchain.zip

it giving me this error  ( sudo: unzip: command not found )




 

 

 

 

 

  • Author
2 hours ago, godfather9797 said:

Install  SDK
sudo rm -rf /opt/theos/sdks/ && git clone https://github.com/theos/sdks /opt/theos/sdks

giving me
fatal: could not create work tree dir '/opt/theos/sdks': Permission denied

Oops! Updated the command, try again now!

5 minutes ago, DiDA said:

Oops! Updated the command, try again now!

So you can install Jailed Theos using this method?

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.