How To Install python-gtk-gnash on Debian 9

In this tutorial we learn how to install python-gtk-gnash on Debian 9. python-gtk-gnash is GNU Shockwave Flash (SWF) player - Python bindings

Introduction

In this tutorial we learn how to install python-gtk-gnash on Debian 9.

What is python-gtk-gnash

python-gtk-gnash is:

GNU Gnash is a free GPL’d SWF player. It runs as a standalone application on either the desktop or embedded devices, or may be used as a plugin for several popular browsers. It supports playing media from a disk or streaming over a network connection.

GNU Gnash is based on GameSWF and supports most SWF v7 features and some SWF v8 and v9. SWF v10 is not supported by GNU Gnash.

Included in the Gnash is an XML based messaging system, as specified in the SWF specification. This lets a SWF animation communicate over a TCP/IP socket, and parse the incoming XML message. This lets an animation be a remote control for other devices or applications.

This package includes the Python bindings for gnash.

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

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

sudo apt-get update

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

sudo apt-get -y install python-gtk-gnash

Install python-gtk-gnash Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-gtk-gnash using apt by running the following command:

sudo apt -y install python-gtk-gnash

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

sudo aptitude -y install python-gtk-gnash

How To Uninstall python-gtk-gnash on Debian 9

To uninstall only the python-gtk-gnash package we can use the following command:

sudo apt-get remove python-gtk-gnash

Uninstall python-gtk-gnash And Its Dependencies

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

sudo apt-get -y autoremove python-gtk-gnash

Remove python-gtk-gnash Configurations and Data

To remove python-gtk-gnash configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-gtk-gnash

Remove python-gtk-gnash configuration, data, and all of its dependencies

We can use the following command to remove python-gtk-gnash configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-gtk-gnash

Dependencies

python-gtk-gnash have the following dependencies:

References

Summary

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