This tutorial demonstrates how to download Webnucleo's distribution of libstatmech. It assumes you are in a Linux or Unix environment. If you are using a different operating system, please adjust the following instructions as appropriate . (Microsoft windows users may wish to use Cygwin, a linux/unix-like environment for Windows. To install Cygwin, please see the following blog post.)
If you do not already have a modules directory, create one. An appropriate location might be ~/modules, so type
cd ~
This gets you to your home directory. Now type
mkdir modules
This command creates a modules directory under your home directory.
Download the gzipped tarball for the latest release from the libstatmech files page. (Other releases are available from that page as well under the libstatmech link.) Place the tarball in your ~/modules directory.
You now need to unzip the tarball. To do so, type
gunzip libstatmech_x.tar.gz
where x is the version number of the release you downloaded. For example, if you downloaded libstatmech_0.1.tar.gz, type
gunzip libstatmech_0.1.tar.gz
Now extract the distribution by typing
tar xvf libstatmech_x.tar
where again x is the version number you downloaded.
You may wish to clean up your ~/modules directory. To do so, type
rm libstatmech_x.tar