How Can I Install a Package from Octave Forge?
I Am Using Imresize Function and I Get This Error Warning: the 'Imresize' Function Belongs to the Image Package from Octave Forge Which Seems to Not Be...
How can I install a package from Octave Forge? I am using imresize function and I get this error
warning: the 'imresize' function belongs to the image package from Octave Forge which seems to not be installed in your system.
I tried doing this octave:1> pkg install -forge image-2.4.1.tar.gz. I got this error.
error: get_forge_pkg: package not found: "image-2.4.0.tar.gz". Maybe you meant "generate_html?" error: called from: error: /usr/share/octave/3.8.1/m/pkg/private/get_forge_pkg.m at line 73, column 9 error: /usr/share/octave/3.8.1/m/pkg/private/get_forge_download.m at line 26, column 12 error: /usr/share/octave/3.8.1/m/pkg/pkg.m at line 385, column 29
What are available packages for image processing in octave? How can I install them?
2 Answers
If you use -forge then only put the name and not the version.
pkg install -forge package_name # (not the version)
is what you want
You can alternative do this:- This is permanent fix. In your terminal type
sudo apt-get install octave-<package_name_you_want> (eg-image)
and then in octave type
pkg load <pkg name>
it work..................... You can alternative do this:- This is permanent fix. In your terminal type
sudo apt-get install octave-<package_name_you_want> (eg-image)
and then in octave type
pkg load