How To Install libcouchbase on Fedora 34

libcouchbase is Client and protocol library for the Couchbase project Client and protocol library for the Couchbase project

Introduction

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

What is libcouchbase

This package provides the core for libcouchbase. It contains an IO implementation based on select(2). If preferred, you can install one of the available back-ends (libcouchbase-libevent or libcouchbase-libev). libcouchbase will automatically use the installed back-end. It is also possible to integrate another IO back-end or write your own. libcouchbase 3.0.7 3.fc34 x86_64 492 k libcouchbase-3.0.7-3.fc34.src.rpm fedora Client and protocol library for the Couchbase project https ASL 2.0 This package provides the core for libcouchbase. It contains an IO implementation based on select(2). If preferred, you can install one of the available back-ends (libcouchbase-libevent or libcouchbase-libev). libcouchbase will automatically use the installed back-end. It is also possible to integrate another IO back-end or write your own.

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

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

sudo dnf -y install libcouchbase

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

sudo yum -y install libcouchbase

How To Uninstall libcouchbase on Fedora 34

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

sudo dnf remove libcouchbase

libcouchbase Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/415da3d6bd8f2027de3e2c6c189ff8e479e144
/usr/lib64/libcouchbase
/usr/lib64/libcouchbase.so.6
/usr/lib64/libcouchbase.so.6.0.8
/usr/share/doc/libcouchbase
/usr/share/doc/libcouchbase/README.markdown
/usr/share/doc/libcouchbase/RELEASE_NOTES.markdown
/usr/share/licenses/libcouchbase
/usr/share/licenses/libcouchbase/LICENSE
/usr/share/systemtap/tapset/libcouchbase.so.6.0.8.stp
/usr/lib/.build-id
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/a94ce0fe602e131e5fe5a354444eb7ae98399f
/usr/lib/libcouchbase
/usr/lib/libcouchbase.so.6
/usr/lib/libcouchbase.so.6.0.8
/usr/share/doc/libcouchbase
/usr/share/doc/libcouchbase/README.markdown
/usr/share/doc/libcouchbase/RELEASE_NOTES.markdown
/usr/share/licenses/libcouchbase
/usr/share/licenses/libcouchbase/LICENSE
/usr/share/systemtap/tapset/libcouchbase.so.6.0.8.stp

References

Summary

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