Linux一些软件的安装
当然,最直接有效的方法是sudo安装(sudo apt-get install + softwarename)
以下是一些软件的安装过程笔记,还希望有用吧!也给自己留个备份的,哈哈哈。
1.sac/sac2000install in: /opt/sac
####################change the install position#########################install in: /usr/local/sacprocedures:vi .bashrc export PATH=/usr/local/sac/bin:$PATHexport SACAUX=/usr/local/sac/aux Esc + :wqsource .bashrc #save the .bashrc
########################################################################
---------------------------------------------------------------------
2.GMT install in: apt-get install GMT
3.pssac2copy the 'pssac2' to '/opt' (#'recf' is the name of the source document)
4.Installing the source code of the 'recf'input the following command: $cd recFunc/RForward/$cd Subs$make (modified the 'Makefile' is needed,because 'sac' install in 'usr')$cd ../Decon $make (same with up)$cd ../RespKennett$make (same with up)$cd ../Utilities$make (same with up) -----this procedure isn't complete yet.
5.Creat the document '/opt'$cd ~$mkdir bin
6.lupei.o$cd ~$cp -a /home/rongtao/Desktop/software/recf/lupeiStack binget in the 'bin' you just built ($cd---)$gcc -o lupei.o lupeiStack.c -lmcopy the 'lupei.o' to 'bin' ,so that other shell can use it.
7.ttimes and evt2saccopy these two to 'bin','ttimes' doesn't need configure,'evt2sac' need.$cd evt2sac$make
3.rdseedinsrall in: /usr/local/rdseedprocedure:make clean + vi Makefile +change the "#" between 32 and 64 +vi .bashrc +export PATH=/usr/local/rdseed +Esc + :wq
4.Madagascar (wrong install,so make installing again,see in the following part)sudo apt-get install freeglut3-dev g++ gfortran libgd2-xpm-dev libglew1.5-devthere are some problems about installing (suggested packages:libxcb-doc.....sudo apt-get install libjpeg62-dev libx11-devsudo apt-get install libxaw7-dev libnetpbm10-dev swig python-dev python-scipy python-numpysudo apt-get install libtiff4-dev scons units libblas-devsudo apt-get install libcairo2-dev libavcodec-dev libplplot-devthere are some problem too.cp -a /Desktop/madagascar /usrcd madagascarscons (problem?)scons installvi .bashrc +
5.Madagascar(try installing again,follow the 'INSTALL.txt')(c complier and Python interpreter have not ready yet)cd /usr/madagascar./configure --prefix=/usr/madagascar/install ./configure --prefix=/usr/madagascar/install \API fortran-90make ...Donemake installsource /usr/madagascar/install/share/madagascar/etc/env.sh#source /usr/madagascar/install/share/madagascar/etc/env.cshinstall is Done,the following code is try to test the installing successfully or not.(sfinsfattrsfspikesfbandpasssfwiggle)
6.Seismic Unixsometimes when i use the Madagascar smoothly,and consider the SU is necessary or not...2015/10/30installing the sesmic unix today,修改~/.bashrcexport CWPROOT=/home/rongtao/su export PATH=$PATH:/home/rongtao/su/bin make installmake xtinstallmake finstallmake mglinstallThere still some thing wrong!
7.mpich2 installing in '/home/mpi/mpich/src'procedure:./configure -prefix=/home/mpi/mpich2sudo makesudo make installmodify the '~/.bashrc' +export MPI_ROOT=/home/mpi/mpich2+export PATH=$MPI_ROOT/bin:$PATH+export MANPATH=$MPI_ROOT/man:$MANPATH(then you can configure your own code)mpicc -o hello hello.cmpirun -np 4 ./helloHow to run the hello?cd $HOMEtouch .mpd.confchmod 600 .mpd.conf(then )mpdbootcd ~touch .mpd.confchmod 600 .mpd.conf(then )mpirun -np 4 ./hello(come from internet: http://www.cnblogs.com/liyanwei/archive/2010/04/26/1721142.html )
*******************there a code you can learn**************************
#include "mpi.h"int main (int argc, char **argv)
{
int myid, numprocs;
int namelen;
char processor_name[MPI_MAX_PROCESSOR_NAME];MPI_Init (&argc, &argv);
MPI_Comm_rank (MPI_COMM_WORLD, &myid);
MPI_Comm_size (MPI_COMM_WORLD, &numprocs);
MPI_Get_processor_name (processor_name, &namelen);
fprintf (stderr, "Hello World! Process %d of %d on %s\n", myid, numprocs, processor_name);
MPI_Finalize ();
return 0;
}
Linux一些软件的安装相关推荐
- linux下软件的安装[转]
linux下软件的安装 先来看看Linux软件扩展名.软件后缀为.rpm最初是Red Hat Linux提供的一种包封装格式,现在许多Linux发行版本都使用:后缀为.deb是Debain Linux ...
- Linux下软件的安装与卸载
在Windows下安装软件时,只需运行软件的安装程序(setup.install等)或者用zip等解压缩软件解开即可安装,运行反安装程序(uninstall.unware."卸载" ...
- Linux各种软件的安装
Linux各种软件的安装(Ubuntu18.04为例) 1.google浏览器的安装 2.anaconda的安装 3.markdown文档的安装 4.NVIDA,CUDA等的安装 5.WPS的安装 6 ...
- Linux中软件的安装,vim编辑器
文章目录 Linux中软件的安装,vim编辑器 Linux中软件的安装 vim编辑器 在线安装vim编辑器 vim的使用 vim的命令 Linux中软件的安装,vim编辑器 Linux中软件的安装 L ...
- Linux常用软件和安装方法,Linux软件安装与卸载常用方法(转)
Linux下软件安装方法总结: 一.rpm包安装方式步骤: 1.找到相应的软件包,比如soft.version.rpm,下载到本机某个目录: 2.打开一个终端,su -成root用户: 3.cd so ...
- Linux 笔记 - 第九章 Linux 中软件的安装
博客地址:http://www.moonxy.com 一.前言 在 Linux 系统中,应用程序的软件包主要分为两种: 1)第一种是二进制的可执行软件包,也就是解开包后就可以直接运行.在 Window ...
- Linux下软件的安装与卸载(命令行模式)
国内较快开源软件镜象站点,包括Debian.Ubuntu.Fedora.Gentoo.Centos.FreeBSD.Eclipse等开源软件的镜象 http://mirrors.163.com,htt ...
- Linux中软件的安装方式
Linux系统中软件的主要安装方式 [方式一]下载编译好的压缩包 这种安装方式与Windows下的.exe可执行安装文件类似,压缩包内一般是编译好的可执行二进制文件,直接解压.配置软件的相关文件即可使 ...
- Linux下软件的安装与卸载方法
第一章 linux下安装软件,如何知道软件安装位置 注:一般的软件的默认安装目录在/usr/local或者/opt里,可以到那里去找找. 指令名称:whereis 功能介绍:在特定目录中查找符合条 ...
最新文章
- python语音播报-Python实现有道翻译+语音播报
- [html]HTML5如何隐藏video元素的控制栏、全屏按钮?
- 为何不精通C? 03 深入剖析声明
- js中实现页面跳转(返回前一页、后一页)
- (转)Java DecimalFormat 用法(数字格式化)
- JavaScript实现限制文件上传类型和大小
- CSS基本知识—浮动
- 【滤波器】基于matlab升余弦滤波器【含Matlab源码 993期】
- OSChina 周六乱弹 ——程序员想让对象一辈子跟你的秘籍
- 【网络工程师配置篇】华三交换机基本配置大全(文末附下载链接),网络工程师必备手册
- java 验证码点击刷新,java验证码及其刷新
- proteus信号峰值检测仪仿真
- Js获取屏幕宽度、高度 移动端H5适配
- 【LaTex】各种空格的实现(相对quad、qquad、\,、\:、\;、\!、endspace、thinspace、negthinspace绝对vspace和hspace膨胀hfill、vfill)
- 企业微信定时发送图片/文字信息
- JS HTML5仿微信朋友圈特效
- 基于logistics回归的评分卡模型【相关理论】
- 使用Appinum爬取微信朋友圈
- 微信小程序全栈开发实践 第三章 微信小程序开发常用的API介绍及使用 -- 3.6 网络接口简介(六)关于Page页面隐藏代码执行及Promise对象catch处理的补充
- 人脸识别 年龄 matlab,基于年龄变化的人脸识别