Octave for Arch Linux: Difference between revisions
m (Some packages are now in the repositories) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
To install the necessary build dependencies for the full functionality (including JIT Compiler and so on) just execute (as root): | To install the necessary build dependencies for the full functionality (including JIT Compiler and so on) 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 texinfo gnuplot llvm texlive-bin | 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 | ||
Assuming you have yaourt installed, the dependencies from the AUR are installed as follows (as normal user): | Assuming you have yaourt installed, the dependencies from the AUR are installed as follows (as normal user): | ||
yaourt -S | yaourt -S epstool | ||
If you plan to build the documentation, install the following packets too: | If you plan to build the documentation, install the following packets too: | ||
Line 27: | Line 27: | ||
mkdir build | mkdir build | ||
cd build | cd build | ||
../configure | ../configure | ||
make -j3 | make -j3 | ||
If you encounter further problems or find more dependencies, feel free to adress them here. | If you encounter further problems or find more dependencies, feel free to adress them here. |
Revision as of 07:29, 14 June 2018
This page is intended as a quick introduction for building octave on archlinux. For more generic and recent build instructions, take a look at Building.
If you just want to have the latest version of octave and not intend to edit the sources, consider install octave-hg from the AUR. If you want to have a stable version from the repository, just execute
sudo pacman -Syu octave
If you encounter any problems during the build process that are not mentioned here, take a look at https://aur.archlinux.org/packages/octave-hg/?comments=all. Some problems are listed in the comments, new dependencies are easy to extract from the PKGBUILD.
Build dependencies
To install the necessary build dependencies for the full functionality (including JIT Compiler and so on) 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
Assuming you have yaourt installed, the dependencies from the AUR are installed as follows (as normal user):
yaourt -S epstool
If you plan to build the documentation, install the following packets too:
pacman -S graphviz doxygen
Building octave
Checkout octave as described in http://www.gnu.org/software/octave/get-involved.html.
It is recommended to build octave within a subdirectory.
./bootstrap mkdir build cd build ../configure make -j3
If you encounter further problems or find more dependencies, feel free to adress them here.