Octave for Red Hat Linux systems: Difference between revisions

Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:


=== Generic RedHat ===
=== 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 72: Line 77:


     make install
     make install
==== Installing using snap ====
https://snapcraft.io/install/octave/centos - Easiest way to install.
* Enable snapd. Snap is available for CentOS 7.6+, and Red Hat Enterprise Linux 7.6+, from the Extra Packages for Enterprise Linux (EPEL) repository. The EPEL repository can be added to your system with the following command:
    sudo yum install epel-release
* Snap can now be installed as follows:
    sudo yum install snapd
* Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:
    sudo systemctl enable --now snapd.socket
* To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap and /snap:
    sudo ln -s /var/lib/snapd/snap /snap
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
* Install octave. To install octave, simply use the following command:
    sudo snap install octave


===Redhat Enterprise Linux workstation 6.4-2.6.32-358===
===Redhat Enterprise Linux workstation 6.4-2.6.32-358===
Line 77: Line 108:
octave version: 3.4.3
octave version: 3.4.3


> yum install gnuplot
yum install gnuplot


* Download and install lcms
* Download and install lcms
> rpm -ivh lcms2-2.8-6.el6.x86_64.rpm
 
rpm -ivh lcms2-2.8-6.el6.x86_64.rpm


* Download and install libwmf
* Download and install libwmf
> rpm -ivh libwmf-lite-0.2.8.4-25.el6_7.x86_64.rpm
 
rpm -ivh libwmf-lite-0.2.8.4-25.el6_7.x86_64.rpm


* Download GraphicsMagick and GraphicsMagick-c++ and install them
* 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
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
*Install suitesparse
> yum install suitesparse
 
yum install suitesparse


* Install fftw3
* Install fftw3
> yum install fftw


> yum install glpk
yum install fftw
 
yum install glpk


* Download and install fltk
* Download and install fltk
> rpm -ivh fltk-1.1.10-1.el6.x86_64.rpm
 
rpm -ivh fltk-1.1.10-1.el6.x86_64.rpm


* Download and install hdf5
* Download and install hdf5
> rpm -ivh hdf5-1.8.5.patch1-10.el6.x86_64.rpm
 
rpm -ivh hdf5-1.8.5.patch1-10.el6.x86_64.rpm


* Download and install qhull
* Download and install qhull
> rpm -ivh qhull-2003.1-14.el6.x86_64.rpm
 
rpm -ivh qhull-2003.1-14.el6.x86_64.rpm


* Install blas
* Install blas
> yum install blas
 
yum install blas


* Download and install qrupdate
* Download and install qrupdate
> rpm -ivh qrupdate-1.1.2-1.el6.x86_64.rpm
 
rpm -ivh qrupdate-1.1.2-1.el6.x86_64.rpm


* Install texinfo
* Install texinfo
> yum install texinfo
 
yum install texinfo


* Lastly, install octave
* Lastly, install octave
> rpm -ivh octave-3.4.3-2.el6.x86_64.rpm
 
rpm -ivh octave-3.4.3-2.el6.x86_64.rpm




[[Category:GNU/Linux]]
[[Category:GNU/Linux]]
[[Category:Installation]]
[[Category:Installation]]
1

edit

Navigation menu