How To Install mate-user-share on Ubuntu 18.04

In this tutorial we learn how to install mate-user-share on Ubuntu 18.04. mate-user-share is User level public file sharing via WebDAV or ObexFTP

Introduction

In this tutorial we learn how to install mate-user-share on Ubuntu 18.04.

What is mate-user-share

mate-user-share is:

MATE user share is a small tool that binds together various free software projects to bring easy to use user-level file sharing to the masses.

The program is meant to run in the background when the user is logged in, and when file sharing is enabled a webdav server is started that shares the $HOME/Public folder. The share is then published to all computers on the local network using mDNS/rendezvous, so that it shows up in the Network location in GNOME.

The dav server used is Apache, so you need that installed. Avahi or Howl is used for mDNS support, so you need to have that installed and mDNSResolver running.

There are three methods to install mate-user-share on Ubuntu 18.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 mate-user-share Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install mate-user-share using apt-get by running the following command:

sudo apt-get -y install mate-user-share

Install mate-user-share Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install mate-user-share using apt by running the following command:

sudo apt -y install mate-user-share

Install mate-user-share 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 mate-user-share using aptitude by running the following command:

sudo aptitude -y install mate-user-share

How To Uninstall mate-user-share on Ubuntu 18.04

To uninstall only the mate-user-share package we can use the following command:

sudo apt-get remove mate-user-share

Uninstall mate-user-share And Its Dependencies

To uninstall mate-user-share and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove mate-user-share

Remove mate-user-share Configurations and Data

To remove mate-user-share configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge mate-user-share

Remove mate-user-share configuration, data, and all of its dependencies

We can use the following command to remove mate-user-share configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge mate-user-share

References

Summary

In this tutorial we learn how to install mate-user-share package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.