LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2015, 09:02 AM   #1
Bimo Mukti Wibowo
LQ Newbie
 
Registered: Jun 2015
Posts: 3

Rep: Reputation: Disabled
Question Mseed2sac


Hi everyone,

I'm newbie with linux and i don't know how to install software in linux.

can you tell me how to install software "mseed2sac"?
mseed2sac is a software that use to change data from miniseed to SAC (Seismic Analysis Code)

please help me

thankyou,
regards
 
Old 07-01-2015, 09:52 AM   #2
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Apparently the program is written in C. Here is what you do:
1. Download the tarball from here: http://ds.iris.edu/media/software/ms...sac-2.0.tar.gz
2. cd into the directory where you donwloaded the mseed2sac-2.0.tar.gz tarball.
3. Issue the following commands:
Code:
gunzip mseed2sac-2.0.tar.gz
tar -xvf mseed2sac-2.0.tar
4. cd into the directory mseed2sac-2.0
5. Read the README file for instructions on how to install:
Quote:
In most Unix environments a simple 'make' will build the program.

If your system does not have zlib you can compile the program without
support for ZIP archive output: first type 'make' in the main
directory (the build will fail), then go to the 'src' directory and
type 'make nozip'.
Please note, I know NOTHING about this program or its dependencies. Build at your own risk.

Best regards
 
Old 07-01-2015, 12:42 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The run time zlib is default for any OS.
* Installing the development parts of zlib, and gcc-4.9 :
$ sudo apt-get install zlib1g-dev g++

Building mseed2sac :
1) $ tar xvf mseed2sac-2.0.tar.gz
2) $ cd mseed2sac-2.0/
3) $ make
... and the executable 'mseed2sac' is created.
4) Installing : $ sudo cp mseed2sac /usr/local/bin/


-

Last edited by knudfl; 07-01-2015 at 01:05 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration