Octave for Arch Linux: Difference between revisions
m (Better discriminate Installing and Building from Source instructions.) |
No edit summary |
||
Line 13: | Line 13: | ||
To install the Octave build dependencies on Arch Linux, just execute (as root): | To install the Octave build dependencies on Arch Linux, just execute (as root): | ||
pacman -S --needed base-devel pcre mercurial gcc-fortran gperf perl rsync transfig arpack curl fftw fltk glpk glu graphicsmagick hdf5 java-environment qhull qscintilla-qt5 texinfo gnuplot llvm texlive-bin icoutils gl2ps qrupdate epstool | pacman -S --needed base-devel pcre mercurial gcc-fortran gperf perl rsync transfig arpack curl fftw fltk glpk glu graphicsmagick hdf5 java-environment qhull qscintilla-qt5 texinfo gnuplot llvm texlive-bin icoutils gl2ps qrupdate | ||
You would also need the package epstool. This is a user contributed package, and is not available in the official repositories. Rather, it should be installed from the AUR. There are several methods to do this. One of them is to use yay which is an AUR helper. | |||
Install yay: | |||
pacman -S yay | |||
Install epstool with yay: | |||
yay -S epstool | |||
If you wish to build the Octave documentation, install the following packets too: | If you wish to build the Octave documentation, install the following packets too: |
Revision as of 07:47, 30 August 2024
Installing Octave
To simply install the latest stable release of GNU Octave on Arch Linux, just execute (as root):
pacman -S octave
Using AUR, one can install a development version of Octave, for example octave-hg. If you encounter any problems during the build process, some problems and solutions are listed in the comments on AUR. New dependencies are easy to extract from the PKGBUILD.
Building Octave from source
- For general build instructions, see Building.
To install the Octave build dependencies on Arch Linux, just execute (as root):
pacman -S --needed base-devel pcre mercurial gcc-fortran gperf perl rsync transfig arpack curl fftw fltk glpk glu graphicsmagick hdf5 java-environment qhull qscintilla-qt5 texinfo gnuplot llvm texlive-bin icoutils gl2ps qrupdate
You would also need the package epstool. This is a user contributed package, and is not available in the official repositories. Rather, it should be installed from the AUR. There are several methods to do this. One of them is to use yay which is an AUR helper.
Install yay:
pacman -S yay
Install epstool with yay:
yay -S epstool
If you wish to build the Octave documentation, install the following packets too:
pacman -S graphviz doxygen