Discuss Scratch

Leafy1245
New Scratcher
13 posts

Installing Scratch 1.4 on other Linux

Hello!

Today, I'll tell you how to install Scratch 1.4 on other Linux (Fedora, CentOS, etc).

1. Download Scratch 1.4 .deb file: http://ubuntu.media.mit.edu/ubuntu//pool/universe/s/scratch/scratch_1.4.0.6~dfsg1-5~ubuntu12.04.1_all.deb
2. Open Terminal, navigate to the directory, where you downloaded the file. Use the command “cd”. (See http://man7.org/linux/man-pages/man1/cd.1p.html for more info)
3. Type in the terminal window:
$ ar x ./scratch_1.4.0.6~dfsg1-5~ubuntu12.04.1_all.deb
4. Extract the “data.tar.gz” file.
$ tar -xvzf data.tar.gz
5. Go to the newly created “usr” directory:
$ cd usr
6. Sign in as root using “su”:
$ su root
7. Now enter these commands:
$ cd bin
$ cp ./scratch /usr/bin/scratch
$ cd ../share/application-registry
$ cp ./scratch.applications /usr/share/application-registry/scratch.applications
$ cd ../applications
$ cp ./scratch.desktop /usr/share/applications/scratch.desktop
$ cd ../pixmaps
$ cp ./scratch.xpm /usr/share/pixmaps/scratch.xpm
$ cd ../scratch
$ cp *.* /usr/share/scratch
$ cp -R ./locale /usr/share/scratch/locale
$ cp -R ./Media /usr/share/scratch/Media
$ cp -R ./Projects /usr/share/scratch/Projects
8. Install squeak-vm on your system:
Fedora/CentOS:
dnf install squeak-vm
OpenMandriva/Mageia:
urpmi squeak-vm
Then enter “exit” command (with no quotes) in the terminal window.
9. Enter:
squeak /usr/share/scratch/Scratch.image
Done! Scratch is installed on your Linux computer. Have fun! :-)

Last edited by Leafy1245 (Jan. 19, 2017 16:25:26)

-Fera-
Scratcher
74 posts

Installing Scratch 1.4 on other Linux

Could you put 2.0 on other linux operating systems? (Specifically Raspbian)

This is a signature. To put stuff here, go to https://scratch.mit.edu/discuss/ and go to “Change your Signature” which is at the bottom left of the page.
Leafy1245
New Scratcher
13 posts

Installing Scratch 1.4 on other Linux

-Fera- wrote:

Could you put 2.0 on other linux operating systems? (Specifically Raspbian)
Yeah, I'll try. I've got a Raspberry Pi.

(But my main PC is running OpenMandriva)
Leafy1245
New Scratcher
13 posts

Installing Scratch 1.4 on other Linux

Installing Scratch 2.0 on Linux
32-bit users on i386 or i586
For 32-bit users the installation process is easy.
1. Download Adobe AIR 2.6 here:
http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin
2. Open your downloads directory in your file manager and allow the file to be ran as a program.
In KDE, you right-click the file, go to Properties, open the Permissions tab and check “Is executable”
3. In GNOME, double-click the file and the installer will run. In KDE, open terminal, navigate to the downloads directory, sign in as root using “su root” command and enter:
$ sudo ./AdobeAIRInstaller.bin
4. Download Scratch 2.0 from https://download.scratch.mit.edu/scratch2download/sa/Scratch-453.air, double-click the file and install it. Done!
64-bit users on x86_64
1. Download Adobe AIR 2.6 here:
http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin
2. Open your downloads directory in your file manager and allow the file to be ran as a program.
In KDE, you right-click the file, go to Properties, open the Permissions tab and check “Is executable”.
3. Read this manual and follow the instructions for your Linux distro:
https://helpx.adobe.com/air/kb/install-air-2-64-bit.html
4. In GNOME, double-click the file and the installer will run. In KDE, open terminal, navigate to the downloads directory, sign in as root using “su root” command and enter:
sudo ./AdobeAIRInstaller.bin
4. Download Scratch 2.0 from https://download.scratch.mit.edu/scratch2download/sa/Scratch-453.air, double-click the file and install it. Done!
Raspbian or ARM users
There is currently no way to run Scratch 2.0 on Raspbian. There is a hard method, but it might break your Pi if you do something wrong. If you still want to try the method, comment on my profile page. But before doing this method, backup your NOOBS installer.

Last edited by Leafy1245 (Jan. 17, 2017 22:07:47)

Leafy1245
New Scratcher
13 posts

Installing Scratch 1.4 on other Linux

-Fera- wrote:

Could you put 2.0 on other linux operating systems? (Specifically Raspbian)
Done! But please, be careful with the method with the Raspberry Pi. Please, make a backup of the NOOBS installer before you do the method.

Last edited by Leafy1245 (Jan. 17, 2017 22:05:19)

Leafy1245
New Scratcher
13 posts

