Discussion:
load netcdf not working
JohnD
2018-12-10 17:21:12 UTC
Permalink
Message: 5
Date: Mon, 10 Dec 2018 10:27:10 -0600 (CST)
Subject: load netcdf not working
Content-Type: text/plain; charset=us-ascii
Hi,
I have Octave v4.2.2 in Fedora 29. And I also have netcdf installed.
I need to install netcdf package for octave. I downloaded manually but
when
pkg install -forge /home/Gomez/Downloads/netcdf-1.0.12.tar.gz
/home/Gomez/Downloads/netcdf-1.0.12.tar.gz
error: called from
get_forge_pkg at line 34 column 5
get_forge_download at line 26 column 12
pkg at line 382 column 29
pkg load netcdf
error: package netcdf is not installed
error: called from
load_packages at line 41 column 7
pkg at line 411 column 7
Can anybody help me? I installed Octave via Discover utilities.
Regards and thanks in advance
Maria Eugenia
The load is failing because the install is failing.

If you specific the -forge option, it tries to get the named package from
sourceforge, so shouldn't be a local path/filename. If you don't use -forge,
it would try find the file in current directory/or use the path it was
provided with.

So assuming that the file is in the full path you specified, you could do:

pkg install /home/Gomez/Downloads/netcdf-1.0.12.tar.gz

To install from source forge:

pkg install netcdf
Pantxo
2018-12-10 17:08:12 UTC
Permalink
Hi,
I have Octave v4.2.2 in Fedora 29. And I also have netcdf installed.
I need to install netcdf package for octave. I downloaded manually but
when
pkg install -forge /home/Gomez/Downloads/netcdf-1.0.12.tar.gz
/home/Gomez/Downloads/netcdf-1.0.12.tar.gz
error: called from
get_forge_pkg at line 34 column 5
get_forge_download at line 26 column 12
pkg at line 382 column 29
pkg load netcdf
error: package netcdf is not installed
error: called from
load_packages at line 41 column 7
pkg at line 411 column 7
Can anybody help me? I installed Octave via Discover utilities.
Regards and thanks in advance
Maria Eugenia
--
http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
Hi,

AFAICS, you have downloaded the package archive so you should not use the
"-forge" option. Did you try without it?

On debian there is a package for netcdf, which avoids having to take care of
dependencies (libnetcdf at least) yourself. The installation is then as easy
as "apt install octave-netcdf".
Isn't there such default package in Fedora? e.g.

https://apps.fedoraproject.org/koschei/package/octave-netcdf?collection=epel7

Pantxo



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
Loading...