How To Install squashfs-tools-dbg on Debian 9

In this tutorial we learn how to install squashfs-tools-dbg on Debian 9. squashfs-tools-dbg is Tool to create and append to squashfs filesystems (debug)

Introduction

In this tutorial we learn how to install squashfs-tools-dbg on Debian 9.

What is squashfs-tools-dbg

squashfs-tools-dbg is:

Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib compression to compress both files, inodes and directories. Inodes in the system are very small and all blocks are packed to minimise data overhead. Block sizes greater than 4K are supported up to a maximum of 64K.

This package contains the debugging symbols.

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

Install squashfs-tools-dbg Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install squashfs-tools-dbg

Install squashfs-tools-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install squashfs-tools-dbg using apt by running the following command:

sudo apt -y install squashfs-tools-dbg

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

sudo aptitude -y install squashfs-tools-dbg

How To Uninstall squashfs-tools-dbg on Debian 9

To uninstall only the squashfs-tools-dbg package we can use the following command:

sudo apt-get remove squashfs-tools-dbg

Uninstall squashfs-tools-dbg And Its Dependencies

To uninstall squashfs-tools-dbg and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove squashfs-tools-dbg

Remove squashfs-tools-dbg Configurations and Data

To remove squashfs-tools-dbg configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge squashfs-tools-dbg

Remove squashfs-tools-dbg configuration, data, and all of its dependencies

We can use the following command to remove squashfs-tools-dbg configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge squashfs-tools-dbg

Dependencies

squashfs-tools-dbg have the following dependencies:

References

Summary

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