How To Install mountpy on Debian 10

Learn how to install mountpy on Debian 10 with this tutorial. mountpy is script for quick mounting of removable devices

Introduction

In this tutorial we learn how to install mountpy on Debian 10.

What is mountpy

mountpy is:

mountpy scans all devices connected to the system, and tries to mount them, creating mount directories as needed. Warning: After configured, this program allows ordinary users to mount external filesystems. Do not install it on multiuser machines with untrusted users!

There are three methods to install mountpy on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install mountpy Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install mountpy

Install mountpy Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install mountpy using apt by running the following command:

sudo apt -y install mountpy

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

sudo aptitude -y install mountpy

How To Uninstall mountpy on Debian 10

To uninstall only the mountpy package we can use the following command:

sudo apt-get remove mountpy

Uninstall mountpy And Its Dependencies

To uninstall mountpy and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove mountpy

Remove mountpy Configurations and Data

To remove mountpy configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge mountpy

Remove mountpy configuration, data, and all of its dependencies

We can use the following command to remove mountpy configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge mountpy

Dependencies

mountpy have the following dependencies:

References

Summary

In this tutorial we learn how to install mountpy package on Debian 10 using different package management tools: apt, apt-get and aptitude.