I don’t use Octave often, but when it’s needed, nothing else will do.
Octave doesn’t appear to be part of RHEL anymore, so it’s not included in CentOS 5. It is available, however, on the EPEL (Extra Packages for Enterprise Linux) project.To pull Octave from EPEL using yum, you first need to add the EPEL repository to the list of available yum repositories.Then it’s yum install as usual.
To Add EPEL to Yum
The following command will install the needed files so that yum will look in EPEL. (Look at the EPEL documentation for the latest information. This was current at the time of writing.)
$ sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Next, use yum as expected:
$ sudo yum install octave
That’s it!
Thanks !
finally, thanks dude!
Hello James
how to solve the resulting conflict with libhdf?
Setting up Update Process
Resolving Dependencies
–> Running transaction check
–> Processing Dependency: libhdf5.so.0()(64bit) for package: octave
—> Package hdf5.x86_64 0:1.8.0-1.el5.rf set to be updated
–> Finished Dependency Resolution
6:octave-3.0.5-1.el5.x86_64 from installed has depsolving problems
–> Missing Dependency: libhdf5.so.0()(64bit) is needed by package 6:octave-3.0.5-1.el5.x86_64 (installed)
Error: Missing Dependency: libhdf5.so.0()(64bit) is needed by package 6:octave-3.0.5-1.el5.x86_64 (installed)
regards reload
reload,
It’s possible that the dependencies have changed over the last year. I don’t have an answer for you off the top of my head. I’d have to go through the same process you’ll need to go through of using the magic of Google.
Though, it’s also possible that asking on the CentOS forums will yield fruit.
thanks,
The epel have changed to 5.4 though
http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Thank you for the note!
I originally wrote this a year ago, and the hazard of putting version-specific links is that software progresses.
Worked like a charm! Although, at this point, the epel version is 5.4
Glad to know that it still works. This time I did change the text to reflect the 5.4 EPEL. Thank you for the feedback!
Great job.