swfmill command not found

In this troubleshooting guide we learn how to fix swfmill command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

swfmill: command not found

or when using sudo you get the following error message

sudo: swfmill: command not found

Solutions to swfmill: command not found

How To Fix swfmill: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu swfmill is provided by swfmill package.

swfmill is:

swfmill is a tool to process Shockwave Flash(TM) (SWF) files. It can convert SWF from and to an XML-dialect called swfml, which is closely modeled after the SWF file format.

Apart from this xml2swf and swf2xml functionality, it also provides a libxslt-based XSL transformator that supports an extension (“swft”) which helps with generating IDs for SWF objects and can import an SWF as XML using an XPath command (swft:document()).

As a simple application of such functionality, swfmill can pack together a bunch of media files (currently JPGs, PNGs, TTFs and other SWFs) into an SWF as “library objects” for your attachMovie() pleasure.

To fix this problem, we can install more using the command below.

sudo apt-get -y install swfmill

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install swfmill.

sudo apt -y install swfmill

Or if you have aptitude installed you can use the following command.

sudo aptitude install swfmill

Summary

In this tutorial we learn how to fix swfmill command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.