scientific linux 安装 xerces

       Geant4 安装需要库 xerces,安装 xerces 可以使用 yum 安装或者 自己编译安装。
## yum安装
yum安装比较容易,默认安装在 /usr 中
~~~
# yum install xerces-c.x86_64 xerces-c-devel.x86_64
~~~

编译安装

点击下载 我网盘的软件。
下载 xerces 之后 安装,安装命令:
~~~
./configure
make
make install
~~~

这样安装之后安装默认在/usr/local,所以我们得在环境变量中给脚本指定路径:
.bashrc
~~~
export PATH=”$PATH:/usr/local/bin
~~~

如果要安装在系统路径/usr,则
~~~
./configure –prefix=/usr
~~~

                                                                                                                                     Update: 3. Last-Modified: 2014-12-08 16:58