linux下安装lingo

2.2. Unix/Linux Platforms: Follow the steps below to complete the installation.



Step 1. Go to lingo11/bin/<PLATFORM> binaries directory and make sure all the files are in executable mode. If they are not, you should change their mode by typing



%> chmod 755 *



Step 2. Update the $LD_LIBRARY_PATH environment variable. It is assumed that the installation directory is $HOME/lingo11.



LD_LIBRARY_PATH=$HOME/lingo11/bin/<PLATFORM>:$LD_LIBRARY_PATH

export LD_LIBRARY_PATH



Step 3. Set the $LINGO_11_LICENSE_FILE environment variable to refer to the license file for your installation. For example, if your installation directory is $HOME/lingo11 and you have a 32-bit version of LINGO, then the environment variable should be set as



LINGO_11_LICENSE_FILE=$HOME/lingo11/license/lndlng11.lic

export LINGO_11_LICENSE_FILE



or, for 64-bit versions of LINGO do the following :



LINGO64_11_LICENSE_FILE=$HOME/lingo11/license/lndlng64_11.lic

export LINGO64_11_LICENSE_FILE



Alternatively, you can execute the shell script lingo11/bin/<PLATFORM>/lingovars.sh to perform the required updates in these environment variables.



To execute this script manually, enter the following at command line



source $HOME/lingo11/bin/<PLATFORM>/lingovars.sh



Alternatively, to execute the script automatically at logon, append this line to the end of your startup script (.bashrc or .bash_profile for bash shell).



Step 4. If you do not already have a valid LINGO license file and you wish to create a demo license, then go to the lingo11/license folder and run the create_demo_license script as follows:



cd $HOME/lingo11/license

source create_demo_license.sh





Step 4. You should now be able to run LINGO by going to the $HOME/lingo11/bin/<PLATFORM> folder and entering “lingo11” for 32-bit versions and ‘lingo64_11” for 64-bit versions. If the LINGO_11_LICENSE_FILE or LINGO64_11_LICENSE_FILE environment variable is not set up correctly, you will receive the following error message every time you start LINGO.



- - -

[Error Code: 171]



License key was not found or is invalid.

- - -



Step 5. On Linux platforms, you may prefer to include the lingo11/bin/<PLATFORM> directory into the /etc/ld.so.conf file and then run ldconfig. This operation generally requires super user privileges. You may also update the $PATH environment variable accordingly to include the lingo11/bin/<PLATFORM> folder in the search path.



NOTE: Unlike the Windows version of LINGO, which has a GUI front end, Unix/Linux versions are command-line applications. All commands are typed into LINGO’s command-line prompt that begins with a colon character (:). Available commands are discussed in detail in Chapter 6, Command-Line Commands, of the LINGO Users Manual.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值