How To Install yaz on Fedora 34

yaz is Z39.50/SRW/SRU toolkit

Introduction

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

What is yaz

YAZ is a programmers toolkit supporting the development of Z39.50/SRW/SRU clients and servers. Z39.50-2003 (version 3) as well as SRW/SRU version 1.1 are supported in both the client and server roles. The SOLR webservice is supported in the client role through the ZOOM API. The current version of YAZ includes support for the industry standard ZOOM API for Z39.50. This API vastly simplifies the process of writing new clients using YAZ, and it reduces your dependency on any single toolkit. YAZ can be used by itself to build Z39.50 applications in C.For programmers preferring another language, YAZ has three language bindings to commonly used application development languages. This package contains both a test-server and clients (normal & ssl).

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

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

sudo dnf -y install yaz

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

sudo yum -y install yaz

How To Uninstall yaz on Fedora 34

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

sudo dnf remove yaz

yaz Package Contents on Fedora 34

/usr/bin/yaz-client
/usr/bin/yaz-iconv
/usr/bin/yaz-icu
/usr/bin/yaz-illclient
/usr/bin/yaz-json-parse
/usr/bin/yaz-marcdump
/usr/bin/yaz-url
/usr/bin/yaz-ztest
/usr/bin/zoomsh
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/34a9b5e7e9ed397c6ba1c36a6283357254daf0
/usr/lib/.build-id/18
/usr/lib/.build-id/18/ddbb791786cecc50592658c5cb8b2c0eb6b00f
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/35328cd373e91106167e31843df8e6ddcacc9a
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/9d42c99ea23a50fbd4dc8a913754b6df017856
/usr/lib/.build-id/33
/usr/lib/.build-id/33/42dd85a2bab67fcb020ab439383be69e2d421f
/usr/lib/.build-id/53
/usr/lib/.build-id/53/6f7e7ae62e3dcfc93414814ec802fe47073198
/usr/lib/.build-id/63
/usr/lib/.build-id/63/850b83f743ffa411d4067ef97f54c0cabd4d58
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/4b3a82ee63d0c9505d41b690329b1f25fd8655
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/4b87ed956aba6902d5ab7f09c9a67638cd1d14
/usr/share/doc/yaz
/usr/share/doc/yaz/NEWS
/usr/share/doc/yaz/README
/usr/share/licenses/yaz
/usr/share/licenses/yaz/LICENSE
/usr/share/man/man1/yaz-client.1.gz
/usr/share/man/man1/yaz-iconv.1.gz
/usr/share/man/man1/yaz-icu.1.gz
/usr/share/man/man1/yaz-illclient.1.gz
/usr/share/man/man1/yaz-json-parse.1.gz
/usr/share/man/man1/yaz-marcdump.1.gz
/usr/share/man/man1/yaz-url.1.gz
/usr/share/man/man1/zoomsh.1.gz
/usr/share/man/man7/yaz-log.7.gz
/usr/share/man/man8/yaz-ztest.8.gz

References

Summary

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