2
edits
No edit summary |
(Fixing urlwrite line to save files inside of P_tmpdir, and adding the current pkg install error message to make this page more discoverable.) |
||
Line 2: | Line 2: | ||
The most recent official release is [https://octave.sourceforge.io/download.php?package=odepkg-0.8.5.tar.gz version 0.8.5], which however is out of date (it includes functions which have been transferred to core Octave) and [https://savannah.gnu.org/bugs/?func=detailitem&item_id=46309 will] [https://savannah.gnu.org/bugs/?func=detailitem&item_id=48280 not] [https://savannah.gnu.org/bugs/?func=detailitem&item_id=50684 install] at all with recent compilers and versions of Octave. | The most recent official release is [https://octave.sourceforge.io/download.php?package=odepkg-0.8.5.tar.gz version 0.8.5], which however is out of date (it includes functions which have been transferred to core Octave) and [https://savannah.gnu.org/bugs/?func=detailitem&item_id=46309 will] [https://savannah.gnu.org/bugs/?func=detailitem&item_id=48280 not] [https://savannah.gnu.org/bugs/?func=detailitem&item_id=50684 install] at all with recent compilers and versions of Octave. | ||
If you attempt to install odepkg using pkg install -forge, you will get an error such as the following. | |||
<nowiki>error: get_forge_pkg: package not found: "odepkg".</nowiki> | |||
Until a new official release is made, Octave 4.2.x users might consider installing a development snapshot of the package, as follows: | Until a new official release is made, Octave 4.2.x users might consider installing a development snapshot of the package, as follows: | ||
<nowiki> | <nowiki> | ||
[fname, success] = urlwrite ("https://bitbucket.org/odepkg/odepkg/get/default.tar.gz", [P_tmpdir "odepkg.tar.gz"]); | [fname, success] = urlwrite ("https://bitbucket.org/odepkg/odepkg/get/default.tar.gz", [P_tmpdir "/odepkg.tar.gz"]); | ||
assert (success) | assert (success) | ||
pkg ("install", fname) | pkg ("install", fname) | ||
Line 14: | Line 18: | ||
<nowiki> | <nowiki> | ||
[fname, success] = urlwrite ("https://bitbucket.org/odepkg/odepkg/get/octave43.tar.gz", [P_tmpdir "odepkg.tar.gz"]); | [fname, success] = urlwrite ("https://bitbucket.org/odepkg/odepkg/get/octave43.tar.gz", [P_tmpdir "/odepkg.tar.gz"]); | ||
assert (success) | assert (success) | ||
pkg ("install", fname) | pkg ("install", fname) |
edits