Octave for Debian systems: Difference between revisions

Jump to navigation Jump to search
→‎Installing Octave: Latest Ubuntu version for PPA
(libblas-dev ==> libopenblas-dev to use multiple cores)
(→‎Installing Octave: Latest Ubuntu version for PPA)
 
(One intermediate revision by one other user not shown)
Line 17: Line 17:
  sudo apt-get install octave-control octave-image octave-io octave-optim octave-signal octave-statistics
  sudo apt-get install octave-control octave-image octave-io octave-optim octave-signal octave-statistics


Up to 2018, the [https://launchpad.net/~octave GNU Octave Team] on Launchpad actively maintained a PPA providing more up to date packages of Octave.  These are backported from Debian unstable and are still useful for older Ubuntu installations.  To set up your system to install these packages, run:
Up to 2018, the [https://launchpad.net/~octave GNU Octave Team] on Launchpad actively maintained a PPA providing more up to date packages of Octave.  These were backported from Debian unstable and were useful for older Ubuntu installations (up to Xenial Xerus 16.04).  To set up your system to install these packages, run:


  sudo apt-add-repository ppa:octave/stable
  sudo apt-add-repository ppa:octave/stable
Line 53: Line 53:
* '''Ubuntu 22.04 (LTS)'''
* '''Ubuntu 22.04 (LTS)'''


:<pre>sudo apt-get install gcc g++ autoconf automake bison dvipng epstool fig2dev flex gfortran gnuplot-x11 gperf gzip icoutils libarpack2-dev libopenblas-dev libcurl4-gnutls-dev libfftw3-dev libfltk1.3-dev libfontconfig1-dev libfreetype6-dev libgl1-mesa-dev libgl2ps-dev libglpk-dev libgraphicsmagick++1-dev libhdf5-dev liblapack-dev libosmesa6-dev libpcre3-dev libqhull-dev libqscintilla2-qt5-dev libqrupdate-dev libreadline-dev librsvg2-bin libsndfile1-dev libsuitesparse-dev libsundials-dev libtool libxft-dev make openjdk-8-jdk perl portaudio19-dev pstoedit qtbase5-dev qttools5-dev qttools5-dev-tools rapidjson-dev rsync tar texinfo texlive-latex-extra zlib1g-dev</pre>
:<pre>sudo apt install gcc g++ autoconf automake bison dvipng epstool fig2dev flex gfortran gnuplot-x11 gperf gzip icoutils libarpack2-dev libbison-dev libopenblas-dev libcurl4-gnutls-dev libfftw3-dev libfltk1.3-dev libfontconfig1-dev libfreetype6-dev libgl1-mesa-dev libgl2ps-dev libglpk-dev libgraphicsmagick++1-dev libhdf5-dev liblapack-dev libosmesa6-dev libpcre3-dev libqhull-dev libqscintilla2-qt5-dev libqrupdate-dev libreadline-dev librsvg2-bin libsndfile1-dev libsuitesparse-dev libsundials-dev libtool libxft-dev make openjdk-8-jdk perl portaudio19-dev pstoedit qtbase5-dev qttools5-dev qttools5-dev-tools rapidjson-dev rsync tar texinfo texlive-latex-extra zlib1g-dev</pre>


(Some of these packages might only be needed when building from a repository checkout.)
(Some of these packages might only be needed when building from a repository checkout.)
216

edits

Navigation menu