Complete the following steps to install software and start-up the laboratory sessions: 1.- Copy the CDROM content to YOUR laptop (in the directory GNSS): ------------------------------------------------------------------ Complete the following steps (for instance): - Create the directory "GNSS" in the home directory (~): mkdir ~/GNSS - Copy the content of CDROM to the directory "GNSS": --> From the CDROM directory, execute: cp -r PROG ~/GNSS cp -r HTML ~/GNSS cp -r FILES ~/GNSS cp README*.txt ~/GNSS cp ntpd_tut*.scr ntpd_tut*.txt ~/GNSS IMPORTANT: ---------- 1) The C-shell scripts: TUT3: Dobs.scr, ObsFile1.scr TUT4: DDobs.scr, ObsFile.scr are using the following path: "/usr/bin/tcsh" (see file header) Update this path if necessary. 2) The Perl-scripts: TUT5: abel.perl, RO.perl are using the following path: "/usr/bin/perl" (see file header) Update this path if necessary. 3) To avoid problems with UNIX command "sort", the following "locale variable" must be set to US: LANG=en_US.UTF-8 That is, in case of an installation in other language (e.g. in French), the next sentence must be append at the end of the user file ~/.bashrc : LANG=en_US.UTF-8 NOTE: To save space in the disk, a link can be created for the directory FILES instead of copying its content. 2.- Compile the the programs: ----------------------------- a) PREVIOUS: The following packages are required: Python, gawk, gcc, fort77 and octave (or MATLAB). Note: OCTAVE is a free software (MATLAB-like) more than 95% compatible with MATLAB. These packages can be installed in UBUNTU as follows: - Installing Python (this is necessary for gLAB GUI and for graph.py): sudo apt-get install python python-wxtools python-matplotlib python-tk - Installing gawk: sudo apt-get install gawk - Installing C compiler (gcc) sudo apt-get install gcc - Installing FORTRAN compiler (f77) sudo apt-get install fort77 - Installing OCTAVE sudo apt-get install octave b) TUTORIAL-SOFTWARE COMPILATION: - Go to directory "GNSS/PROG": cd ~/GNSS/PROG - Compile and install the programs by executing: make make install make clean 3.- Start up the laboratory session: ------------------------------------ For instance, for TUTORIAL-3: ========== In the "GNSS" directory: - Create the following directories: cd ~/GNSS mkdir WORK mkdir WORK/TUT3 mkdir WORK/TUT3/FIG - Go to the "WORK/TUT3" directory cd WORK/TUT3 - Copy the program files: cp ../../PROG/TUT3/* . - Copy the Data files: cp ../../FILES/TUT3/* . - Uncompress the data files: gzip -d *.Z *.gz - Start "Applied Lecture" exercises following the instructions of slides "Tutorial_3_v0.0.pdf". Note: See also the notepad "ntpd_tut3.scr" (you can find this notepad file is in the directory ~/GNSS). NOTEPAD file: ============= The "ntpd_tut3.scr" file contains the command line sentences of the exercises for the Applied Lecture. These notepad are provided to help the user in the sentence writing, and the user can "COPY" and "PASTE" such sentences in the working terminal. For those exercises where gLAB is executed using the Graphic User Interface (GUI), the equivalent "command line gLAB sentence" and the associated "gLAB configuration file" (i.e. gLAB.cfg), if needed, are also provided in the "FILES/TUT3" directory. NOTE: The notepad "ntpd_tut3.scr" file is a UNIX script that execute automatically the entire session when they are executed from home directory. That is: Execute for instance: cd ~/GNSS ntpd_tut3.scr The following directories will be created: WORK/ WORK/FIG Where the directory "FIG" contains the plots.