How To Install libxls on Fedora 34

libxls is Read binary Excel files from C/C++ Read binary Excel files from C/C++

Introduction

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

What is libxls

This is libxls, a C library for reading Excel files in the old binary OLE format, plus a command-line tool for converting XLS to CSV (named, appropriately enough, libxls2csv). libxls 1.6.2 2.fc34 x86_64 48 k libxls-1.6.2-2.fc34.src.rpm fedora Read binary Excel files from C/C++ https BSD This is libxls, a C library for reading Excel files in the old binary OLE format, plus a command-line tool for converting XLS to CSV (named, appropriately enough, libxls2csv).

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

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

sudo dnf -y install libxls

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

sudo yum -y install libxls

How To Uninstall libxls on Fedora 34

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

sudo dnf remove libxls

libxls Package Contents on Fedora 34

/usr/bin/libxls2csv
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/3efad1554d0094591b9a64f3bf88ba5747df02
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/a577a7e2bf9c11d8c746afc7e37f7a496bf322
/usr/lib/libxlsreader.so.8
/usr/lib/libxlsreader.so.8.0.2
/usr/share/doc/libxls
/usr/share/doc/libxls/AUTHORS
/usr/share/doc/libxls/README.md
/usr/share/licenses/libxls
/usr/share/licenses/libxls/LICENSE
/usr/share/man/man1/libxls2csv.1.gz
/usr/bin/libxls2csv
/usr/lib/.build-id
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/8964d1cafea6dbb927670b8212a854bc3fa01f
/usr/lib/.build-id/85
/usr/lib/.build-id/85/f801c809f4e7ed9652b9ae5f3a9f42beb2ff54
/usr/lib64/libxlsreader.so.8
/usr/lib64/libxlsreader.so.8.0.2
/usr/share/doc/libxls
/usr/share/doc/libxls/AUTHORS
/usr/share/doc/libxls/README.md
/usr/share/licenses/libxls
/usr/share/licenses/libxls/LICENSE
/usr/share/man/man1/libxls2csv.1.gz

References

Summary

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