Editing Octave for Arch Linux

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
== Installing Octave ==
+
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]].
  
To simply install the latest stable release of GNU Octave on Arch Linux, just execute (as root):
+
If you just want to have the latest version of octave and not intend to edit the sources, consider install [https://aur.archlinux.org/packages/octave-hg/?comments=all octave-hg] from the AUR. If you want to have a stable version from the repository, just execute
  
  pacman -S octave
+
  sudo pacman -Syu octave
  
Using [https://aur.archlinux.org/ AUR], one can install a development version of Octave, for example [https://aur.archlinux.org/packages/octave-hg/?comments=all 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.
+
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 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.
  
== Building Octave from source ==
+
== Build dependencies ==
 +
To install the necessary build dependencies for the full functionality (including JIT Compiler and so on) just execute (as root):
  
: ''For general build instructions, see [[Building]].''
+
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
 +
Assuming you have yaourt installed, the dependencies from the AUR are installed as follows (as normal user):
  
To install the Octave build dependencies on Arch Linux, just execute (as root):
+
yaourt -S 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 epstool
+
If you plan to build the documentation, install the following packets too:
  
If you wish to build the Octave 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 http://www.gnu.org/software/octave/get-involved.html].
 +
 
 +
It is recommended to build octave within a subdirectory.
  
  pacman -S graphviz doxygen
+
  ./bootstrap
 +
mkdir build
 +
cd build
 +
../configure MOC=moc-qt4 UIC=uic-qt4
 +
make -j3
  
== See also ==
+
The only difference from the build on other systems are the parameters given to configure. They are necessary due to a problem with some configuration and the coexistance of qt4 and qt5. For more information take a look at the comments of octave-hg in the AUR.
  
* https://wiki.archlinux.org/index.php/Octave
+
If you encounter further problems or find more dependencies, feel free to adress them here.
  
 
[[Category:Building]]
 
[[Category:Building]]
 
[[Category:GNU/Linux]]
 
[[Category:GNU/Linux]]
[[Category:Installation]]
 

Please note that all contributions to Octave may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Octave:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)