How To Install php-sabre-dav-2.1 on Debian 9
Introduction
In this tutorial we learn how to install php-sabre-dav-2.1
on Debian 9.
What is php-sabre-dav-2.1
php-sabre-dav-2.1 is:
SabreDAV is meant to cover the entire standard, and attempts to allow integration using an easy to understand API.
Feature list:
- Fully WebDAV compliant
- Supports Windows XP, Windows Vista, Mac OS/X, DavFSv2, Cadaver, Netdrive, Open Office, and probably more.
- Passing all Litmus tests.
- Supporting class 1, 2 and 3 Webdav servers.
- Locking support.
- Custom property support.
- CalDAV (tested with Evolution, iCal, iPhone and Lightning).
- CardDAV (tested with OS/X addressbook, the iOS addressbook and Evolution).
- Over 97% unittest code coverage.
Supported RFC’s:
- RFC2617: Basic/Digest auth.
- RFC2518: First WebDAV spec.
- RFC3744: ACL (some features missing).
- RFC4709: DavMount.
- RFC4791: CalDAV.
- RFC4918: WebDAV revision.
- RFC5397: current-user-principal.
- RFC5689: Extended MKCOL.
- RFC6352: CardDAV
- draft-daboo-carddav-directory-gateway: CardDAV directory gateway
- CalDAV ctag, CalDAV-proxy.
There are three methods to install php-sabre-dav-2.1
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install php-sabre-dav-2.1 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install php-sabre-dav-2.1
using apt-get
by running the following command:
sudo apt-get -y install php-sabre-dav-2.1
Install php-sabre-dav-2.1 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install php-sabre-dav-2.1
using apt
by running the following command:
sudo apt -y install php-sabre-dav-2.1
Install php-sabre-dav-2.1 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install php-sabre-dav-2.1
using aptitude
by running the following command:
sudo aptitude -y install php-sabre-dav-2.1
How To Uninstall php-sabre-dav-2.1 on Debian 9
To uninstall only the php-sabre-dav-2.1
package we can use the following command:
sudo apt-get remove php-sabre-dav-2.1
Uninstall php-sabre-dav-2.1 And Its Dependencies
To uninstall php-sabre-dav-2.1
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove php-sabre-dav-2.1
Remove php-sabre-dav-2.1 Configurations and Data
To remove php-sabre-dav-2.1
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge php-sabre-dav-2.1
Remove php-sabre-dav-2.1 configuration, data, and all of its dependencies
We can use the following command to remove php-sabre-dav-2.1
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge php-sabre-dav-2.1
Dependencies
php-sabre-dav-2.1 have the following dependencies:
- php-sabre-event
- php-cli
- php-common
- php-sabre-vobject-3
- php-sabre-vobject-3
- php-sabre-event
- php-sabre-http-3
- php-sabre-http-3
- php-xml
- php-mbstring
References
Summary
In this tutorial we learn how to install php-sabre-dav-2.1
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.