Installing Scratch 1.4 on other Linux

Updated the methods.

Last edited by Leafy1245 (Jan. 17, 2017 23:43:48)

-Fera-
Scratcher
74 posts

Installing Scratch 1.4 on other Linux

Why doesn't raspbian support updated flash support? The online editor will not work on the pi, and I can't update flash.

This is a signature. To put stuff here, go to https://scratch.mit.edu/discuss/ and go to “Change your Signature” which is at the bottom left of the page.
Leafy1245
New Scratcher
13 posts

Installing Scratch 1.4 on other Linux

-Fera- wrote:

Why doesn't raspbian support updated flash support? The online editor will not work on the pi, and I can't update flash.
Adobe Flash Player for Linux is not supported on ARM.
-Fera-
Scratcher
74 posts

Installing Scratch 1.4 on other Linux

Leafy1245 wrote:

-Fera- wrote:

Why doesn't raspbian support updated flash support? The online editor will not work on the pi, and I can't update flash.
Adobe Flash Player for Linux is not supported on ARM.
Oh… Dang it.

This is a signature. To put stuff here, go to https://scratch.mit.edu/discuss/ and go to “Change your Signature” which is at the bottom left of the page.
happyland440
Scratcher
1000+ posts

Installing Scratch 1.4 on other Linux

uM what about wget

Primary PC: AMD Ryzen 7 2700, NVIDIA Geforce GTX 1070 (EVGA FTW Hybrid), 16GB Trident Z RGB DDR4, ASUS X470-I, Corsair 280X, running at 1920x1080 144hz

Laptop: Intel Core i7 4700MQ, NVIDIA Geforce GT 740M, 12GB of ram, 1600x900 resolution, running Ubuntu 16.10 in VirtualBox 4096MB RAM.
Leafy1245
New Scratcher
13 posts

Installing Scratch 1.4 on other Linux

happyland440 wrote:

uM what about wget
Well, I prefer using curl.
__init__
Scratcher
1000+ posts

Installing Scratch 1.4 on other Linux

Leafy1245 wrote:

Fedora/CentOS:
yum install squeak-vm
yum is deprecated, use dnf instead.
dnf install squeak-vm

thisandagain pls explain
JonathanSchaffer
Scratcher
1000+ posts

Installing Scratch 1.4 on other Linux

please add the following:
for raspberry pi users it is much simpler
just enter
sudo apt-get install scratch
in the command line

club penguin is kil
Leafy1245
New Scratcher
13 posts

Installing Scratch 1.4 on other Linux

JonathanSchaffer wrote:

please add the following:
for raspberry pi users it is much simpler
just enter
sudo apt-get install scratch
in the command line
I'm sorry, but this is not a guide for Raspberry Pi. On Raspbian, Scratch 1.4 is already preinstalled.

But if you need Scratch 2.0 on your Pi, I posted a guide for it here: http://pastebin.com/4GJSEyHu
Leafy1245
New Scratcher
13 posts

Installing Scratch 1.4 on other Linux

__init__ wrote:

Leafy1245 wrote:

Fedora/CentOS:
yum install squeak-vm
yum is deprecated, use dnf instead.
dnf install squeak-vm
Fixed.
Jonathan50
Scratcher
1000+ posts

Installing Scratch 1.4 on other Linux

Leafy1245 wrote:

I'm sorry, but this is not a guide for Raspberry Pi. On Raspbian, Scratch 1.4 is already preinstalled.
Will you mention that that is the preferred method to install Scratch on Debian GNU/Linux and derivatives (like Ubuntu)?

Not yet a Knight of the Mu Calculus.
crankyfranky
Scratcher
12 posts

Installing Scratch 1.4 on other Linux

i have just checked if i could download the offline edditor and it said only for mac or windows i dont have both becuase widows has a lack of securety and apple products are scams but can you please fix this
when green flag clicked
say [please help!]
NoMod-Programming
Scratcher
1000+ posts

Installing Scratch 1.4 on other Linux

crankyfranky wrote:

i have just checked if i could download the offline edditor and it said only for mac or windows i dont have both becuase widows has a lack of securety and apple products are scams but can you please fix this
when green flag clicked
say [please help!]
Which device are you using? You can install the official offline editor on Linux still.

Long-since moved on from Scratch, if you need to find all my posts, search this in google: 3499447a51c01fc4dc1e8c3b8182b41cb0e88c67
Jonathan50
Scratcher
1000+ posts

Installing Scratch 1.4 on other Linux

4kun wrote:

How do I install on LFS?
If you want to use normal Scratch:
1) Install Squeak 3 or 4
2) Get the stuff from https://github.com/LLK/Scratch_1.4
Or you can use Squeak 5 and NuScratch.

Not yet a Knight of the Mu Calculus.
AidanU
Scratcher
2 posts

Installing Scratch 1.4 on other Linux

Will I still be able to play other people's games?

Powered by DjangoBB