centos系统命令行 源码安装Schrodinger
以下是在CentOS系统上源码安装Schrodinger的步骤:
- 下载源代码
从Schrodinger官网下载适用于CentOS的源代码。下载链接:https://www.schrodinger.com/products/schrodinger-suite/download
- 安装依赖
在安装Schrodinger之前,需要安装一些必要的依赖。在终端中执行以下命令:
yum install gcc gcc-c++ make flex bison tcsh redhat-lsb-core
- 解压并编译源代码
将下载的源代码解压到任意目录中,然后进入该目录并执行以下命令:
./configure --prefix=/usr/local/schrodinger
make
make install
以上命令将会在/usr/local/schrodinger目录下安装Schrodinger。
- 配置环境变量
为了能够在终端中快速访问Schrodinger,需要将Schrodinger的可执行文件路径添加到系统的PATH环境变量中。在终端中执行以下命令:
echo "export PATH=/usr/local/schrodinger/bin:\$PATH" >> ~/.bashrc
source ~/.bashrc
- 验证安装
在终端中执行以下命令:
schrodinger version
如果能够输出Schrodinger的版本信息,则说明安装成功。
原文地址: https://www.cveoy.top/t/topic/tGJ 著作权归作者所有。请勿转载和采集!