Running Scream and other Güralp tools on 64-bit Linux
64-bit Linux distributions have traditionally supported 32-bit applications, such as
Scream, using a single 32-bit support library called
i32libs. This contained
32-bit versions of most of the common shared objects (libraries). Unfortunately, it grew
very large and, because it needed updating every time any of the included libraries were
updated, it became unmanageable.
Modern Linux distributions have moved to a new model, known as "multiarch". Under
multiarch, each library is once again a separate package and the 32-bit versions are
typically distinguished by the suffix
It is, therefore, often necessary to install additional libraries in order to run Scream and the other Güralp linux tools, such as gcf2msd or gcf2sac on 64-bit Linux platforms. The precise details vary between distributions but most will follow either the Debian/Ubuntu model or the Red Hat/Fedora/CentOS model, for which details are given below.
Debian, Ubuntu, Mint and similar systems
Run the following commands to install the necessary libraries:
sudo dpkg --add-architecture i386
sudo -u apt-add-repository -u "deb http://archive.ubuntu.com/ubuntu/ trusty main"
sudo apt install libc6:i386 libx11-6:i386 libjpeg62:i386 libxext6:i386 libsm6:i386 libxt6:i386 libxp6:i386
Red Hat, Fedora, CentOS and similar systems
On these systems, it is necessary to edit the file
yum.conf to direct the system
to use the multiarch system. As root, open the file in your favourite editor and add the line
then save the file.
Now run one of the following commands, which enable the use of an additional repository.
The correct command* to use depends on your operating system version:
- For EL5, run
sudo yum localinstall https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm
- For EL6, run
sudo yum localinstall https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
- For EL7, run
sudo yum localinstall https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
*This information came from https://fedoraproject.org/wiki/EPEL
Lastly, run the following command to install the necessary libraries:
sudo yum install glibc.i686 libX11.i686 libXext.i686 libSM.i686 libjpeg-turbo.i686 libgcc.i686