Table of Contents

EAC Ubuntu Install Instructions

Official EAC Ubuntu install instructions.

These specs were tested on a 600 MHz machine with 256 MB of RAM.

USB Install Key

There should be a usb key floating around the shop with the label “UBU”.

That key has the installation scripts, and the Scratch tarball.

Installation Steps

The steps outlined here will install everything + Scratch.

Main Installation

  1. If you have the USB key, put it into the computer.
    • If we've lost the install script, the script can be re-created using the packages in the Ubuntu Packages section, and you'll need to re-create the Scratch install script from the Scratch Stuff section if we've lost that as well :-(
  2. Go to the terminal, and cd to /media/Lexar
  3. Run ./copy_scripts.sh
    • All the stuff on the USB key will be copied to the hidden ~/.bworks directory
  4. Type cd ~/.bworks
    • You can now unmount the USB key
  5. Type ./install_both.sh – Do not use sudo.
    • The first few steps will require user interaction.
    • After you answer about 3 questions, you can let the script run.
  6. Follow up with the next sections, and stop when you get to Appendix

Customize Scratch Menu

Sanity Check Scratch

Customize Mail Icon

Default Music Codec

Openclipart Directories

This is necessary because the default install of Open Office looks in .bworks/.openOfficeBlah directory for Clip Art, and it's not installed there. In fact, it has to be downloaded using the openclipart-openoffice.org package, and then Open Office needs to be pointed to the /usr/share/openclipart directory. :-(

Appendix

If you're following the install steps, stop here!

Ubuntu Packages

Shell-scriptyness was removed, but here are packages, and install commands

# Typing programs.
tuxtype ktouch
  
# Unison helps mentorship students keep their files in sync
# with USB.
unison unison-gtk

# Kolourpaint requires KDE libraries, but it's a really
# cool, easy to use paint program, like MS Paint.
kolourpaint
  
# Extra music goodies.
# These are on the whiteboard for review by our Volunteers, and will probably be trimmed down.
amarok banshee audacity audacious mplayer listen bmpx

# Drum Kit!!
hydrogen hydrogen-drumkits

# Gambas = Bill/Nate endorsed excellent programming tool
# like Visual Basic
gambas2

# Ruby - Nate-endorsed awesome programming tool
ruby ri rdoc irb
#mkdir -p ~/Documents/ruby
#mkdir -p ~/tmp
#cd ~/tmp
#wget http://www.ruby-doc.org/download/ruby-doc-bundle.tar.gz
#tar -C ~/Documents -xzvf ruby-doc-bundle.tar.gz

# ----- Geany --------------
geany

# Games
frozen-bubble

# Productivity Goodies
gnome-do

Scratch Stuff

Below is a script that downloads the tar file from Nate's wiki if scratch1.3.tgz has not already been downloaded.

If the script is not on the *UBU* USB key then:

  1. Copy the script below into its own bash script (e.g. scratchInstall.sh)
  2. Make the script executable chmod 755 scratchInstall.sh
  3. If you already downloaded scratch1.3.tgz from http://notesmine.com/scratch_installer#scratch_1.3_installer then copy scratch1.3.tgz into the SAME DIRECTORY as scratchInstall.sh.
  4. If you have not downloaded scratch1.3.tgz, then this script automatically do it for you.
  5. Run scratchInstall.sh

This script is on the USB key, and should only be copied/pasted into a new script if the USB key is lost. Plus, the MD5 sum is incorrect, because the scratch1.3.tgz file was updated on 1/28/2009, and the MD5 sum hasn't been corrected on this page. :-O

#!/bin/sh
if [ ! -f scratch1.3.tgz ]
then
   wget http://notesmine.com/_media/scratch1.3.tgz
fi
 
# Check MD5 sum
if [[ "`md5sum scratch1.3.tgz | grep -v cc0b355593ce39dd32810e9bd56779c9`" != "" ]]; then
    echo "Md5sum doesnt match! Exiting Script"
    exit 1
else
    echo "MD5 sum is g00t"
fi
 
# If anything prints out, that's BAD
 
tar xzvf scratch1.3.tgz
./scratch_install.pl
# Remove temporary install files.
rm ./scratch_install.pl
# Remove Scratch.tar.gz which is in the scratch1.3.tgz file, along
# with the perl installer.
rm -f ./Scratch.tar.gz
 
# Move the tgz file to somewhere safe.  
# Sometimes, kids mess w/Scratch folder.
# This copy can be used to restore it.
mkdir -p ~/.bworks
 
# Copy the scratch file and this install script to the bworks directory for backup.
cp scratch1.3.tgz ~/.bworks
cp $0 ~/.bworks

Wallpaper Stuff

* Note Not done yet, we want to try a different wallpaper.

mkdir -p ~/.bworks  
cd ~/.bworks
wget http://wiki.bworks.org/_media/byteworks_1280_1024.png