Download the installation file from CWP website:
click here to download.
After downloading the file, extract the file, you will get a folder called "src"
Now, Make a Directory, where you want to install Seismic Unix...in my case, i am creating "cwp" directory in home directory:
mkdir cwp
Now move the "src" folder in "cwp" directory: copy "src" and paste it in "cwp".
mv src /cwp/ if src is in your home directory
Go to src/cwp directory:
cd cwp/src
Then type the following command one by one in terminal: Make sure you are in "src" directory.
echo "export CWPROOT=~/cwp" >> ~/.bashrc
echo "export PATH=$PATH:~/cwp/bin" >> ~/.bashrc
source ~/.bashrc
make install
sudo apt-get install libx11-dev
sudo apt-get install libxt-dev
make xtinstall
Now Seismic Unix is installed in your system if you don't get any error up to now. To check it, run this:suplane | suximage title="My first test" &For any query, please, write a comment..........thank you!
Thank you. It installed successfully. Please how do I create a shortcut to this terminal on the desktop. Thanks.
ReplyDeleteSeismic Unix(SU) is a terminal base program, we can't create Desktop shortcut.
DeleteTo use SU, Using terminal, go to the directory,where you kept your seismic data file,then use SU command according to your objective.
After installation completed, I could not test it. I received suplane: command not found
Deletesuximage: command not found.
please what do you advice?
That means your installation didn't complete successfully. Do the installation again from beginig, take screen shot after every command you run and mail me..
DeleteHi, i have the same problem.. and i try it many times... did you solve it yet?
Deletesend me the screen shot after you ran the each command...very soon i will edit my post and will add screen shot too..:)
DeleteThanks for the reply. It works now. Please do I need to install additional libraries to this?
ReplyDeleteNope..
DeleteThanks once again.
ReplyDeleteShowing error after $ source ~/.bashrc
ReplyDeleteon interning $ make install
showing
/home/arabind/cwp/src/Makefile.config: No such file or directory
make: *** No rule to make target `/home/arabind/cwp/src/Makefile.config'. Stop.
on ls Makefile.config is showing the src directory
can you send me the screen shot of all the step you did?
DeleteWhat should I do if I have an older SU version already install? Many thanks.
ReplyDeleteyou can install new version without removing the old version. why keep old version, if you have installed new version?
DeleteVery interesting article. I make reference to my blog
ReplyDeleteHello Ranjeet, Nice to see you on this blog...i am also facing problem.
ReplyDeletehi, I'm Gianfranco and I've problems with SU installation.
ReplyDeletesome commands answer error and I don't understand what means.
Can you be more specific about command? which command gives error?
DeleteThis comment has been removed by the author.
DeleteThanks Ranjeet
ReplyDeleteYou are welcome :)
DeleteHi Ranjeet,
ReplyDeleteThanks for you have already post this step.
But I have problem when install this program, I hope you can help me for solved it.
bash: export: '/home/seismik/cwp/bin': not valid identifier
After which command, you are getting error?
DeleteHi Ranjeet,
ReplyDeletei get an error while installing 'make mglinstal' on SU, whats wrong with it?
collect2: error: ld returned 1 exit status
Makefile:21: recipe for target '/home/EULER/seismicunix/bin/trip' failed
make[3]: *** [/home/EULER/seismicunix/bin/trip] Error 1
make[3]: Leaving directory '/home/EULER/seismicunix/src/Mesa/main'
Makefile:26: recipe for target 'remake' failed
make[2]: *** [remake] Error 2
make[2]: Leaving directory '/home/EULER/seismicunix/src/Mesa/main'
Makefile:11: recipe for target 'remake' failed
make[1]: *** [remake] Error 2
make[1]: Leaving directory '/home/EULER/seismicunix/src/Mesa'
Makefile:152: recipe for target 'mglremake' failed
make: *** [mglremake] Error 2
Do the followings:
Delete1. sudo apt-get install freeglut3-dev
2. make mglinstall
i am using cygwin, there is no command sudo. are there the other solutins?
Deletehi Ranjeet,
ReplyDeletethis code's work on mac os?
yes, you try, if any error comes, tell me.
DeleteThis tutorial is awesome. I think that I got the right stuff. But, instead of running "suplane | suximage" anywhere, I had to go to the bin folder and run "./suplane | ./suximage".
ReplyDeleteWhat must be the output of "suplane | suximage". I don't know if the image is right.
ReplyDeleteyes..you will get a image as output.
Deletethanks for the info! If i woulf like to install others installers like "make finstall", etc etc, what should i have to do?
ReplyDeleteYou can do that in two steps:
Delete1. First, install a Fortran compiler:
sudo apt-get install gfortran
2. Now,run this: make finstall
If you get any error, write here.
Ranjeet
ReplyDeleteI got this
make install
By answering you agree to abide by the terms and conditions of
the above LEGAL STATEMENT ?[y/n]y
touch: cannot touch 'LICENSE_43R1_ACCEPTED': Permission denied
Makefile:66: recipe for target 'LICENSE_43R1_ACCEPTED' failed
make: *** [LICENSE_43R1_ACCEPTED] Error 1
How to solve this? I f I go with sudo that does not solve the problem.
try this: sudo make install
DeleteRanjeet
ReplyDeleteI got this
make install
By answering you agree to abide by the terms and conditions of
the above LEGAL STATEMENT ?[y/n]y
touch: cannot touch 'LICENSE_43R1_ACCEPTED': Permission denied
Makefile:66: recipe for target 'LICENSE_43R1_ACCEPTED' failed
make: *** [LICENSE_43R1_ACCEPTED] Error 1
How to solve this? I f I go with sudo that does not solve the problem.
Ranjeet
ReplyDeleteI got this with make install
By answering you agree to abide by the terms and conditions of
the above LEGAL STATEMENT ?[y/n]y
touch: cannot touch 'LICENSE_43R1_ACCEPTED': Permission denied
Makefile:66: recipe for target 'LICENSE_43R1_ACCEPTED' failed
make: *** [LICENSE_43R1_ACCEPTED] Error 1
Why?Going with sudo does not solve the problem.
when after installing i am writing this
ReplyDeletesudo apt-get install libx11-dev
sudo apt-get install libxt-dev
make xtinstall
then i am getting error - E: Syntax error /etc/apt/apt.conf:4: Extra junk at end of file
problem is due to proxy error. follow this:
Deletehttps://ubuntu4questions.wordpress.com/2015/01/09/how-to-solve-extra-junk-at-end-of-file-when-using-apt/
This comment has been removed by the author.
ReplyDeleteInstalled Successfully Thank you Sir
ReplyDeleteIt wouldn't be possible without you help.
This comment has been removed by the author.
ReplyDeleteThanks for providing this informative information you may also refer.
ReplyDeletehttp://www.s4techno.com/blog/2016/07/11/aix-user-administration-2/
thank you for the installation guide....
ReplyDeleteSU works fine :D
excellent apport is simple and accurate thank you!
ReplyDeletemmmmmmm@mmmmmmm-PC ~
ReplyDelete$ suplane | suxwigb &
-bash: suplane: command not found
[1] 400
Please, export installation path to bashrc file or try again all the installation steps from the beginning.
DeleteRun the followings:
echo "export CWPROOT=~/cwp" >> ~/.bashrc
echo "export PATH=$PATH:~/cwp/bin" >> ~/.bashrc
source ~/.bashrc
Thanks! it worked for me.
ReplyDeleteHello Ranjeet. Thanks for this useful blog.
ReplyDeleteI am pretty new at Ubuntu and I am having troubles installing SU. How can I edit the SU configuration file to my system needs? I keep getting this error:
brian@Brian-PC:/home/cwp/src$ make install
Makefile:32: /home/brian/cwp/src/Makefile.config: No such file or directory
make: *** No rule to make target '/home/brian/cwp/src/Makefile.config'. Stop.
I have seen some post stating we have to edit the 'Makefile.config' file but I am not sure how to do it. I will be greatly thankful if you could help me with this.
Thanks in advance!
Hello Ranjeet. Thanks for this useful blog.
ReplyDeletei inistaled correctly. and i wanted practice, to run it . plz help me how to run and practice with it. example ? or test ?
how is it work ? :(
Hello sir,
ReplyDeleteI would like to thanks for this blog.Because this blog is helpful to su installation process. Now I need a one help from you, am the new user in su software so I don't know how to create a geometry setting for seismic data. So, please help me how to create seismic data geometry setting program and give some example program.
I'm not sure if you still active in this blog, but I just wanna to say thank you, so THANK YOU! I couldn't find something that works for me, untill I used your steps, thank you so much
ReplyDelete"make xtinstall" doesn't run to my Ubuntu 20.04.3 LTS. Than what to do next?
ReplyDeleteHello Ranjeet,
ReplyDeleteI have a problem with the instalation. After I make install, thats the result:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
In file included from fgettr.c:90:
/home/laboratorio3/cwp/include/su_xdr.h:10:10: fatal error: rpc/types.h: No such file or directory
10 | #include
| ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/home/laboratorio3/cwp/src/Rules/suffix.rules:4: /home/laboratorio3/cwp/lib/libsu.a(fgettr.o)] Error 1
make[2]: Leaving directory '/home/laboratorio3/cwp/src/su/lib'
make[1]: *** [Makefile:7: INSTALL] Error 2
make[1]: Leaving directory '/home/laboratorio3/cwp/src/su'
make: *** [Makefile:92: sustuff] Error 2
What can I do?
Best Regards