How To Install libsoup on CentOS 7
Introduction
In this tutorial we learn how to install libsoup
on CentOS 7.
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 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libsoup.
Install libsoup on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install libsoup
using yum
by running the following command:
Install libsoup on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install libsoup
using dnf
by running the following command:
How To Uninstall libsoup on CentOS 7
To uninstall only the libsoup
package we can use the following command:
References
Summary
In this tutorial we learn how to install libsoup
on CentOS 7 using yum
and dnf
.