EMC Download Page


Contents

Introduction
NIST Description

Links to downloads
Ray's three-disk download
Credits


Introduction

You will find the most recent releases of the EMC on sourceforge.net in the EMC download area. The current releases of the EMC include a set of four files made by executing the packup file in the base directory. On my machines this is /usr/local/nist*. This command creates a master tar file that includes emc - the date of the packup - .tgz The current size of this file is around 3.5 to 4 meg.

There are three files that contain the same release but are broken into floppy sized chunks. These are indicated by the same release date but use .aaa .aab .aac. You can download these directly to an msdos floppy and put them together on your linux machine using Ray Henry's description below.

The last file to be included in the build is the .txt file which includes information about the release.
(contents)


NIST Directory Description

This directory contains a series of EMC releases in various formats. The releases are dated according to the convention:

emc-DD-Mon-YYYY

where

DD is the two-digit day number,
Mon is the three-letter month abbreviation, and
YYYY is the four-digit year.

So, emc-03-Mar-1999 signifies the March 3, 1999 release. This date will be used in the examples below. There will be at least two sets of releases, possibly more. The most recent is the one you should download, unless you know otherwise.

The suffixes indicate the type of file:

.txt The release notes for the associated release. Read this first to decide if you want this release.

.tgz The full EMC release in compressed tar ("tape archive") format.

Unpack and install in the /usr/local/nist directory via:

cp emc-03-Mar-1999.tgz /usr/local/nist
cd /usr/local/nist
tar xzvf emc-03-Mar-1999.tgz
./install 1> mylog 2> mylog

.log The output of the "install" script, as logged at NIST. Useful for comparing the results of your install. If you captured the output of the install, as shown above with the "1> mylog 2> mylog" output redirectors, you can compare with the release log via:

diff emc-03-Mar-1999.log mylog

This should show no differences. If you have install problems you can email the log to emc@nist.gov and we can spot obvious problems.

.aaa The full .tgz release is several megabytes, currently
.aab about 4. This is too big to fit on a floppy. If your Linux machine is not on the network, you can copy each of these files onto a floppy (they just fit), copy them onto your Linux box, and concatenate them together to form the full release, like this:

cat emc-03-Mar-1999.aa* > emc-03-Mar-1999.tgz

The .aaa file is the first part, the .aab is next, etc. The * wildcard will match alphabetically so this short form will expand the file names in the right order.
(contents)


Links

Here are a few links to help you get the latest EMC release. The first two are located on a server at NIST itself:

For the Linux 2.0.36 kernel
For the Linux 2.2.13 kernel

This next link is located in the linuxcnc.org dropbox. I set this up in case the NIST server is down:

emc-31-Jan-2000.tgz

Here is a text file containing release notes on the January version version:

emc-31-Jan-2000.txt

(contents)

 

Ray's three disk download procedure.

Once I have the three EMC files on disk, the next thing I'd do is make a directory called /usr/local/nist on the Linux machine.

Type in: mkdir /usr/local/nist [enter]

Now move into that directory.

Type in: cd /usr/local/nist [enter]

The prompt should show nist on the right end. You can stay in this directory and copy files to it. Insert the first floppy into your machine.

Type in: mount -t msdos /dev/fd0 /mnt/floppy [enter]

After a second of looking at your floppy it should return your screen to your root prompt. This mount command will allow you to work with floppy files in your /mnt/floppy directory. If you have already defined /dev/fd0 as having the msdos file type you may be able to skip the -t msdos part of the above command.

Type in: cp /mnt/floppy/* /usr/local/nist

After a bit of floppy disk grinding you should get the prompt again. Check to see that the file was copied.

Type in: ls (lower case L) [enter]

You should see a list of the files in the nist directory. At this point there will be just one emc-**-***-1999.aa* if you copied it.

Type in: umount /dev/fd0

After a second you should get the prompt again. If you get a "can't umount message" it is probably because umount will not work when you are in the /mount/floppy directory.

When umount is successful you'll need to repeat the mount, copy, ls, and umount commands for each of the disks. You don't need to type in each command every time, at the prompt, he up arrow will scroll you back to the previous commands. Just up arrow to the one you want and [enter].

Now that you've got a directory listing all of the emc floppy files in it, all you have to do is put them together. You can do this with the cat command. It will be easiest if your prompt and the files are in your nist directory.


Type in: cd /usr/local/nist
Type in: cat emc* > emc-dd-Mmm-yyyy.tgz [enter]

(you should replace the dd-=Mmm_yyyy with the proper release numbers.) After a bit of work you should see the prompt again.

Type in: ls -l

Those are lower case L's not one's. The big tar file should be listed as a 3+ meg file with the .tgz extension.
(contents)



Credits

This is a preliminary copy of a chapter to be included in the part programming section of the EMC cookbook. This page is maintained by Dan Falck. Comments, criticism, additions, subtractions, and editing are encouraged.