Setup for Raspberry Pi


The Raspberry Pi was designed to be a cheap computer to enable kids (of all ages) all over the world to learn programming.


Initial Requirements

Network Connection

IMPORTANT: To activate Elastic COBOL you must be connected to the network and you must use the on-board LAN adapter to connect to your network. You can try using a wireless network adapter, but it may not work.

Once activated, you can switch back to a wireless network adapter and continue to use Elastic COBOL, but after 30 days you will need to connect again via the on-board LAN adapter. This cycle repeats itself every 30 days.

If you remain connected to the network via the on-board LAN adapter, Elastic COBOL will continue to work without any additional steps required.

Getting Your Raspberry Pi Ready

Setup your SD card with a Raspian Linux distribution.

Once your operating system is running, updating it is generally good practice:

$ sudo apt-get update
$ sudo apt-get upgrade


Installing Required Software

Elastic COBOL applications run on the Java platform, so a Java JDK is required.

Raspian has Oracle Java installed by default, so no additional steps are needed.


Installing Elastic COBOL

Put your '' file in your $HOME directory (this would have been emailed to you as part of the registration process).

Then extract the Elastic COBOL package in your $HOME directory, and run the setup script for the drivers:

$ cd $HOME
$ tar xzf ec4rpi.gz
$ cd ec4rpi
$ source

To setup your drivers automatically when you log in:

$ echo "source $HOME/ec4rpi/" >> $HOME/.profile


Validate Your Install

Ask Elastic COBOL to display a version banner:

$ ecc
Elastic COBOL V14.11.8 Copyright (C) 2010-2014 Heirloom Computing

No source files specified to compile.


Next Step

Click here to see how to compile and run your first Elastic COBOL application on the Raspberry Pi.

Was this article helpful?
2 out of 2 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk