How to update The Samsung galaxy S2(GT-I9100) to 4.1.2 Via Ubuntu 12.10(AMD64) The title sais is all

Question:How to update The Samsung galaxy S2(GT-I9100) to 4.1.2 

Note: I am using Ubuntu 12.10
You can use Heimdall. Its a cross-platform tool suite used to flash firmware, more or less like Odin, but opensource. It has a binary that can be installed in your Ubuntu version.