How To Install xylib on Fedora 34

xylib is Library for reading x-y data from several file formats Library for reading x-y data from several file formats

Introduction

In this tutorial we learn how to install xylib on Fedora 34.

What is xylib

C++ library for reading files that contain x-y data from powder diffraction, spectroscopy or other experimental methods. The supported formats include VAMAS, pdCIF, Bruker UXD and RAW, Philips UDF and RD, Rigaku DAT, Sietronics CPI, DBWS/DMPLOT, Koalariet XDD and others. xylib 1.6 2.fc34 x86_64 233 k xylib-1.6-2.fc34.src.rpm fedora Library for reading x-y data from several file formats http LGPLv2 C++ library for reading files that contain x-y data from powder diffraction, spectroscopy or other experimental methods. The supported formats include VAMAS, pdCIF, Bruker UXD and RAW, Philips UDF and RD, Rigaku DAT, Sietronics CPI, DBWS/DMPLOT, Koalariet XDD and others.

We can use yum or dnf to install xylib on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install xylib.

Install xylib 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 xylib using dnf by running the following command:

sudo dnf -y install xylib

Install xylib 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 xylib using yum by running the following command:

sudo yum -y install xylib

How To Uninstall xylib on Fedora 34

To uninstall only the xylib package we can use the following command:

sudo dnf remove xylib

xylib Package Contents on Fedora 34

/usr/bin/xyconv
/usr/bin/xyconvert
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/466efc8763677c661efaf465ed53ae95cd054e
/usr/lib/.build-id/46
/usr/lib/.build-id/46/8762e987712d2e29b7e999c2c5aaa71d1f1b3d
/usr/lib/.build-id/65
/usr/lib/.build-id/65/70f6a67e165af07fb6fea9e5666f122adb8e1b
/usr/lib64/libxy.so.3
/usr/lib64/libxy.so.3.1.1
/usr/share/doc/xylib
/usr/share/doc/xylib/COPYING
/usr/share/doc/xylib/README.rst
/usr/share/doc/xylib/TODO
/usr/share/doc/xylib/sample-urls
/usr/share/man/man1/xyconv.1.gz
/usr/bin/xyconv
/usr/bin/xyconvert
/usr/lib/.build-id
/usr/lib/.build-id/53
/usr/lib/.build-id/53/110978ba342279fc7a927855b4e274964b67b0
/usr/lib/.build-id/90
/usr/lib/.build-id/90/ee0a84768fb8735062daf828038b168385ab3d
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/77bfa5e1b4cd03b1e14d434ec95252cc059170
/usr/lib/libxy.so.3
/usr/lib/libxy.so.3.1.1
/usr/share/doc/xylib
/usr/share/doc/xylib/COPYING
/usr/share/doc/xylib/README.rst
/usr/share/doc/xylib/TODO
/usr/share/doc/xylib/sample-urls
/usr/share/man/man1/xyconv.1.gz

References

Summary

In this tutorial we learn how to install xylib on Fedora 34 using yum and dnf.