How To Install zfp on Fedora 34
Introduction
In this tutorial we learn how to install zfp
on Fedora 34.
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. zfp 0.5.5 2.fc34 x86_64 66 k zfp-0.5.5-2.fc34.src.rpm fedora Library for compressed numerical arrays with high throughput R/W random access https BSD 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install zfp.
Install zfp on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install zfp
using dnf
by running the following command:
sudo dnf -y install zfp
Install zfp on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the zfp
package we can use the following command:
sudo dnf remove zfp
zfp Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/127583b37a3cb7f117bf38cbc4ee316ad18be7
/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
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/35c8fe8876e6a331014f5fb9c4fecbb76cdf67
/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
- [zfp website](https://computation.llnl.gov/projects/floating-point-compression https://computation.llnl.gov/projects/floating-point-compression)
Summary
In this tutorial we learn how to install zfp
on Fedora 34 using yum and dnf.