How To Install libdap on Rocky Linux 8

In this tutorial we learn how to install libdap on Rocky Linux 8. libdap is The C++ DAP2 library from OPeNDAP

Introduction

In this tutorial we learn how to install libdap on Rocky Linux 8.

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.

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

Install libdap on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libdap

Install libdap on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 Rocky Linux 8

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

sudo dnf remove libdap

libdap Package Contents on Rocky Linux 8

/usr/bin/getdap
/usr/bin/getdap4
/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/3f99391dd78f5e8fa9a6d6a41af0282d91f862
/usr/lib/.build-id/56
/usr/lib/.build-id/56/2f38c0b44a97e9bcfd79d9586e1c16f2afbdf3
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/110c05177dd37e1e97b7720dbf0e5f1c3e5c3a
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/4bb9184776b743ba994e5214a556c19e7ffbbc
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/864a33d538b41e441842d58502fab8f6244a3f
/usr/lib64/libdap.so.25
/usr/lib64/libdap.so.25.0.1
/usr/lib64/libdapclient.so.6
/usr/lib64/libdapclient.so.6.1.7
/usr/lib64/libdapserver.so.7
/usr/lib64/libdapserver.so.7.6.7
/usr/share/doc/libdap
/usr/share/doc/libdap/NEWS
/usr/share/doc/libdap/README
/usr/share/doc/libdap/README.dodsrc
/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/37
/usr/lib/.build-id/37/73a78b929e9ccb95f1e37bf34bbe1e36f22e2b
/usr/lib/.build-id/43
/usr/lib/.build-id/43/f54e821bcabd56c80750ee6560760fa3418abe
/usr/lib/.build-id/60
/usr/lib/.build-id/60/677db17bb22383001ba243689262d94488edab
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/adb31dde9284d21b72dc4dc686b208a21bdb27
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/24a387481c56396c00a0fb33b5d5ea0e47a909
/usr/lib/libdap.so.25
/usr/lib/libdap.so.25.0.1
/usr/lib/libdapclient.so.6
/usr/lib/libdapclient.so.6.1.7
/usr/lib/libdapserver.so.7
/usr/lib/libdapserver.so.7.6.7
/usr/share/doc/libdap
/usr/share/doc/libdap/NEWS
/usr/share/doc/libdap/README
/usr/share/doc/libdap/README.dodsrc
/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 Rocky Linux 8 using yum and dnf.