How To Install nd on Debian 11
Introduction
In this tutorial we learn how to install nd
on Debian 11.
What is nd
nd is:
nd is a command line tool to issue queries to a WebDAV server.
WebDAV stands for “Web-based Distributed Authoring and Versioning” (RFC 2518). It is a protocol built on top of HTTP, allowing users to collaboratively edit and manage files on remote web servers.
nd can be used to retrieve, submit, remove, and lock individual files, as well as retrieving information about them. It also supports proxying, as well as the authentication methods ‘Basic’ and now ‘Digest’ for protecting against unsolicited access.
It is smaller than the alternative tool Cadaver. However, nd has neither an interactive mode, nor has it support for SSL or TLS encrypted transmissions, but it is well suited for use in scripts.
nd is dependent on libxml2 and libmhash2.
There are three methods to install nd
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install nd Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install nd
using apt-get
by running the following command:
Install nd Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install nd
using apt
by running the following command:
Install nd 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.
After updating apt database, We can install nd
using aptitude
by running the following command:
How To Uninstall nd on Debian 11
To uninstall only the nd
package we can use the following command:
Uninstall nd And Its Dependencies
To uninstall nd
and its dependencies that are no longer needed by Debian 11, we can use the command below:
Remove nd Configurations and Data
To remove nd
configuration and data from Debian 11 we can use the following command:
Remove nd configuration, data, and all of its dependencies
We can use the following command to remove nd
configurations, data and all of its dependencies, we can use the following command:
Dependencies
nd have the following dependencies:
References
Summary
In this tutorial we learn how to install nd
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.