Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Octave in Ubuntu 14.04

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report