Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to install Octave in Ubuntu 14.04

Shulou Source: shulou.com Published: 2022-06-01 18:32:00 10月03日 Update

I believe many inexperienced people don't know what to do about how to install Octave in Ubuntu 14.04.Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

Installation dependency

Start by using apt-get install to install dependencies. (all recommended optional packages are included below)

Libjack0 libjack-dev libarpack2-dev libcurl4-gnutls-dev epstool libfftw3-dev transfig libfontconfig1-dev libfreetype6-dev libgl2ps-dev libglpk-dev libreadline-dev gnuplot libhdf5-serial-dev openjdk-7-jdk libsndfile1-dev lpr texinfo libosmesa6-dev pstoedit portaudio19-dev libqhull-dev libqrupdate-dev libqscintilla2-dev libqt4-dev libqtcore4 libqtwebkit4 libqt4-network libqtgui4 libsuitesparse-dev libxft-dev zlib1g-dev libfltk1.3-dev llvm-3.6-dev libgl1-mesa-dev

Since the quantum depth of GraphicsMagick in the Ubuntu repository is 8, we did not include libgraphicsmagick++1-dev in the above command, but instead compiled and installed it through the following steps.

Compile and install GraphicsMagick

Download GraphicsMagick and extract it, then go to its directory and execute the following command:

$. / configure-- with-quantum-depth=32-- enable-shared-- disable-static-- with-magick-plus-plus=yes$ make$ sudo make install compile and install Octave

To avoid the following errors:

Warning: HDF5 library not found. Octave will not be able to save or load HDF5 data files.

Specify the location of the library file in configure. Then compile and install:

$. / configure-- prefix=/opt CPPFLAGS=-I/usr/include/hdf5/serial LDFLAGS=-L/usr/lib/$ (dpkg-architecture-qDEB_HOST_MULTIARCH) / hdf5/serial$ make$ sudo make install after reading the above, have you mastered how to install Octave in Ubuntu 14.04? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Tags: Compilation content commands methods more problems helpless for this warehouse location reason for this library files skills steps directories articles experience but industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB NVidia Shulou Tech Info Redmi Huawei