How To Install libcurl-minimal on Rocky Linux 8

In this tutorial we learn how to install libcurl-minimal on Rocky Linux 8. libcurl-minimal is Conservatively configured build of libcurl for minimal installations

Introduction

In this tutorial we learn how to install libcurl-minimal on Rocky Linux 8.

What is libcurl-minimal

This is a replacement of the ’libcurl’ package for minimal installations. It comes with a limited set of features compared to the ’libcurl’ package. On the other hand, the package is smaller and requires fewer run-time dependencies to be installed.

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

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

sudo dnf -y install libcurl-minimal

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

sudo yum -y install libcurl-minimal

How To Uninstall libcurl-minimal on Rocky Linux 8

To uninstall only the libcurl-minimal package we can use the following command:

sudo dnf remove libcurl-minimal

libcurl-minimal Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/ecbef1267ca1b997cf5b6f425c53471e65f75b
/usr/lib64/libcurl.so.4
/usr/lib64/libcurl.so.4.5.0
/usr/share/licenses/libcurl-minimal
/usr/share/licenses/libcurl-minimal/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/a3c6a974f05f5f2b18c157f3d71dff3facb3a2
/usr/lib/libcurl.so.4
/usr/lib/libcurl.so.4.5.0
/usr/share/licenses/libcurl-minimal
/usr/share/licenses/libcurl-minimal/COPYING

References

Summary

In this tutorial we learn how to install libcurl-minimal on Rocky Linux 8 using yum and dnf.