How To Install android-file-transfer on Debian 11

In this tutorial we learn how to install android-file-transfer on Debian 11. android-file-transfer is reliable MTP client with minimalistic UI

Introduction

In this tutorial we learn how to install android-file-transfer on Debian 11.

What is android-file-transfer

android-file-transfer is:

Android-File-Transfer is a reliable MTP client with minimalistic UI. Its features are:

  1. Simple Qt UI with progress dialogs.
  2. FUSE wrapper, supporting partial read/writes, allowing instant access to your files.
  3. No file size limits.
  4. Automatically renames album cover to make it visible from media player.
  5. USB ??Zerocopy?? support found in recent Linux kernel (no user/kernel data copying).
  6. No extra dependencies (e.g. libptp/libmtp).
  7. Available as static/shared library.
  8. Command line tool (aft-mtp-cli).

There are three methods to install android-file-transfer 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 android-file-transfer Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install android-file-transfer

Install android-file-transfer Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install android-file-transfer using apt by running the following command:

sudo apt -y install android-file-transfer

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

sudo aptitude -y install android-file-transfer

How To Uninstall android-file-transfer on Debian 11

To uninstall only the android-file-transfer package we can use the following command:

sudo apt-get remove android-file-transfer

Uninstall android-file-transfer And Its Dependencies

To uninstall android-file-transfer and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove android-file-transfer

Remove android-file-transfer Configurations and Data

To remove android-file-transfer configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge android-file-transfer

Remove android-file-transfer configuration, data, and all of its dependencies

We can use the following command to remove android-file-transfer configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge android-file-transfer

Dependencies

android-file-transfer have the following dependencies:

References

Summary

In this tutorial we learn how to install android-file-transfer package on Debian 11 using different package management tools: apt, apt-get and aptitude.