README.Linux
changeset 0 648bde652211
child 5 f41d45fe7ae9
equal deleted inserted replaced
-1:000000000000 0:648bde652211
       
     1 ======================================================================
       
     2                     R E A D M E . L I N U X 
       
     3                     doc: Thu Jan 19 09:43:38 2006
       
     4                     dlm: Thu Jan 19 12:28:19 2006
       
     5                     (c) 2006 A.M. Thurnherr
       
     6                     uE-Info: 90 53 NIL 0 0 72 3 2 4 NIL ofnI
       
     7 ======================================================================
       
     8 
       
     9 This file contains Linux-specific notes for installing and running the
       
    10 LDEO LADCP operator scripts.
       
    11 
       
    12 ======================================================================
       
    13 PREREQUISITE SOFTWARE
       
    14 ======================================================================
       
    15 
       
    16 -------
       
    17 1. perl
       
    18 -------
       
    19 
       
    20 perl is part of most standard Linux installations. See Linux
       
    21 documentation on how to install missing software. In order to test it,
       
    22 run
       
    23 
       
    24 /usr/bin/perl -e 'use threads'
       
    25 
       
    26 If perl is not in /usr/bin, the 1st line of [bbabble] has to be
       
    27 modified. 
       
    28 
       
    29 
       
    30 ------
       
    31 2. gcc
       
    32 ------
       
    33 
       
    34 gcc, a C pre-processor, is part of all Linux distributions, as far as I
       
    35 am aware. In order to test it, run
       
    36 
       
    37 gcc -E /usr/include/stdio.h > /dev/null
       
    38 
       
    39 If you don't have gcc installed you'll have to modify [bbabble]. This is
       
    40 for perl/system programming experts only.
       
    41 
       
    42 
       
    43 ---------
       
    44 3. rb/lrb
       
    45 ---------
       
    46 
       
    47 [l]rb is the receiver-component of a public-domain implementation of
       
    48 the ymodem protocol called lrzsz. It exists as modules for most popular
       
    49 Linux distributions. Alternatively, the source can be downloaded from
       
    50 http://www.ohse.de/uwe/software/lrzsz.html. However, since the version
       
    51 has not changed since December 1998 (version 0.12.20) the corresponding
       
    52 tar file (lrzsz-0.12.20.tar.gz) is included in this directory.
       
    53 
       
    54 In order to test whether lrb is already installed, at least one of the
       
    55 following commands must work:
       
    56 
       
    57 lrb --help
       
    58 rb --help
       
    59 
       
    60 Otherwise, you must install lrb. The following commands might work:
       
    61 
       
    62 tar xfz lrzsz-0.12.20.tar.gz
       
    63 cd lrzsz-0.12.20
       
    64 ./configure
       
    65 make
       
    66 sudo make install
       
    67 
       
    68 
       
    69 ---------
       
    70 4. expect
       
    71 ---------
       
    72 
       
    73 expect is part of most Linux distributions, I think. In order to test
       
    74 it, run
       
    75 
       
    76 /usr/bin/expect < /dev/null
       
    77 
       
    78 If expect does not reside in /usr/bin, you'll have to edit all the
       
    79 operator scripts (grep -l /usr/bin/expect *).
       
    80 
       
    81 
       
    82 ======================================================================
       
    83 TTY DEVICE NAMES
       
    84 ======================================================================
       
    85 
       
    86 The native RS-232 tty devices in Linux are called /dev/ttyS0,
       
    87 /dev/ttyS1, ...  Most modern computers do not have multiple RS-232
       
    88 ports the ADCP heads will most likely be connected to the acquisition
       
    89 computer via USB-to-serial converters. The ones that we use at LDEO
       
    90 have tty device names /dev/ttyUSB0, /dev/ttyUSB1, ...