How To Install swftools-dbg on Debian 9

In this tutorial we learn how to install swftools-dbg on Debian 9. swftools-dbg is Collection of utilities for SWF file manipulation/creation (debug)

Introduction

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

What is swftools-dbg

swftools-dbg is:

SWF Tools is a collection of SWF (Flash) manipulation and creation utilities.

This package includes: as3compile, font2swf, gif2swf, jpeg2swf, png2swf, swfcombine, swfextract, swfdump, swfrender, swfstrings, swfbbox, swfc and wav2swf.

  • as3compile is a standalone ActionScript 3.0 compiler. Mostly compatible with Flex.
  • font2swf converts font files (TTF, Type1) into SWF.
  • gif2swf converts GIFs into SWF. It is also able to handle animated gifs.
  • jpeg2swf takes one or more JPEG pictures and generates an SWF slideshow.
  • png2swf takes one or more PNG pictures and generates an SWF slideshow.
  • swfcombine is a tool for inserting SWFs into Wrapper SWFs. (Templates) E.g. for including the pdf2swf SWFs into some sort of Browsing-SWF.
  • swfextract allows one to extract Movieclips, Sounds, Images etc. from SWF files.
  • swfdump prints out various information about SWFs.
  • swfrender converts a swf to an image.
  • swfstrings scans SWFs for text data.
  • swfbbox allows one to readjust SWF bounding boxes.
  • swfc is a tool for creating SWF files from simple script files.
  • wav2swf converts WAV files into SWF.

This package does not include pdf2swf and avi2swf.

This package contains the debugging symbols for swftools.

There are three methods to install swftools-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 swftools-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 swftools-dbg using apt-get by running the following command:

sudo apt-get -y install swftools-dbg

Install swftools-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install swftools-dbg

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

sudo aptitude -y install swftools-dbg

How To Uninstall swftools-dbg on Debian 9

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

sudo apt-get remove swftools-dbg

Uninstall swftools-dbg And Its Dependencies

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

sudo apt-get -y autoremove swftools-dbg

Remove swftools-dbg Configurations and Data

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

sudo apt-get -y purge swftools-dbg

Remove swftools-dbg configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge swftools-dbg

Dependencies

swftools-dbg have the following dependencies:

References

Summary

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