Octave-Forge: Difference between revisions

33 bytes added ,  9 March 2013
Fixed octave prompt for installing packages
(Fixed octave prompt for installing packages)
Line 1: Line 1:
Octave-Forge (http://octave.sf.net) is a community project for collaborative development of Octave extensions. If you have a large package that you want to open up to collaborative development, or a couple of m-files that you want to contribute to an existing package, Octave-Forge is the place to do it. Tiny helper functions (the equivalent of e.g., shell aliases) should go in the [[Tips and tricks]] page.
Octave-Forge (http://octave.sf.net) is a community project for collaborative development of GNU Octave extensions. If you have a large package that you want to open up to collaborative development, or a couple of m-files that you want to contribute to an existing package, Octave-Forge is the place to do it. Tiny helper functions (the equivalent of e.g., shell aliases) should go in the [[Tips and tricks]] page.


Octave also needs the equivalent of CPAN so that packages such as epstk which have been developed elsewhere can be archived. [http://agora.panocha.org.mx Agora Octave] is a fledgeling proposal to do that (talk to [[User:JordiGH|JordiGH]] about it). Before that is possible we need a packaging system which works for both Octave and Matlab (and maybe Scilab if you are feeling ambitious) without too much work on the either the developers or the users end, even for users working in a tool desert such as Windows. Feel free to expand on the definition of such a system on this page.
GNU Octave also needs the equivalent of CPAN so that packages such as epstk which have been developed elsewhere can be archived. [http://agora.panocha.org.mx Agora Octave] is a fledgeling proposal to do that (talk to [[User:JordiGH|JordiGH]] about it). Before that is possible we need a packaging system which works for both Octave and Matlab (and maybe Scilab if you are feeling ambitious) without too much work on the either the developers or the users end, even for users working in a tool desert such as Windows. Feel free to expand on the definition of such a system on this page.


== Installing packages ==
== Installing packages ==
You can find the list of packages on the [http://octave.sourceforge.net/packages.php octave-forge site]. To install a package, download the package file, and install it from the Octave prompt by typing
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:
pkg install package_file_name.tar.gz
 
Since Octave 3.4, it is possible to download and install octave-forge packages from the octave prompt with the '''-forge''' flag
  octave> pkg install package_file_name.tar.gz
pkg install -forge package_name
 
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 ==
27

edits