How To Install libsoup on Fedora 34
Introduction
In this tutorial we learn how to install libsoup
on Fedora 34.
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). libsoup 2.72.0 6.fc34 x86_64 397 k libsoup-2.72.0-6.fc34.src.rpm fedora Soup, an HTTP library implementation https LGPLv2 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libsoup.
Install libsoup 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 libsoup
using dnf
by running the following command:
sudo dnf -y install libsoup
Install libsoup 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 libsoup
using yum
by running the following command:
sudo yum -y install libsoup
How To Uninstall libsoup on Fedora 34
To uninstall only the libsoup
package we can use the following command:
sudo dnf remove libsoup
libsoup Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/85d2e12ed5b0b5eae4dbad7f41b48915842c9b
/usr/lib/.build-id/83
/usr/lib/.build-id/83/f958ed2ea813f2201437f40a777598c13dda96
/usr/lib/girepository-1.0
/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.11.0
/usr/lib/libsoup-gnome-2.4.so.1
/usr/lib/libsoup-gnome-2.4.so.1.11.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/fi/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/ms/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/93
/usr/lib/.build-id/93/01b7cedd3d033c291c26357df28216573297f0
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/9f2b9d8e49d09fc74aa066fe0bb4ee6cd546ec
/usr/lib64/girepository-1.0
/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.11.0
/usr/lib64/libsoup-gnome-2.4.so.1
/usr/lib64/libsoup-gnome-2.4.so.1.11.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/fi/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/ms/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
- [libsoup website](https://wiki.gnome.org/Projects/libsoup https://wiki.gnome.org/Projects/libsoup)
Summary
In this tutorial we learn how to install libsoup
on Fedora 34 using yum and dnf.