手动安装八度软件包 [英] Install Octave Package Manually
问题描述
我想在我的一台没有Internet访问权限的服务器上安装Octave软件包dataframe
.我用笔记本电脑下载了dataframe-1.1.0.tar.gz
.我想知道如何在服务器上手动安装它.
I want to install the package dataframe
of Octave on one of my servers, which does not have internet access. I used my laptop to download dataframe-1.1.0.tar.gz
. I wonder how I can install it on my server manually.
推荐答案
在Octave 4.0.0文件夹的README.html中,您可以找到以下段落:
Included Octave Forge Packages
A number of Octave-Forge packages have been included with Octave, however they must be installed in order to use them.
To install:
• Start Octave and then open the build_packages.m file found in the src folder where Octave was installed.
• Run the script build_packages.m to build and install the packages.
Installation is a one-time procedure. After installation packages must still be loaded in order to use them with the pkg load PACKAGENAME command.
Other packages are available from Octave-Forge.
您需要对Octave不附带的其他软件包执行以下操作:从 http:/下载该软件包/octave.sourceforge.net/packages.php .然后将包放在src文件夹中,并在执行前分别修改build_packages.m.
In the README.html of Octave 4.0.0 folder you can find the following passage:
Included Octave Forge Packages
A number of Octave-Forge packages have been included with Octave, however they must be installed in order to use them.
To install:
• Start Octave and then open the build_packages.m file found in the src folder where Octave was installed.
• Run the script build_packages.m to build and install the packages.
Installation is a one-time procedure. After installation packages must still be loaded in order to use them with the pkg load PACKAGENAME command.
Other packages are available from Octave-Forge.
What you need to do for other packages, which are not included with Octave, is: download the package from http://octave.sourceforge.net/packages.php. Then put the package in the src folder and modify build_packages.m respectively before executing it.
这篇关于手动安装八度软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!