linux lingo 使用 from(http://ubuntuforums.org/archive/index.php/t-1787867.html)
2013-04-23 15:00
806 查看
2.2. Unix/Linux Platforms: Follow the steps below to complete the installation:
Step 1. For 32-bit Linux platforms, locate the:
LINGO-LINUX-IA32-12.0.tar.gz
file on your CD. Alternatively, if you are running a 64-bit version of Linux, then you can choose to install a 64-bit version of LINGO using:
LINGO-LINUX-64x86-12.0.tar.gz
Step 2. Copy this file into an installation directory of your choice (e.g. $HOME):
%> cp LINGO-LINUX-IA32-12.0.tar.gz $HOME
Step 3. Change the working directory to $HOME and uncompress the file using
the ‘gzip –d’ command as below. This operation creates LINGO-LINUX-IA32-12.0.tar (in the case of 64-bit versions, LINGO-LINUX-64x86-12.0.tar will be created).
%> gzip LAPI-LINUX-IA32-12.0.tar.gz
Step 4. Uncompress the tar file using the ‘tar –xvf’ command as below. This will create the LINGO directory lingo12/.
%> tar –xvf LINGO-LINUX-IA32-12.0.tar
Step 5. Go to the lingo12/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 *
For 32-bit installations, the <PLATFORM> folder will be linux32/ and for 64-bit installations the folder will be linux64/.
Step 6. Update the LD_LIBRARY_PATH environment variable so that it also points to the LINGO binaries folder. It is assumed that the installation directory
is $HOME/lingo12.
%> LD_LIBRARY_PATH=$HOME/lingo12/bin/<PLATFORM>:$LD_LIBRARY_PATH
%> export LD_LIBRARY_PATH
Step 7. Set the LINGO_12_HOME environment variable to point to the main LINGO folder. For example, if your installation directory is $HOME/lingo12, then the
environment variable should be set as:
%> LINGO_12_HOME=$HOME/lingo12
%> export LINGO_12_HOME
You may also execute the shell script lingo12/bin/<PLATFORM>/lingovars.sh to perform the required updates on these environment variables. To execute this script
manually, enter the following at command line
%> source $HOME/lingo12/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 the bash shell).
Step 8. If you were provided a LINGO license file (look for a file called lndlng12.lic), then you should copy this file into the appropriate folder, e.g.:
$HOME/lingo12/license/<PLATFORM>.
If you do not have a valid LINGO license file and you wish to create a demo license, then go to the lingo12 folder and run the create_demo_license script as
follows:
cd $HOME/lingo12
sh create_demo_license.sh
A demo version of LINGO will run just as standard versions do, however, the maximum model capacity is restricted.
Step 9. You should now be able to run LINGO by entering 'lingo12' to a command prompt. 64-bit users should enter 'lingo64_12'. If the environment variables
are 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.
In this case, please refer to the steps above to be sure the required environment variables are set up correctly and that you have run the script to create
a demo license.
Step 1. For 32-bit Linux platforms, locate the:
LINGO-LINUX-IA32-12.0.tar.gz
file on your CD. Alternatively, if you are running a 64-bit version of Linux, then you can choose to install a 64-bit version of LINGO using:
LINGO-LINUX-64x86-12.0.tar.gz
Step 2. Copy this file into an installation directory of your choice (e.g. $HOME):
%> cp LINGO-LINUX-IA32-12.0.tar.gz $HOME
Step 3. Change the working directory to $HOME and uncompress the file using
the ‘gzip –d’ command as below. This operation creates LINGO-LINUX-IA32-12.0.tar (in the case of 64-bit versions, LINGO-LINUX-64x86-12.0.tar will be created).
%> gzip LAPI-LINUX-IA32-12.0.tar.gz
Step 4. Uncompress the tar file using the ‘tar –xvf’ command as below. This will create the LINGO directory lingo12/.
%> tar –xvf LINGO-LINUX-IA32-12.0.tar
Step 5. Go to the lingo12/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 *
For 32-bit installations, the <PLATFORM> folder will be linux32/ and for 64-bit installations the folder will be linux64/.
Step 6. Update the LD_LIBRARY_PATH environment variable so that it also points to the LINGO binaries folder. It is assumed that the installation directory
is $HOME/lingo12.
%> LD_LIBRARY_PATH=$HOME/lingo12/bin/<PLATFORM>:$LD_LIBRARY_PATH
%> export LD_LIBRARY_PATH
Step 7. Set the LINGO_12_HOME environment variable to point to the main LINGO folder. For example, if your installation directory is $HOME/lingo12, then the
environment variable should be set as:
%> LINGO_12_HOME=$HOME/lingo12
%> export LINGO_12_HOME
You may also execute the shell script lingo12/bin/<PLATFORM>/lingovars.sh to perform the required updates on these environment variables. To execute this script
manually, enter the following at command line
%> source $HOME/lingo12/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 the bash shell).
Step 8. If you were provided a LINGO license file (look for a file called lndlng12.lic), then you should copy this file into the appropriate folder, e.g.:
$HOME/lingo12/license/<PLATFORM>.
If you do not have a valid LINGO license file and you wish to create a demo license, then go to the lingo12 folder and run the create_demo_license script as
follows:
cd $HOME/lingo12
sh create_demo_license.sh
A demo version of LINGO will run just as standard versions do, however, the maximum model capacity is restricted.
Step 9. You should now be able to run LINGO by entering 'lingo12' to a command prompt. 64-bit users should enter 'lingo64_12'. If the environment variables
are 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.
In this case, please refer to the steps above to be sure the required environment variables are set up correctly and that you have run the script to create
a demo license.
相关文章推荐
- http://www.archive.org/index.php
- 使用t-sql从身份证号中提取生日(转自:http://www.cnblogs.com/yukaizhao/archive/2008/05/22/sql_getbirthday_from_id.html)
- [Linux命令] ld中文使用手册完全版(from:http://huqingyu.cnblogs.com/archive/2005/02/28/110468.html)
- http://xsk.tehon.org/den/index.php/category/tech/short-or-long-tcp-connection-and-keepalive.html
- http://www.ecjtu.org/forum/simple/index.php?f59_1.html
- Lnk1202 http://www.codeguru.com/forum/archive/index.php/t-386908.html
- 超好学习网站:http://dreamrunner.org/wiki/public_html/index.html
- ubuntu 中启用Root 账号(转自:http://www.blogjava.net/waterjava/archive/2007/07/18/131085.html)
- eXtremeComponents中文手册 http://extremecomponents.org/wiki/index.php/Simplified_Chinese_Reference
- GDB 下 watch的使用http://www.cnblogs.com/lonelycatcher/archive/2011/10/09/2204865.html
- PHP获取随机数 http://www.cnblogs.com/hailexuexi/archive/2010/09/03/1817442.html
- php 程序员,转载自: http://www.cnblogs.com/chinacode/archive/2010/09/10/1823342.html
- Zend Studio无法调试php代码转自(http://www.cnblogs.com/yaksea/archive/2011/08/26/2154154.html)
- WebService开发(一) 如何使用Soap头 http://www.cnblogs.com/wayne-ivan/archive/2007/06/19/788539.html
- Ubuntu--字体设置(http://www.cnblogs.com/top5/archive/2009/11/05/1596919.html)
- 新手上道,教你如何使用http://jingyan.baidu.com/article/cdddd41c5cf93353ca00e16d.htm创建一个html+php+js+mysql
- 动态库与静态库的使用,摘自http://www.blogjava.net/davidgw/archive/2009/01/21/252230.html
- Android layout個別屬性的區別[摘 from:http://www.cnblogs.com/playing/archive/2011/04/07/2008620.html]
- 在Asp.net MVC中使用Asp.net Ajax --转载http://www.cnblogs.com/Nimeux/archive/2008/08/17/1269907.html
- tmux(终端方便使用cp:http://wowubuntu.com/tmux.html)