Appendix A. Obtaining and Installing G-Cows

Table of Contents
A.1 Which Package?
A.2 Installing RPM package
A.3 Installing Source Tarball

A.1 Which Package?

G-Cows should work on every Unix or Linux system. It's developed on FreeBSD and extensively tested on various Linux distributions, openBSD and netBSD.

The latest version (G-Cows 1.9) has been tested on the following systems:

Older versions have been reported to work on Mac-OS and Windows (under Cygwin) too.

G-Cows can be downloaded in different formats:

Programs are written in a human readable form (source) and then translated in a machine readable form (compiled). The packages contain the already compiled executables (for Fedora Core Linux, Suse Linux and FreeBSD respectively) while the source tarball contains the original sources and must be compiled.

A.1.1 Linux and FreeBSD Packages

Packages contains the already compiled executables. They can be easily installed on Fedora Core 4, SUSE Linux 10.0 and FreeBSD. For other distributions/systems you have to download the source tarball and compile G-Cows on your own (RPM packages could possibly work on other Linux distributions which use this standard like Red Hat and Mandriva).

Packages must be installed as root so if you can't do that, you must use the source tarball, which gives you a higher control on installation and allow an installation without root privileges.

A.1.2 Source Tarball

The source tarball contains all the source files needed to compile G-Cows on your system. You only need to download the file and follow the installation instructions reported in the download page. However, in order to compile G-Cows you need some development tool installed on your system.

If the installation script will complain about missing tools, refer to the documentation of you system to install them. If in trouble mail to: info@g-cows.org for help.

  • a C++ compiler (gcc);

  • an implementation of the STL (Standard Template Library);

  • the Make utility;

  • Lex, or a compatible scanner generator like Flex;

  • Yacc or a compatible parser generator like Bison.

If you don't have these development tools installed on your system (and you don't want to install them) you'll probably prefer the compiled package.

This manual can be downloaded from http://www.g-cows.org/.