How To Install tcl-snack-dev on Debian 11

In this tutorial we learn how to install tcl-snack-dev on Debian 11. tcl-snack-dev is Sound extension to Tcl/Tk and Python/Tkinter - development files

Introduction

In this tutorial we learn how to install tcl-snack-dev on Debian 11.

What is tcl-snack-dev

tcl-snack-dev is:

This package is needed for building transcriber, and contains snackConfig.sh, snack.h.

Snack provides a sound functionality extension to the Tcl/Tk language.

Snack is an extension to the Tcl/Tk scripting language that adds sound functionality. There are commands to play, record, edit, and even visualize sound. Snack supports in-memory sound objects, file based audio, and streaming audio. It handles file formats such as WAV, AU, AIFF, MP3, and OGG Vorbis.

This package contains files to be used for development of C-based extensions which use the Snack library.

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

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

sudo apt-get update

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

sudo apt-get -y install tcl-snack-dev

Install tcl-snack-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install tcl-snack-dev using apt by running the following command:

sudo apt -y install tcl-snack-dev

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

sudo aptitude -y install tcl-snack-dev

How To Uninstall tcl-snack-dev on Debian 11

To uninstall only the tcl-snack-dev package we can use the following command:

sudo apt-get remove tcl-snack-dev

Uninstall tcl-snack-dev And Its Dependencies

To uninstall tcl-snack-dev and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove tcl-snack-dev

Remove tcl-snack-dev Configurations and Data

To remove tcl-snack-dev configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge tcl-snack-dev

Remove tcl-snack-dev configuration, data, and all of its dependencies

We can use the following command to remove tcl-snack-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge tcl-snack-dev

Dependencies

tcl-snack-dev have the following dependencies:

References

Summary

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