ubuntu-install-ms8.0

参考:1. http://blog.joshuamoesa.com/2015/03/how-to-fix-bundled-jre-is-not-binary.html
2. http://rachpt.top/install-materials-studio-on-ubuntu/

安装需要依赖于JAVA和glibc的32位包,但是在ubuntu中,是没有glibc这个包的,
尤其是在14.04和16.04的64位版本中,所以需要使用如下命令安装:

$ sudo dpkg --add-architecture i386
$ sudo apt-get update
$ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

另外java的安装推荐采用oracle java(openjdk应该也可以,不过我还没有测试)。
另外还需要安装rpm2cpiocsh:

$ sudo apt-get install csh rpm2cpio

这样依赖就全部安装完成,接下来就可以进入MS8.0的安装目录进行安装.
在ubuntu 14.04里面,第一次进行安装会失败,但是在ubuntu 16.04中,我测试没有出现这个错误:

$ ./install

...
Running installation ...

Running ConfigureMaterialsStudio.pl
/home/ms-test/Accelrys/MaterialsStudio8.0/bin/perl: 4: [: /home/ms-test/Accelrys/MaterialsStudio8.0: unexpected operator
Can't exec "/home/ms-test/Accelrys/LicensePack/etc/lp_echovars": No such file or directory at /home/ms-test/Accelrys/MaterialsStudio8.0/share/Install/Scripts/MSConfig.pm line 295.
Couldn't get environment information from lp_echovars: -1 at /home/ms-test/Accelrys/MaterialsStudio8.0/share/Install/Scripts/MSConfig.pm line 296.
Materials Studio configuration failed

接下来需要去已经安装到的地方,从上面的报错信息可以看到安装目录在$HOME/Accelrys/中,然后进入目录:

$ cd $HOME/Accelrys/LicensePack/etc/lp_echovars
$ ./lp_config
$ ./lp_echovars

然后在重新进入MS8.0的安装目录,执行安装命令:

$ ./install

即可完成。

测试环境ubunut 16.04完整的安装过程及输出如下(不包含依赖安装过程):

ms-test@mstest:~/MaterialsStudio80$ ./install 
Please enter the location in which to install Materials Studio 8.0
The location where Materials Studio will be installed is <install location>/MaterialsStudio8.0

[/home/ms-test/Accelrys] 
The Accelrys License Pack is required in order to run Materials Studio 8.0.
Please enter the location of a License Pack installation, or an empty directory
into which the License Pack will be installed.
[/home/ms-test/Accelrys] 
/home/ms-test/Accelrys does not appear to contain a supported License Pack installation. Would you like to
install it to that location? [Y/n]
[Y] 
Do you wish to start the Gateway service after installation? Answer no here if
you wish to configure security settings before starting. (Y/n)
[Y] 

Running LicensePack installation...











          Initializing InstallShield Wizard........
          Launching InstallShield Wizard........


-------------------------------------------------------------------------------
Accelrys License Pack 7.6.11 - InstallShield Wizard

Welcome to the InstallShield Wizard for Accelrys License Pack 7.6.11

The InstallShield Wizard will install Accelrys License Pack 7.6.11 on your
computer.
To continue, choose Next.

Accelrys License Pack 7.6.11
Accelrys Software Inc.
http://www.accelrys.com



Press 1 for Next, 3 to Cancel or 5 to Redisplay [1] 

-------------------------------------------------------------------------------
Accelrys License Pack 7.6.11 - InstallShield Wizard

Accelrys License Pack 7.6.11 Install Location

Please specify a directo
  • 2
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 11
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值