How To Install zfp on Fedora 36
Introduction
In this tutorial we learn how to install zfp
on Fedora 36.
What is zfp
This is zfp, an open source C/C++ library for compressed numerical arrays that support high throughput read and write random access. zfp was written by Peter Lindstrom at Lawrence Livermore National Laboratory, and is loosely based on the algorithm described in the following paper Peter Lindstrom “Fixed-Rate Compressed Floating-Point Arrays” IEEE Transactions on Visualization and Computer Graphics, 20(12) doi zfp was originally designed for floating-point data only, but has been extended to also support integer data, and could for instance be used to compress images and quantized volumetric data. To achieve high compression ratios, zfp uses lossy but optionally error-bounded compression. Although bit-for-bit lossless compression of floating-point data is not always possible, zfp is usually accurate to within machine epsilon in near-lossless mode. zfp works best for 2D and 3D arrays that exhibit spatial coherence, such as smooth fields from physics simulations, images, regularly sampled terrain surfaces, etc. Although zfp also provides a 1D array class that can be used for 1D signals such as audio, or even unstructured floating-point streams, the compression scheme has not been well optimized for this use case, and rate and quality may not be competitive with floating-point compressors designed specifically for 1D streams.
We can use yum
or dnf
to install zfp
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install zfp.
Install zfp 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 zfp
using dnf
by running the following command:
sudo dnf -y install zfp
Install zfp 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 zfp
using yum
by running the following command:
sudo yum -y install zfp
How To Uninstall zfp on Fedora 36
To uninstall only the zfp
package we can use the following command:
sudo dnf remove zfp
zfp Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/79
/usr/lib/.build-id/79/94f27a03bacdd37e870b7e8331ed111729a13b
/usr/lib/libzfp.so.0
/usr/lib/libzfp.so.0.5.5
/usr/share/doc/zfp
/usr/share/doc/zfp/README.md
/usr/share/doc/zfp/VERSIONS.md
/usr/share/licenses/zfp
/usr/share/licenses/zfp/LICENSE
References
Summary
In this tutorial we learn how to install zfp
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install zfp on Fedora 36” linkTitle: “zfp” type: “docs” description: “In this tutorial we learn how to install zfp in Fedora 36. zfp is Library for compressed numerical arrays with high throughput R/W random access” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/zfp-featured.png
Introduction
In this tutorial we learn how to install zfp
on Fedora 36.
What is zfp
This is zfp, an open source C/C++ library for compressed numerical arrays that support high throughput read and write random access. zfp was written by Peter Lindstrom at Lawrence Livermore National Laboratory, and is loosely based on the algorithm described in the following paper Peter Lindstrom “Fixed-Rate Compressed Floating-Point Arrays” IEEE Transactions on Visualization and Computer Graphics, 20(12) doi zfp was originally designed for floating-point data only, but has been extended to also support integer data, and could for instance be used to compress images and quantized volumetric data. To achieve high compression ratios, zfp uses lossy but optionally error-bounded compression. Although bit-for-bit lossless compression of floating-point data is not always possible, zfp is usually accurate to within machine epsilon in near-lossless mode. zfp works best for 2D and 3D arrays that exhibit spatial coherence, such as smooth fields from physics simulations, images, regularly sampled terrain surfaces, etc. Although zfp also provides a 1D array class that can be used for 1D signals such as audio, or even unstructured floating-point streams, the compression scheme has not been well optimized for this use case, and rate and quality may not be competitive with floating-point compressors designed specifically for 1D streams.
We can use yum
or dnf
to install zfp
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install zfp.
Install zfp 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 zfp
using dnf
by running the following command:
sudo dnf -y install zfp
Install zfp 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 zfp
using yum
by running the following command:
sudo yum -y install zfp
How To Uninstall zfp on Fedora 36
To uninstall only the zfp
package we can use the following command:
sudo dnf remove zfp
zfp Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/887248bab6319524352e67178dd5a8d0e38cf3
/usr/lib64/libzfp.so.0
/usr/lib64/libzfp.so.0.5.5
/usr/share/doc/zfp
/usr/share/doc/zfp/README.md
/usr/share/doc/zfp/VERSIONS.md
/usr/share/licenses/zfp
/usr/share/licenses/zfp/LICENSE
References
Summary
In this tutorial we learn how to install zfp
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).