Manually Installing the Octave Package

I want to install the Octave dataframe package on one of my servers that 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.

+6
source share
2 answers

In the README.html Octave 4.0.0 folder, you can find the following snippet: 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. 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 that are not included in Octave is: download the package from http://octave.sourceforge.net/packages.php . Then put the package in the src folder and change build_packages.m accordingly before executing it.

+3
source

According to Octave documentation:

37.1 Add or remove packages

Assuming the package is available in image-1.0.0.tar.gz, it can be installed from the Octave prompt using the command

 pkg install image-1.0.0.tar.gz 

If the package is installed successfully, nothing will be printed on the request, but if an error occurred during installation, they reported. You can install several packages at once by writing several package files after the pkg installation command. If another version of the package is already installed, it will be before installing a new package. This makes it easier to upgrade and downgrade a package, but it makes it impossible to install multiple versions of the same package once.

+4
source

All Articles