linux:installscratch
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | linux:installscratch [2022/12/02 22:02] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Installing Scratch on SuSE 13 ====== | ||
+ | |||
+ | These instructions are about installing the Scratch programming language in OpenSuSe 13.1 (bottle). | ||
+ | |||
+ | ===== First step: install squeak ===== | ||
+ | |||
+ | The first thing we need is squeak, the smalltalk virtual machine. I've tried to install it by downloading it from its website, but it doesn' | ||
+ | |||
+ | ===== Second step: install scratch ===== | ||
+ | |||
+ | I've tried to install the rpm package that comes in the scratch website, but it failed in my case. The thing is that I've probably tried this with the wrong version of the squeak virtual machine (see up), but at the end I not sure. | ||
+ | |||
+ | Instead of this, I've downloaded the deb package [[http:// | ||
+ | |||
+ | <code bash> | ||
+ | ar -xvf ../ | ||
+ | </ | ||
+ | |||
+ | you will get three files: | ||
+ | |||
+ | * debian-binary | ||
+ | * control.tar.gz | ||
+ | * data.tar.gz | ||
+ | |||
+ | Uncompress the later two: | ||
+ | |||
+ | <code bash> | ||
+ | tar -xzf control.tar.gz | ||
+ | tar -xzf data.tar.gz | ||
+ | </ | ||
+ | |||
+ | The first one contains scripts of unstalling and postinstall, | ||
+ | |||
+ | **As root user,** I did the following: | ||
+ | |||
+ | <code bash> | ||
+ | # cp bin/scratch / | ||
+ | # cp share/* / | ||
+ | </ | ||
+ | |||
+ | After that, you are almost ready to run scratch in SuSE 13. | ||
+ | |||
+ | ===== Third step: fix start script ===== | ||
+ | |||
+ | The last step is to fix the start script, ''/ | ||
+ | |||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | # File: scratch | ||
+ | # Description: | ||
+ | # Original Author: Bert Freudenberg | ||
+ | # Adapted by: Miriam Ruiz, Raul Luna | ||
+ | |||
+ | VM_VERSION=4.10.2-2614 | ||
+ | SQ_DIR=/ | ||
+ | VM=" | ||
+ | VMOPTIONS=" | ||
+ | IMAGE="/ | ||
+ | IMOPTIONS="" | ||
+ | DOCUMENT="" | ||
+ | WRAPPER="" | ||
+ | |||
+ | </ | ||
+ | |||
+ | And this is it. If you want, you can do more fixings like creating a fancy starting icon, etc. But the hard stuff is already done. | ||
+ | |||
+ | ===== Final step: put it in your local language ===== | ||
+ | |||
+ | I've discovered that scratch didn't appear in the local language, but in english. Debugging the launching of the application, | ||
+ | |||
+ | <code bash> | ||
+ | oktopus:/ | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Further reading ===== | ||
+ | |||
+ | Reading here and there, I've discovered that worth have a look to these projects related with scratch: | ||
+ | |||
+ | * http:// | ||
+ | * http:// | ||
+ | |||