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.)
[sourcecode lang=”bash” gutter=”false”]$ sudo rpm -Uvh dl.fedoraproject.org/pub/epel/5/x86_64//epel-release-5-4.noarch.rpm[/sourcecode]
Next, use yum as expected:
[sourcecode lang=”bash” gutter=”false”]$ sudo yum install octave[/sourcecode]