How to jailbreak Apple iPod touch in Linux will be introduced in this article. We use Spirit to jailbreak iPod touch. Spirit is an untethered jailbreak for iPad, iPhone, and iPod touch on certain firmware versions.
Please read  for requirement when using Spirit. Currently, the version of iTunes used should be iTune 9 earlier than 9.2. The firmware’s version should be 3.1.2, 3.1.3 or 3.2.
Okay, let’s go!
1. Synchronise with iTunes
Table of Contents
As what we usually do. This step is highly recommended by Spirit.
2. Dowload Spirit jaibreak for Linux and compile it
Get the source code
Install depended development packages
$ sudo yum install libplist-devel libimobiledevice-devel
You may need to install other development packages such as make, gcc etc.
$ cd spirit-linux $ make
3. Set iPod to not Auto-lock
In Settings->General->Auto-lock, select never.
4. Connect iPod touch to the Linux box with cable
5. jailbreak it
6. iPod will reboot
The jailbreak work will start. Wait for a few minutes.
Congratulations! Now, look for the Cydia icon. My favourite applications are Terminal and OpenSSH. Remember to change the password of root and mobile users for security.