How To Install xqc on Fedora 34

xqc is C/C++ API for interfacing with XQuery processors

Introduction

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

What is xqc

The goal of the XQC project is to create standardized C/C++ APIs for interfacing with XQuery processors. They should provide mechanisms to compile and execute XQueries, manage contexts, and provide a basic interface for the XQuery Data Model.

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

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

sudo dnf -y install xqc

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

sudo yum -y install xqc

How To Uninstall xqc on Fedora 34

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

sudo dnf remove xqc

xqc Package Contents on Fedora 34

/usr/include/xqc.h
/usr/share/doc/xqc
/usr/share/doc/xqc/LICENSE.txt
/usr/share/doc/xqc/examples
/usr/share/doc/xqc/examples/simple.c
/usr/share/doc/xqc/intro.pdf
/usr/share/doc/xqc/xqc
/usr/share/doc/xqc/xqc/annotated.html
/usr/share/doc/xqc/xqc/bc_s.png
/usr/share/doc/xqc/xqc/bdwn.png
/usr/share/doc/xqc/xqc/classes.html
/usr/share/doc/xqc/xqc/closed.png
/usr/share/doc/xqc/xqc/dir_d44c64559bbebec7f509842c48db8b23.html
/usr/share/doc/xqc/xqc/doc.png
/usr/share/doc/xqc/xqc/doxygen.css
/usr/share/doc/xqc/xqc/doxygen.svg
/usr/share/doc/xqc/xqc/dynsections.js
/usr/share/doc/xqc/xqc/files.html
/usr/share/doc/xqc/xqc/folderclosed.png
/usr/share/doc/xqc/xqc/folderopen.png
/usr/share/doc/xqc/xqc/functions.html
/usr/share/doc/xqc/xqc/functions_vars.html
/usr/share/doc/xqc/xqc/globals.html
/usr/share/doc/xqc/xqc/globals_defs.html
/usr/share/doc/xqc/xqc/globals_enum.html
/usr/share/doc/xqc/xqc/globals_eval.html
/usr/share/doc/xqc/xqc/index.html
/usr/share/doc/xqc/xqc/jquery.js
/usr/share/doc/xqc/xqc/menu.js
/usr/share/doc/xqc/xqc/menudata.js
/usr/share/doc/xqc/xqc/nav_f.png
/usr/share/doc/xqc/xqc/nav_g.png
/usr/share/doc/xqc/xqc/nav_h.png
/usr/share/doc/xqc/xqc/open.png
/usr/share/doc/xqc/xqc/pages.html
/usr/share/doc/xqc/xqc/splitbar.png
/usr/share/doc/xqc/xqc/structXQC__DynamicContext__s-members.html
/usr/share/doc/xqc/xqc/structXQC__DynamicContext__s.html
/usr/share/doc/xqc/xqc/structXQC__ErrorHandler__s-members.html
/usr/share/doc/xqc/xqc/structXQC__ErrorHandler__s.html
/usr/share/doc/xqc/xqc/structXQC__Expression__s-members.html
/usr/share/doc/xqc/xqc/structXQC__Expression__s.html
/usr/share/doc/xqc/xqc/structXQC__Implementation__s-members.html
/usr/share/doc/xqc/xqc/structXQC__Implementation__s.html
/usr/share/doc/xqc/xqc/structXQC__InputStream__s-members.html
/usr/share/doc/xqc/xqc/structXQC__InputStream__s.html
/usr/share/doc/xqc/xqc/structXQC__Sequence__s-members.html
/usr/share/doc/xqc/xqc/structXQC__Sequence__s.html
/usr/share/doc/xqc/xqc/structXQC__StaticContext__s-members.html
/usr/share/doc/xqc/xqc/structXQC__StaticContext__s.html
/usr/share/doc/xqc/xqc/sync_off.png
/usr/share/doc/xqc/xqc/sync_on.png
/usr/share/doc/xqc/xqc/tab_a.png
/usr/share/doc/xqc/xqc/tab_b.png
/usr/share/doc/xqc/xqc/tab_h.png
/usr/share/doc/xqc/xqc/tab_s.png
/usr/share/doc/xqc/xqc/tabs.css
/usr/share/doc/xqc/xqc/todo.html
/usr/share/doc/xqc/xqc/xqc_8h.html
/usr/share/doc/xqc/xqc/xqc_8h_source.html

References

Summary

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