mount.davfs command not found

In this troubleshooting guide we learn how to fix mount.davfs command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mount.davfs: command not found

or when using sudo you get the following error message

sudo: mount.davfs: command not found

Solutions to mount.davfs: command not found

How To Fix mount.davfs: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mount.davfs is provided by davfs2 package.

davfs2 is:

Web Distributed Authoring and Versioning (WebDAV), an extension to the HTTP-protocol, allows authoring of resources on a remote web server. davfs2 provides the ability to access such resources like a typical filesystem, allowing for use by standard applications with no built-in support for WebDAV.

davfs2 is designed to fully integrate into the filesystem semantics of Unix-like systems (mount, umount, et c.). davfs2 makes mounting by unprivileged users as easy and secure as possible.

davfs2 does extensive caching to make the file system responsive, to avoid unnecessary network traffic and to prevent data loss, and to cope for slow or unreliable connections.

davfs2 will work with most WebDAV servers needing little or no configuration.

To fix this problem, we can install more using the command below.

sudo apt-get -y install davfs2

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install davfs2.

sudo apt -y install davfs2

Or if you have aptitude installed you can use the following command.

sudo aptitude install davfs2

Summary

In this tutorial we learn how to fix mount.davfs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.