How To Install libsoup on Rocky Linux 8

In this tutorial we learn how to install libsoup on Rocky Linux 8. libsoup is Soup, an HTTP library implementation

Introduction

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

What is libsoup

Libsoup is an HTTP library implementation in C. It was originally part of a SOAP (Simple Object Access Protocol) implementation called Soup, but the SOAP and non-SOAP parts have now been split into separate packages. libsoup uses the Glib main loop and is designed to work well with GTK applications. This enables GNOME applications to access HTTP servers on the network in a completely asynchronous fashion, very similar to the Gtk+ programming model (a synchronous operation mode is also supported for those who want it).

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

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

sudo dnf -y install libsoup

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

sudo yum -y install libsoup

How To Uninstall libsoup on Rocky Linux 8

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

sudo dnf remove libsoup

libsoup Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/28
/usr/lib/.build-id/28/3481459e7872da6331232fcd46619add03a9b4
/usr/lib/.build-id/56
/usr/lib/.build-id/56/9bcae2452b41ed333c46cea0a123cb55d570f4
/usr/lib64/girepository-1.0/Soup-2.4.typelib
/usr/lib64/girepository-1.0/SoupGNOME-2.4.typelib
/usr/lib64/libsoup-2.4.so.1
/usr/lib64/libsoup-2.4.so.1.8.0
/usr/lib64/libsoup-gnome-2.4.so.1
/usr/lib64/libsoup-gnome-2.4.so.1.8.0
/usr/share/doc/libsoup
/usr/share/doc/libsoup/AUTHORS
/usr/share/doc/libsoup/NEWS
/usr/share/doc/libsoup/README
/usr/share/licenses/libsoup
/usr/share/licenses/libsoup/COPYING
/usr/share/locale/an/LC_MESSAGES/libsoup.mo
/usr/share/locale/as/LC_MESSAGES/libsoup.mo
/usr/share/locale/be/LC_MESSAGES/libsoup.mo
/usr/share/locale/bg/LC_MESSAGES/libsoup.mo
/usr/share/locale/bn_IN/LC_MESSAGES/libsoup.mo
/usr/share/locale/bs/LC_MESSAGES/libsoup.mo
/usr/share/locale/ca/LC_MESSAGES/libsoup.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/libsoup.mo
/usr/share/locale/cs/LC_MESSAGES/libsoup.mo
/usr/share/locale/da/LC_MESSAGES/libsoup.mo
/usr/share/locale/de/LC_MESSAGES/libsoup.mo
/usr/share/locale/el/LC_MESSAGES/libsoup.mo
/usr/share/locale/en_GB/LC_MESSAGES/libsoup.mo
/usr/share/locale/eo/LC_MESSAGES/libsoup.mo
/usr/share/locale/es/LC_MESSAGES/libsoup.mo
/usr/share/locale/et/LC_MESSAGES/libsoup.mo
/usr/share/locale/eu/LC_MESSAGES/libsoup.mo
/usr/share/locale/fa/LC_MESSAGES/libsoup.mo
/usr/share/locale/fr/LC_MESSAGES/libsoup.mo
/usr/share/locale/fur/LC_MESSAGES/libsoup.mo
/usr/share/locale/gd/LC_MESSAGES/libsoup.mo
/usr/share/locale/gl/LC_MESSAGES/libsoup.mo
/usr/share/locale/gu/LC_MESSAGES/libsoup.mo
/usr/share/locale/he/LC_MESSAGES/libsoup.mo
/usr/share/locale/hi/LC_MESSAGES/libsoup.mo
/usr/share/locale/hr/LC_MESSAGES/libsoup.mo
/usr/share/locale/hu/LC_MESSAGES/libsoup.mo
/usr/share/locale/id/LC_MESSAGES/libsoup.mo
/usr/share/locale/it/LC_MESSAGES/libsoup.mo
/usr/share/locale/ja/LC_MESSAGES/libsoup.mo
/usr/share/locale/kn/LC_MESSAGES/libsoup.mo
/usr/share/locale/ko/LC_MESSAGES/libsoup.mo
/usr/share/locale/lt/LC_MESSAGES/libsoup.mo
/usr/share/locale/lv/LC_MESSAGES/libsoup.mo
/usr/share/locale/ml/LC_MESSAGES/libsoup.mo
/usr/share/locale/mr/LC_MESSAGES/libsoup.mo
/usr/share/locale/nb/LC_MESSAGES/libsoup.mo
/usr/share/locale/ne/LC_MESSAGES/libsoup.mo
/usr/share/locale/nl/LC_MESSAGES/libsoup.mo
/usr/share/locale/oc/LC_MESSAGES/libsoup.mo
/usr/share/locale/or/LC_MESSAGES/libsoup.mo
/usr/share/locale/pa/LC_MESSAGES/libsoup.mo
/usr/share/locale/pl/LC_MESSAGES/libsoup.mo
/usr/share/locale/pt/LC_MESSAGES/libsoup.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libsoup.mo
/usr/share/locale/ro/LC_MESSAGES/libsoup.mo
/usr/share/locale/ru/LC_MESSAGES/libsoup.mo
/usr/share/locale/sk/LC_MESSAGES/libsoup.mo
/usr/share/locale/sl/LC_MESSAGES/libsoup.mo
/usr/share/locale/sr/LC_MESSAGES/libsoup.mo
/usr/share/locale/sr@latin/LC_MESSAGES/libsoup.mo
/usr/share/locale/sv/LC_MESSAGES/libsoup.mo
/usr/share/locale/ta/LC_MESSAGES/libsoup.mo
/usr/share/locale/te/LC_MESSAGES/libsoup.mo
/usr/share/locale/tg/LC_MESSAGES/libsoup.mo
/usr/share/locale/th/LC_MESSAGES/libsoup.mo
/usr/share/locale/tr/LC_MESSAGES/libsoup.mo
/usr/share/locale/ug/LC_MESSAGES/libsoup.mo
/usr/share/locale/uk/LC_MESSAGES/libsoup.mo
/usr/share/locale/uz@cyrillic/LC_MESSAGES/libsoup.mo
/usr/share/locale/vi/LC_MESSAGES/libsoup.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libsoup.mo
/usr/share/locale/zh_HK/LC_MESSAGES/libsoup.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libsoup.mo
/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/1455d5e2795e05a41d9d72354301562fac46ba
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/106b69407314fb9e16bf94966a06a7b8c894fd
/usr/lib/girepository-1.0/Soup-2.4.typelib
/usr/lib/girepository-1.0/SoupGNOME-2.4.typelib
/usr/lib/libsoup-2.4.so.1
/usr/lib/libsoup-2.4.so.1.8.0
/usr/lib/libsoup-gnome-2.4.so.1
/usr/lib/libsoup-gnome-2.4.so.1.8.0
/usr/share/doc/libsoup
/usr/share/doc/libsoup/AUTHORS
/usr/share/doc/libsoup/NEWS
/usr/share/doc/libsoup/README
/usr/share/licenses/libsoup
/usr/share/licenses/libsoup/COPYING
/usr/share/locale/an/LC_MESSAGES/libsoup.mo
/usr/share/locale/as/LC_MESSAGES/libsoup.mo
/usr/share/locale/be/LC_MESSAGES/libsoup.mo
/usr/share/locale/bg/LC_MESSAGES/libsoup.mo
/usr/share/locale/bn_IN/LC_MESSAGES/libsoup.mo
/usr/share/locale/bs/LC_MESSAGES/libsoup.mo
/usr/share/locale/ca/LC_MESSAGES/libsoup.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/libsoup.mo
/usr/share/locale/cs/LC_MESSAGES/libsoup.mo
/usr/share/locale/da/LC_MESSAGES/libsoup.mo
/usr/share/locale/de/LC_MESSAGES/libsoup.mo
/usr/share/locale/el/LC_MESSAGES/libsoup.mo
/usr/share/locale/en_GB/LC_MESSAGES/libsoup.mo
/usr/share/locale/eo/LC_MESSAGES/libsoup.mo
/usr/share/locale/es/LC_MESSAGES/libsoup.mo
/usr/share/locale/et/LC_MESSAGES/libsoup.mo
/usr/share/locale/eu/LC_MESSAGES/libsoup.mo
/usr/share/locale/fa/LC_MESSAGES/libsoup.mo
/usr/share/locale/fr/LC_MESSAGES/libsoup.mo
/usr/share/locale/fur/LC_MESSAGES/libsoup.mo
/usr/share/locale/gd/LC_MESSAGES/libsoup.mo
/usr/share/locale/gl/LC_MESSAGES/libsoup.mo
/usr/share/locale/gu/LC_MESSAGES/libsoup.mo
/usr/share/locale/he/LC_MESSAGES/libsoup.mo
/usr/share/locale/hi/LC_MESSAGES/libsoup.mo
/usr/share/locale/hr/LC_MESSAGES/libsoup.mo
/usr/share/locale/hu/LC_MESSAGES/libsoup.mo
/usr/share/locale/id/LC_MESSAGES/libsoup.mo
/usr/share/locale/it/LC_MESSAGES/libsoup.mo
/usr/share/locale/ja/LC_MESSAGES/libsoup.mo
/usr/share/locale/kn/LC_MESSAGES/libsoup.mo
/usr/share/locale/ko/LC_MESSAGES/libsoup.mo
/usr/share/locale/lt/LC_MESSAGES/libsoup.mo
/usr/share/locale/lv/LC_MESSAGES/libsoup.mo
/usr/share/locale/ml/LC_MESSAGES/libsoup.mo
/usr/share/locale/mr/LC_MESSAGES/libsoup.mo
/usr/share/locale/nb/LC_MESSAGES/libsoup.mo
/usr/share/locale/ne/LC_MESSAGES/libsoup.mo
/usr/share/locale/nl/LC_MESSAGES/libsoup.mo
/usr/share/locale/oc/LC_MESSAGES/libsoup.mo
/usr/share/locale/or/LC_MESSAGES/libsoup.mo
/usr/share/locale/pa/LC_MESSAGES/libsoup.mo
/usr/share/locale/pl/LC_MESSAGES/libsoup.mo
/usr/share/locale/pt/LC_MESSAGES/libsoup.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libsoup.mo
/usr/share/locale/ro/LC_MESSAGES/libsoup.mo
/usr/share/locale/ru/LC_MESSAGES/libsoup.mo
/usr/share/locale/sk/LC_MESSAGES/libsoup.mo
/usr/share/locale/sl/LC_MESSAGES/libsoup.mo
/usr/share/locale/sr/LC_MESSAGES/libsoup.mo
/usr/share/locale/sr@latin/LC_MESSAGES/libsoup.mo
/usr/share/locale/sv/LC_MESSAGES/libsoup.mo
/usr/share/locale/ta/LC_MESSAGES/libsoup.mo
/usr/share/locale/te/LC_MESSAGES/libsoup.mo
/usr/share/locale/tg/LC_MESSAGES/libsoup.mo
/usr/share/locale/th/LC_MESSAGES/libsoup.mo
/usr/share/locale/tr/LC_MESSAGES/libsoup.mo
/usr/share/locale/ug/LC_MESSAGES/libsoup.mo
/usr/share/locale/uk/LC_MESSAGES/libsoup.mo
/usr/share/locale/uz@cyrillic/LC_MESSAGES/libsoup.mo
/usr/share/locale/vi/LC_MESSAGES/libsoup.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libsoup.mo
/usr/share/locale/zh_HK/LC_MESSAGES/libsoup.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libsoup.mo

References

Summary

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