How To Install libdap on Fedora 34

libdap is The C++ DAP2 library from OPeNDAP The C++ DAP2 library from OPeNDAP

Introduction

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

What is libdap

The libdap++ library contains an implementation of DAP2. This package contains the library, dap-config, and getdap. The script dap-config simplifies using the library in other projects. The getdap utility is a simple command-line tool to read from DAP2 servers. It is built using the library and demonstrates simple uses of it. libdap 3.20.6 3.fc34 x86_64 680 k libdap-3.20.6-3.fc34.src.rpm fedora The C++ DAP2 library from OPeNDAP http LGPLv2+ The libdap++ library contains an implementation of DAP2. This package contains the library, dap-config, and getdap. The script dap-config simplifies using the library in other projects. The getdap utility is a simple command-line tool to read from DAP2 servers. It is built using the library and demonstrates simple uses of it.

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

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

sudo dnf -y install libdap

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

sudo yum -y install libdap

How To Uninstall libdap on Fedora 34

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

sudo dnf remove libdap

libdap Package Contents on Fedora 34

/usr/bin/getdap
/usr/bin/getdap4
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/ae16a8b49dd451898b4ff0cac2a6738d69a8bf
/usr/lib/.build-id/20
/usr/lib/.build-id/20/103d0210139bb2c9c07f3945a7b3f3d82b1cd9
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/9291a6895bafab38dd36d328490ff48fe93abe
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/d3cffc9c51042be32b336b6c3a1b688c81467d
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/669bc299851f99b769f50a358689bb1158d940
/usr/lib/libdap.so.25
/usr/lib/libdap.so.25.2.3
/usr/lib/libdapclient.so.6
/usr/lib/libdapclient.so.6.1.11
/usr/lib/libdapserver.so.7
/usr/lib/libdapserver.so.7.6.11
/usr/share/doc/libdap
/usr/share/doc/libdap/NEWS
/usr/share/doc/libdap/README.dodsrc
/usr/share/doc/libdap/README.md
/usr/share/licenses/libdap
/usr/share/licenses/libdap/COPYING
/usr/share/licenses/libdap/COPYRIGHT_URI
/usr/share/licenses/libdap/COPYRIGHT_W3C
/usr/share/man/man1/getdap.1.gz
/usr/share/man/man1/getdap4.1.gz
/usr/bin/getdap
/usr/bin/getdap4
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/83d423e061246e02e67620935d555f5f7dcb0d
/usr/lib/.build-id/47
/usr/lib/.build-id/47/542424e4de82d8b2db41e326c0f548ff86695c
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/16d41b30f6ba7a584e95ef852b269d6ee53ef3
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/25ecb948ef1332c781f4207b756d9e45273d34
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/130ef8d1e09ee20abd3aaaa06868d587d1b388
/usr/lib64/libdap.so.25
/usr/lib64/libdap.so.25.2.3
/usr/lib64/libdapclient.so.6
/usr/lib64/libdapclient.so.6.1.11
/usr/lib64/libdapserver.so.7
/usr/lib64/libdapserver.so.7.6.11
/usr/share/doc/libdap
/usr/share/doc/libdap/NEWS
/usr/share/doc/libdap/README.dodsrc
/usr/share/doc/libdap/README.md
/usr/share/licenses/libdap
/usr/share/licenses/libdap/COPYING
/usr/share/licenses/libdap/COPYRIGHT_URI
/usr/share/licenses/libdap/COPYRIGHT_W3C
/usr/share/man/man1/getdap.1.gz
/usr/share/man/man1/getdap4.1.gz

References

Summary

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