3
edits
No edit summary |
|||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
For RedHat-based distributions like RedHat, CentOS, Fedora, Scientific Linux ... | For RedHat-based distributions like RedHat, CentOS, Fedora, Scientific Linux, ... | ||
=== | === Generic RedHat === | ||
Tested Fedora 33, but not completely. | |||
dnf install libtool make automake autoconf gcc gcc-devel \ | |||
g++ g++-devel gcc-fortran gawk gperf less ncurses | |||
Tested Fedora 20, but not completely. | Tested Fedora 20, but not completely. | ||
Line 12: | Line 17: | ||
=== CentOS === | === CentOS === | ||
Enable use of [https://fedoraproject.org/wiki/EPEL Extra Packages for Enterprise Linux (EPEL)] AND THEN install octave dependencies development packages: | |||
yum -y install yum-utils | yum -y install yum-utils | ||
Line 19: | Line 24: | ||
yum -y install epstool transfig pstoedit qscintilla-devel | yum -y install epstool transfig pstoedit qscintilla-devel | ||
===== | The arpack-devel package distributed with CentOS 7 (arpack-devel-3.1.3-2.el7.x86_64) seems a bit old, as routine "seupdate" seems not recognized during | ||
the "configure" step. This can be solved by installing arpack from github: | |||
git clone git@github.com:opencollab/arpack-ng.git | |||
cd arpack-ng | |||
./bootstrap | |||
./configure --prefix="some local prefix" | |||
make; make install | |||
Current release as of Aug. 20th 2018 seems to compile OK with CentOS blas-devel | |||
===== Prepare installation of Octave ===== | |||
The remaining steps do not need to be done as root, except for | The remaining steps do not need to be done as root, except for | ||
Line 37: | Line 52: | ||
mkdir src build | mkdir src build | ||
===== | ===== Compiling Octave from source ===== | ||
Check out a copy of the octave sources in the src directory | |||
cd src | cd src | ||
Line 62: | Line 77: | ||
make install | make install | ||
===Redhat Enterprise Linux workstation 6.4-2.6.32-358=== | |||
Use the rpms to install | |||
octave version: 3.4.3 | |||
yum install gnuplot | |||
* Download and install lcms | |||
rpm -ivh lcms2-2.8-6.el6.x86_64.rpm | |||
* Download and install libwmf | |||
rpm -ivh libwmf-lite-0.2.8.4-25.el6_7.x86_64.rpm | |||
* Download GraphicsMagick and GraphicsMagick-c++ and install them | |||
rpm -ivh GraphicsMagick-1.3.32-1.el6.x86_64.rpm | |||
rpm -ivh GraphicsMagick-c++-1.3.32-1.el6.x86_64.rpm | |||
*Install suitesparse | |||
yum install suitesparse | |||
* Install fftw3 | |||
yum install fftw | |||
yum install glpk | |||
* Download and install fltk | |||
rpm -ivh fltk-1.1.10-1.el6.x86_64.rpm | |||
* Download and install hdf5 | |||
rpm -ivh hdf5-1.8.5.patch1-10.el6.x86_64.rpm | |||
* Download and install qhull | |||
rpm -ivh qhull-2003.1-14.el6.x86_64.rpm | |||
* Install blas | |||
yum install blas | |||
* Download and install qrupdate | |||
rpm -ivh qrupdate-1.1.2-1.el6.x86_64.rpm | |||
* Install texinfo | |||
yum install texinfo | |||
* Lastly, install octave | |||
rpm -ivh octave-3.4.3-2.el6.x86_64.rpm | |||
[[Category:GNU/Linux]] | |||
[[Category:Installation]] |
edits