Astronomy related programs

Several astronomy related programs are provided here, in Microsoft Windows and Linux versions, plus source code so that they can be compiled for other systems. Some of these programs are rather trivial (but you may still find them worthwhile); on the other hand, starmap, planet, and lunsol are quite involved.

About the programs

The programs are all command line based, not GUI. Linux users are mostly familiar with this, but many Windows users are not. The Windows section below points to some instructions that explain this.

The source code (.c files) of the programs is also provided, in case you are interested in seeing that, or would like to compile the programs for some other system. Each C program has only one .c file. Each can be compiled like "cc -o file file.c -lm".

The programs provided here are as follows. Click each name for descriptions and usage examples.

Getting the programs

Here are instructions for getting the programs. The programs are relatively small, so they are grouped together.

For Microsoft Windows

It is suggested that you make a folder called "astro" as explained here. You could make the folder by using Windows Explorer, but we want to ensure that the folder is in a convenient place for later use. Also, this will introduce you to using "command windows" if you are not familiar with that.

Then download all the files you want to the astro folder: Right click each of the appropriate files below and "save link as" or "save target as" to save it in your astro folder. (The folder's location was displayed in the lower left corner of the command window that you used to make the folder.)

Then unzip each zip file into your astro folder: In Windows Explorer go to the astro folder. For each zip file, double click it, click "extract all files", tell it to unzip the files into this same astro folder (not a folder below it), and click extract.

If you are going to use starmap, you also need to do this additional setup.

Please see these instructions for some advice about running these programs in a command window.

For Linux

It is suggested that you make a directory called "astro" and download all the files you want to the astro directory: Right click each of the appropriate files below and "save link as" or "save target as" to save it in your astro directory. In the astro directory type "unzip file.zip" for each zip file. Then "chmod +x" the program files. If you are going to use starmap, you also need a PostScript viewer, such as gv. The "map" shell script will call starmap and then call gv on the output.

For other systems

It is suggested that you make a directory called "astro" and download all the files you want to the astro directory: Right click each of the appropriate files below and "save link as" or "save target as" to save it in your astro directory. unzip each zip file that you downloaded. Then compile each C program. Each C program has only one .c file. Each can be compiled like "cc -o file file.c -lm".

Miscellaneous

These aren't programs, but here are a couple calculations you may find interesting:

If you have any questions or comments, you can send mail to support@arkkra.com.

Bill Krauss