Octave-Forge: Difference between revisions

Jump to navigation Jump to search
128 bytes added ,  18 June 2013
/installing packages/ mention the system package manager. Also -forge option is now more common than download file manually
(Fixed octave prompt for installing packages)
(/installing packages/ mention the system package manager. Also -forge option is now more common than download file manually)
Line 4: Line 4:


== Installing packages ==
== Installing packages ==
You can find the list of packages on the [http://octave.sourceforge.net/packages.php Octave-Forge website]. To install a package, download the package file, and install it from the GNU Octave prompt by typing:
You can find the list of packages on the [http://octave.sourceforge.net/packages.php Octave-Forge website]. The recommended method for package installation is using your system package manager. See also the [[FAQ]] for the most common issues.


  octave> pkg install package_file_name.tar.gz
If for some reason you need to install a package from the Octave Forge, simply type at the Octave prompt {{Codeline|pkg install -forge package_name}}. If your Octave version is too old (before 3.4.0), you'll have to download the package file manually, and use {{Codeline|pkg install package_file_name.tar.gz}}.
 
Since Octave 3.4, it is possible to download and install Octave-Forge packages from the prompt with the '''-forge''' flag:
 
  octave> pkg install -forge package_name


== Contributing via the Agora website ==
== Contributing via the Agora website ==

Navigation menu