You can download the most current source distribution of rudiments from http://www.firstworks.com/downloads/rudiments.Unpacking Rudiments:
To unpack the distribution, copy the file to a location on your machine that you have access to and execute the following commands:
This will create a rudiments-X.XX directory. Change directories into that directory.Compiling Rudiments:
To compile Rudiments, read the INSTALL file, then execute the following commands:
Rudiments should compile and function on unix-based systems using the GNU development system. Other compilers may work too but have not been tested on the current version.
The -pedantic flag must be used with newer GNU compilers. This flag is turned on by default, don't disable it.
Upon sucessfull compilation, the lib directory should contain both librudiments.a and librudiments.so.Installing Rudiments:
To install Rudiments, become root and execute:
By default, everything is installed under /usr/local/firstworks.
To uninstall Rudiments, become root and execute:
The rudiments class library consists of several classes. Some are utility classes, others are designed to be base classes for software.
As a rule of thumb, the base classes should be inherited from and the utility classes should be instantiated as needed. Some of the utility classes have static methods which can be called directly without instantiating an instance of the class.