Installing Octave
Procedure
- Use PuTTY to log in to the server as the root user.
- Download the source code to the /home directory:
cd /home wget https://mirrors.tuna.tsinghua.edu.cn/gnu/octave/octave-6.4.0.tar.gz
- Decompress the installation package and perform the installation.
tar -zxvf octave-6.4.0.tar.gz cd /home/octave-6.4.0 ./configure --prefix=/opt/octave --disable-readline make

make install
- Set the environment variables.
export PATH=/path/to/octave/bin:$PATH export LD_LIBRARY_PATH=/path/to/octave/lib:$LD_LIBRARY_PATH
- Perform the verification.
octave-cli
If the following information is displayed, the installation is successful:

Parent topic: Octave 6.4.0 Porting Guide (CentOS 8.2)