How To Install octave-zmat on Fedora 36
Introduction
In this tutorial we learn how to install octave-zmat
on Fedora 36.
What is octave-zmat
ZMat is a portable mex function to enable zlib/gzip/lzma/lzip/lz4/lz4hc based data compression/decompression and base64 encoding/decoding support in MATLAB and GNU Octave. It is fast and compact, can process a large array within a fraction of a second. Among the 6 supported compression methods, lz4 is the fastest for compression/decompression; lzma is the slowest but has the highest compression ratio; zlib/gzip have the best balance between speed and compression time.
We can use yum
or dnf
to install octave-zmat
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install octave-zmat.
Install octave-zmat on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install octave-zmat
using dnf
by running the following command:
sudo dnf -y install octave-zmat
Install octave-zmat on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install octave-zmat
using yum
by running the following command:
sudo yum -y install octave-zmat
How To Uninstall octave-zmat on Fedora 36
To uninstall only the octave-zmat
package we can use the following command:
sudo dnf remove octave-zmat
octave-zmat Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/edca59497e62778314bc2637980b34d3f068e8
/usr/share/doc/octave-zmat
/usr/share/doc/octave-zmat/AUTHORS.txt
/usr/share/doc/octave-zmat/ChangeLog.txt
/usr/share/doc/octave-zmat/README.rst
/usr/share/doc/octave-zmat/example
/usr/share/doc/octave-zmat/example/demo_zmat_basic.m
/usr/share/licenses/octave-zmat
/usr/share/licenses/octave-zmat/LICENSE.txt
/usr/share/octave/packages/zmat-0.9.8
/usr/share/octave/packages/zmat-0.9.8/doc-cache
/usr/share/octave/packages/zmat-0.9.8/packinfo
/usr/share/octave/packages/zmat-0.9.8/packinfo/COPYING
/usr/share/octave/packages/zmat-0.9.8/packinfo/DESCRIPTION
/usr/share/octave/packages/zmat-0.9.8/packinfo/INDEX
/usr/share/octave/packages/zmat-0.9.8/packinfo/on_uninstall.m
/usr/share/octave/packages/zmat-0.9.8/zipmat.mex
/usr/share/octave/packages/zmat-0.9.8/zmat.m
References
Summary
In this tutorial we learn how to install octave-zmat
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).