- This package is no longer maintained before I come back to seismology world. If someone is agreed with the concept of this repo, fork is welcome!
- NOTE: Because of LICENSE restriction, this repository does NOT provide IRIS' SAC source code or binary packages for you. You have to APPLY and download sources tarball on your own if you have related qualifications!
- Official software request page: http://ds.iris.edu/ds/nodes/dmc/forms/sac/
- Let installing and uninstalling steps more cleanly (NO MORE
sudo make install
! It will mess up your system!) - After installation, you don't have to manually set environment variables or
source
anything by yourself!
- Debian Stretch (9/oldoldstable)
- Debian Buster (10/oldstable)
- Debian Bullseye (11/stable)
- Debian Sid (bookworm/sid)
- Ubuntu Xenial Xerus (16.04)
- Ubuntu Bionic Beaver (18.04)
- Ubuntu Focal Fossa (20.04)
- Ubuntu Jammy Jellyfish (22.04)
- amd64
- arm64 (aarch64)
- If you know what docker is, it is suggested to use it or create new clean container/chroot to simplify your build environment.
- If you are lazy to use docker/other chroot-like environment, please make sure your environment are not too messy (too many custom installation, i.e.
sudo make install
)
You can download current *.zip
archive of this repository and extract it.
cd sac_debian_packager-${VERSION_NUMBER}
cp ${LOCATION_OF_DOWNLOADED_TARBALL} ./ ## For example, cp ~/Download/sac-101.6a-source.tar.gz ./
apt install build-essential libx11-dev libncurses-dev libreadline-dev autoconf automake autopoint autotools-dev libcurl4-openssl-dev zlib1g-dev libxml2-dev pkg-config ### with root
change your current directory to this source code repo and:
./build.bash ### with normal user, or you can type bash build.bash
apt install ./sac-iris-*_amd64.deb #### with root, you can change * to specific version number
- You can directly type
sac
and run the SAC program, without any shell profile installation.
apt remove sac-iris ### with root
./build.bash --clean ### with normal user
- Adding build dependencies package installing procedure to
build.bash
. fix shellcheck warningAdd patch to fix wrong autoconf name ((upstream fixed)configure.in
should beconfigure.ac
), simplified duplicated patch.Pass the compilaion with(upstream fixed)-fno-common
mode