How To Install libzeep-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libzeep-dev
on Ubuntu 20.04.
What is libzeep-dev
libzeep-dev is:
Libzeep is a C++ library providing a validating XML parser, XML DOM tree implementation, XPath 1.0 support and code to create SOAP/REST servers as well as a full web application framework.
libzeep was originally designed to create SOAP servers in C++ easily. The current incarnation provides a full validating XML parser creating a DOM tree that can be iterated using STL container like methods. The tree can be searched using XPath 1.0 queries.
There’s also code to create SOAP and REST servers based allowing to export C++ methods as web services. And there’s a full web application framework to create dynamic web sites in C++ and XHTML.
This specific package contains all files needed to develop new software using libzeep.
There are three methods to install libzeep-dev
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libzeep-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libzeep-dev
using apt-get
by running the following command:
sudo apt-get -y install libzeep-dev
Install libzeep-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libzeep-dev
using apt
by running the following command:
sudo apt -y install libzeep-dev
Install libzeep-dev Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libzeep-dev
using aptitude
by running the following command:
sudo aptitude -y install libzeep-dev
How To Uninstall libzeep-dev on Ubuntu 20.04
To uninstall only the libzeep-dev
package we can use the following command:
sudo apt-get remove libzeep-dev
Uninstall libzeep-dev And Its Dependencies
To uninstall libzeep-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libzeep-dev
Remove libzeep-dev Configurations and Data
To remove libzeep-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libzeep-dev
Remove libzeep-dev configuration, data, and all of its dependencies
We can use the following command to remove libzeep-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libzeep-dev
References
Summary
In this tutorial we learn how to install libzeep-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.