How To Install libxo on Fedora 36

In this tutorial we learn how to install libxo in Fedora 36. libxo is A Library for Generating Text, XML, JSON, and HTML Output

Introduction

title: “How To Install libxo on Fedora 36” In this tutorial we learn how to install libxo on Fedora 36. linkTitle: “libxo”

type: “docs”

What is libxo

description: “In this tutorial we learn how to install libxo in Fedora 36. libxo is A Library for Generating Text, XML, JSON, and HTML Output”

date: “2022-08-17”

The libxo library allows an application to generate text, XML, JSON, and HTML output using a common set of function calls. The application decides at run time which output style should be produced. The application calls a function “xo_emit” to product output that is described in a format string. A “field descriptor” tells libxo what the field is and what it means.
lastmod: “2022-08-17”

#image: /images/fedora/36/libxo-featured.png

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

Introduction

Install libxo on Fedora 36 Using dnf

In this tutorial we learn how to install libxo on Fedora 36.

Update yum database with dnf using the following command.

What is libxo

> The libxo library allows an application to generate text, XML, JSON, and HTML output using a common set of function calls. The application decides at run time which output style should be produced. The application calls a function "xo_emit" to product output that is described in a format string. A "field descriptor" tells libxo what the field is and what it means.  

sudo dnf makecache --refresh

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

After updating yum database, We can install libxo using dnf by running the following command:

Install libxo on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.
sudo dnf -y install libxo

sudo dnf makecache --refresh
## Install libxo on Fedora 36 Using yum

Update yum database with yum using the following command. After updating yum database, We can install libxo using dnf by running the following command:

```bash
sudo yum makecache --refresh
sudo dnf -y install libxo


After updating yum database, We can install `libxo` using `yum` by running the following command:
## Install libxo on Fedora 36 Using yum


```bash
Update yum database with `yum` using the following command.
sudo yum -y install libxo
sudo yum makecache --refresh
## How To Uninstall libxo on Fedora 36

To uninstall only the libxo package we can use the following command: After updating yum database, We can install libxo using yum by running the following command:

```bash
sudo dnf remove libxo
sudo yum -y install libxo

## How To Uninstall libxo on Fedora 36
## libxo Package Contents on Fedora 36


```bash
To uninstall only the `libxo` package we can use the following command:

```bash
sudo dnf remove libxo

libxo Package Contents on Fedora 36

/usr/bin/libxo-config
/usr/bin/xo
/usr/bin/xohtml
/usr/bin/xolint
/usr/bin/xopo
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/81df6d7f216256a5b300c299e23ef7e8604d4c
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/e4cc12893657495e6e95162fcb23290fd015dd
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/b9ab4ddcbcc73b7c1f36826941bc18a0cd2718
/usr/lib/.build-id/91
/usr/lib/.build-id/91/eeb50a1e49a6d6889226dfea89096132cb121b
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/b39287913fceb9d5d360478500d2f5dcc09eaf
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/747657e6cc15a753dd18cda9ef2a3625ec2319
/usr/lib/libxo
/usr/lib/libxo.so.0
/usr/lib/libxo.so.0.0.0
/usr/lib/libxo/encoder
/usr/lib/libxo/encoder/cbor.enc
/usr/lib/libxo/encoder/csv.enc
/usr/lib/libxo/encoder/libenc_cbor.so.0
/usr/lib/libxo/encoder/libenc_cbor.so.0.0.0
/usr/lib/libxo/encoder/libenc_csv.so.0
/usr/lib/libxo/encoder/libenc_csv.so.0.0.0
/usr/lib/libxo/encoder/libenc_test.so.0
/usr/lib/libxo/encoder/libenc_test.so.0.0.0
/usr/lib/libxo/encoder/test.enc
/usr/share/doc/libxo
/usr/share/doc/libxo/INSTALL.md
/usr/share/doc/libxo/README.md
/usr/share/libxo
/usr/share/libxo/external
/usr/share/libxo/external/jquery.js
/usr/share/libxo/external/jquery.qtip.css
/usr/share/libxo/external/jquery.qtip.js
/usr/share/libxo/xohtml.css
/usr/share/libxo/xohtml.js
/usr/share/licenses/libxo
/usr/share/licenses/libxo/Copyright
/usr/share/man/man1/xo.1.gz
/usr/share/man/man1/xohtml.1.gz
/usr/share/man/man1/xolint.1.gz
/usr/share/man/man1/xopo.1.gz
/usr/share/man/man5/xo_format.5.gz
/usr/share/man/man7/libxo-csv.7.gz
/usr/share/man/man7/xo_options.7.gz

References

Summary

In this tutorial we learn how to install libxo on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/bin/libxo-config /usr/bin/xo /usr/bin/xohtml /usr/bin/xolint /usr/bin/xopo /usr/lib/.build-id /usr/lib/.build-id/08 /usr/lib/.build-id/08/a3598c4d00c0d8b59d95109b2aab63732785b4 /usr/lib/.build-id/0a /usr/lib/.build-id/0a/f7e5bdb9fa83fd2ad2810d93fcb2bd12ae84d8 /usr/lib/.build-id/42 /usr/lib/.build-id/42/f2e53e6c4ab0a18851234db2a85c038b5c6139 /usr/lib/.build-id/81 /usr/lib/.build-id/81/9766432113f403156cb44ce8ed933d57ce0834 /usr/lib/.build-id/ca /usr/lib/.build-id/ca/3b30e0f57b25c953bb5100e5c08ff911a3fda5 /usr/lib/.build-id/fe /usr/lib/.build-id/fe/4e8b8c99b4a1a903331606737e3a6e4da1218b /usr/lib64/libxo /usr/lib64/libxo.so.0 /usr/lib64/libxo.so.0.0.0 /usr/lib64/libxo/encoder /usr/lib64/libxo/encoder/cbor.enc /usr/lib64/libxo/encoder/csv.enc /usr/lib64/libxo/encoder/libenc_cbor.so.0 /usr/lib64/libxo/encoder/libenc_cbor.so.0.0.0 /usr/lib64/libxo/encoder/libenc_csv.so.0 /usr/lib64/libxo/encoder/libenc_csv.so.0.0.0 /usr/lib64/libxo/encoder/libenc_test.so.0 /usr/lib64/libxo/encoder/libenc_test.so.0.0.0 /usr/lib64/libxo/encoder/test.enc /usr/share/doc/libxo /usr/share/doc/libxo/INSTALL.md /usr/share/doc/libxo/README.md /usr/share/libxo /usr/share/libxo/external /usr/share/libxo/external/jquery.js /usr/share/libxo/external/jquery.qtip.css /usr/share/libxo/external/jquery.qtip.js /usr/share/libxo/xohtml.css /usr/share/libxo/xohtml.js /usr/share/licenses/libxo /usr/share/licenses/libxo/Copyright /usr/share/man/man1/xo.1.gz /usr/share/man/man1/xohtml.1.gz /usr/share/man/man1/xolint.1.gz /usr/share/man/man1/xopo.1.gz /usr/share/man/man5/xo_format.5.gz /usr/share/man/man7/libxo-csv.7.gz /usr/share/man/man7/xo_options.7.gz


## References

* [libxo website](https://github.com/Juniper/libxo)

## Summary

In this tutorial we learn how to install `libxo` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).