How To Install dtrx on Debian 10

Learn how to install dtrx on Debian 10 with this tutorial. dtrx is intelligently extract multiple archive types

Introduction

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

What is dtrx

dtrx is:

dtrx is basically the same as tar -zxf or tar -xjf except you don’t have to remember the flags for each file. But there’s more to it than that. You know those really annoying files that don’t put everything in a dedicated directory, and have the permissions all wrong? dtrx takes care of all those problems for you, too. dtrx is simple and powerful. Just use the same command for all your archive files, and they’ll never frustrate you again.

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

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

sudo apt-get update

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

sudo apt-get -y install dtrx

Install dtrx Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install dtrx

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

sudo aptitude -y install dtrx

How To Uninstall dtrx on Debian 10

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

sudo apt-get remove dtrx

Uninstall dtrx And Its Dependencies

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

sudo apt-get -y autoremove dtrx

Remove dtrx Configurations and Data

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

sudo apt-get -y purge dtrx

Remove dtrx configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge dtrx

Dependencies

dtrx have the following dependencies:

References

Summary

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