As of the date of this web page, October 21, 2023, there are no
inherent difficulties in compiling and running the Computer
Programs in Seismology codes. However as Linux migrate to using
the Wayland graphics compositor, there may be some differences in
how the X11R6 graphics is supported.
The instructions below show how to install the compilers and
useful software to be able to compile Computer Programs in
Seismology and to have a functioning system for research.
Of the distributions below, the author uses Linux Mint, and thus
the instructions are current. The instructions for Ubuntu Linux
should be very similar.
The instructions for Red Hat and OpenSUSE are old and perhaps
outdated. Use the instructions for Linux Mint as a guide to
necessary software, even though the name of the required packages
may be slightly different.
You can use the software download page, or open a terminal window and enter the following commands:
sudo apt-get install make sudo apt-get install gcc sudo apt-get install gfortran sudo apt-get install xorg-dev sudo apt-get install libncurses5-dev sudo apt-get install gawk
The following programs are useful:
sudo apt-get install gv sudo apt-get install ImageMagick
ImageMagick is useful tool for converting Encapsulated PostScript
to other graphics files. This is useful when creating documents
using Microsoft Work or LibreOffice and presentations using MS
PowerPoint or LibreOffice Impress. As software is further
developed, there are often slight differences that must be
accounted for to be useful.
First beware of ImageMagick 7.1.1-8. See the discussion given in
the section on MacOS.
Also note that there may be permission problems in creating PNG
files from EPS files using ImageMagick. To be able do this,follow
these instructions:
As superuser, edit /etc/ImageMagick-6/policy.xml e.g., sudo vi /etc/ImageMagick-6/policy.xml or sudo xed /etc/ImageMagick-6/policy.xml Change the lines <policy domain="coder" rights="none" pattern="PS" /> <policy domain="coder" rights="none" pattern="EPS" /> <policy domain="coder" rights="none" pattern="PDF" /> <policy domain="coder" rights="none" pattern="XPS" /> to this: <policy domain="coder" rights="read|write" pattern="PS" /> <policy domain="coder" rights="read|write" pattern="EPS" /> <policy domain="coder" rights="read|write" pattern="PDF" /> <policy domain="coder" rights="read|write" pattern="XPS" />
You can use the Add/Remove Software tab, or open a terminal window and enter the following commands:
yum install gfortran yum install libX11-devel yum install ncurses-devel
the following programs are useful:
yum install gv yum install ImageMagick
This has not been updated in at least 10 years.
Applications -> SystemLizard Button -> Computer -> Install/Remove Softares , or invoke /sbin/YaST2 directly
gcc gcc-fortran xorg-x11-devel ncurses-devel ImageMagick gv java make perl
cd PROGRAMS.330 ./Setup LINUX6440 ./C 2>&1 C.txt
ls bin/* | wcIf you do not see on the order of 150 programs, then examine the C.txt to determine what failed. This is the file to send to the Email address given on the main page if there are problems.