My two sons like to play/program with Scratch. Rather than just downloading the old Scratch version 1.4 I installed Scratch 2 on their DebianDog (openbox-wheezy) and MintPup systems. Problem is, an offline installation of Scratch 2 editor requires Adobe Air to be also installed on your system.
For the
DebianDog-openbox-wheezy system I basically used the instructions from here:
http://fromscratched.nl/index.php/scrat ... x/?lang=en
However, I had to modify these instructions with the following two additions:
1.
Code: Select all
apt-get update && apt-get install libgnome-keyring0
Note that program 'locate' wasn't installed on my system but I didn't need to use the locate command (mentioned in above link) to find libgnome-keyring files - they were already in the required /usr/lib/i386-linux-gnu location.
2. Since I found that the Scratch 2 installation program I downloaded had the name Scratch-437.air rather than just Scratch.air, I had to use the following Scratch install line instead of that from the url above:
Code: Select all
/opt/Adobe\ AIR/Versions/1.0/Adobe\ AIR\ Application\ Installer /{absolute path to downloadfolder}/Scratch-437.air
Note that when typing/copying the above commandline into a terminal you must replace {absolute path to downloadfolder} with that actual absolute path to where you have install program Scratch2-437.air stored (or whatever it is called on your system).
-----
For
MintPup (Linux Mint 17.1) base iso, I had to use an alternative method for installing Adobe Air. Unfortunately, when I tried the above instructions to run adobe air installer the necessary adobe accept license condition window didn't appear, and no error message appeared in the terminal to help me find out what the problem was. It turns out that some Adobe Air necessary dependencies were missing (as I discovered from the alternative adobe air install method below).
Rather than myself tracking down what was missing, I found that the auto-installation script available from the link below, automatically found all the missing dependencies and successfully installed Adobe Air in MintPup for me, The same script claims to be able to install Adobe Air on any of Ubuntu 15.04/14.04/14.10/12.04/Linux Mint 17.1/17/13:
http://www.noobslab.com/2015/05/adobeai ... buntu.html
(Note that I opened a terminal at a directory of my own choice that I had made to hold the installation files. From that terminal, I then ran the wget command given in above link to fetch the provided Adobe Air installation shell script, adobe-air.sh, into that directory location).
I haven't studied the script, though doing so should reveal what the likely missing dependencies are.
After installing Adobe Air in MintPup, the other instructions already given above, including the need to install libgnome-keyring0 and Scratch-437.air, worked fine on my system.
Note that I cannot guarantee this all works on a freshly installed MintPup since I have only tested it on my MintPup installation, which already has many extra applications installed (same goes for my DD-openbox-wheezy installation).
----
After installing Scratch 2 on DD-openbox using the above instructions I noted that a menu item for it had automatically been created in Menu -> Accessories. In MintPup base, as far as I noticed, no menu item was automatically created on installation. However, for both systems, I dragged the program from "/opt/Scratch 2/bin/Scratch 2" onto the desktop to provide a desktop icon for starting up the Scratch version 2 executable.
William