linux u盘 mathematica,Linux下面如何安装maple,mathematica,matlab这类软件?

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

927f704307b341597b1d349c9fa1c7b7.png

4a5f04f74a2c5be25798361f72fcf7bf.png

9a1a5c891bd1d320cf1d60b7a8b6ce1c.png

db6204ff43a1698e9c7a0573831036f9.png

#!/bin/sh

#

# Name:

# install - script file for invoking the Multi-platform installer on Linux.

#

# Usage: install [-h|help]

# [-javadir ] | [-root ] |

# [-test] | [-v|-verbose]

# -h|-help - Display arguments.

# -test - Don't actually run the java

# command (only useful with -v).

# -v|-verbose - Display settings.

# -javadir - Override default java root directory.

# -root - Override default DVD root directory.

# -tmpdir - Override default directory for temporary files.

#

# The default settings when no override inputs are supplied are:

# -root =

# -javadir = /sys/java/jre/$ARCH/jre

# -tmpdir = /tmp

#

#

# Copyright 2009-2012 The MathWorks, Inc.

#__________________________________________________________________________

#

arg0_=$0

#

#

trap "exit 1" 1 2 3 15

#

#========================= java_launcher (start) ============================

#

#========================= archlist.sh (start) ============================

#

# usage: archlist.sh

#

# abstract: This Bourne Shell script creates the variable ARCH_LIST.

#

# note(s): 1. This file is always imbedded in another script

#

# Copyright 1997-2007 The MathWorks, Inc.

# $Revision: 1.1.6.3 $ $Date: 2007/11/12 22:52:47 $

#----------------------------------------------------------------------------

#

ARCH_LIST='glnx86 glnxa64 mac maci maci64 sol2 sol64'

#=======================================================================

# Functions:

# check_archlist ()

#=======================================================================

check_archlist () { # Sets ARCH. If first argument contains a valid

# arch then ARCH is set to that value else

# an empty string. If there is a second argument

# do not output any warning message. The most

# common forms of the first argument are:

#

# ARCH=arch

# MATLAB_ARCH=arch

# argument=-arch

#

# Always returns a 0 status.

#

# usage: check_archlist arch=[-]value [noprint]

#

if [ $# -gt 0 ]; then

arch_in=`expr "$1" : '.*=\(.*\)'`

if [ "$arch_in" != "" ]; then

ARCH=`echo "$ARCH_LIST EOF $arch_in" | awk '

#-----------------------------------------------------------------------

{ for (i = 1; i <= NF; i = i + 1)

if ($i == "EOF")

narch = i - 1

for (i = 1; i <= narch; i = i + 1)

if ($i == $NF || "-" $i == $NF) {

print $i

exit

}

}'`

#-----------------------------------------------------------------------

if [ "$ARCH" = "" -a $# -eq 1 ]; then

#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

echo ' '

echo " Warning: $1 does not specify a valid architecture - ignored . . ."

echo ' '

#+++++++++++++++++++++++++

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值