Wednesday, August 17, 2011

Installation Starlink via UBUNTU Natty (ติดตั้ง Starlink บน Ubuntu 11.04)

You can install Starlink in Ubuntu using the following procedure. Ensure that you have at least 1.3 GB of free space on your root partition.
These instructions have been tested with Natty's version which was work properly.
  1. Download the most recent version of Starlink from the project download page. Most users should download the 32-bit Linux glibc 2.5 package.
  2. Once the download has completed, open a Terminal (Applications -> Accessories -> Terminal).
  3. Change to the root directory by typing the following:
    • cd /
  4. Unpack the archive in the root directory:
    • sudo tar -xvzf ~/Linux-32bit-glibc2_5.tar.gz
    • If you did not download the archive to your Home directory, replace ~/ with the path to the download directory.
    • A new top-level directory should have been created, called /star. This contains all of the Starlink applications and documentation.
  5. Open your .bashrc file for editing:
    • gedit ~/.bashrc
  6. Add the following lines to the end of your .bashrc and then save the file:
    • # source the starlink profile so we get the starlink env vars source /star/etc/profile
  7. Install the following packages (which are required by some of the Starlink software):
    • csh
  8. Log-out and then log back in again, or type source /star/etc/profile to set the environment variables required for the Starlink software to run.
  9. Open a Terminal and start the program you wish to use (for example, type gaia to start the GAIA image analysis application).

Starlink applications
The following is a short list of some of the major applications included with Starlink, and the commands required to run them:
  • GAIA - Graphical Astronomy and Image Analysis Tool: gaia
  • PHOTOM - Photometry package: /star/bin/photom/photom
  • PERIOD - Time-series analysis package: /star/bin/period/period