How To Install libneon27 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libneon27
on Ubuntu 20.04.
What is libneon27
libneon27 is:
neon is an HTTP and WebDAV client library, with a C language API.
WARNING: THE NEON API IS NOT YET STABLE.
Provides lower-level interfaces to directly implement new HTTP methods, and higher-level interfaces so that you don’t have to worry about the lower-level stuff.
Current features:
- High-level interface to HTTP and WebDAV methods (PUT, GET, HEAD, etc.)
- Low-level interface to HTTP request handling, to allow implementing new methods easily.
- persistent connections
- RFC2617 basic and digest authentication (including auth-int, md5-sess)
- Proxy support (including basic/digest authentication)
- SSL/TLS support using OpenSSL (including client certificate and thread safety support)
- Generic WebDAV 207 XML response handling mechanism
- XML parsing using the expat or libxml parsers
- Easy generation of error messages from 207 error responses
- WebDAV resource manipulation: MOVE, COPY, DELETE, MKCOL.
- WebDAV metadata support: set and remove properties, query any set ofi properties (PROPPATCH/PROPFIND).
- autoconf macros supplied for easily embedding neon directly inside an application source tree.
There are three methods to install libneon27
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 libneon27 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libneon27
using apt-get
by running the following command:
sudo apt-get -y install libneon27
Install libneon27 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libneon27
using apt
by running the following command:
sudo apt -y install libneon27
Install libneon27 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 libneon27
using aptitude
by running the following command:
sudo aptitude -y install libneon27
How To Uninstall libneon27 on Ubuntu 20.04
To uninstall only the libneon27
package we can use the following command:
sudo apt-get remove libneon27
Uninstall libneon27 And Its Dependencies
To uninstall libneon27
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libneon27
Remove libneon27 Configurations and Data
To remove libneon27
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libneon27
Remove libneon27 configuration, data, and all of its dependencies
We can use the following command to remove libneon27
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libneon27
References
Summary
In this tutorial we learn how to install libneon27
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.