How To Install libjs-swfupload on Ubuntu 18.04

In this tutorial we learn how to install libjs-swfupload on Ubuntu 18.04. libjs-swfupload is javascript library to use Flashs upload functionality

Introduction

In this tutorial we learn how to install libjs-swfupload on Ubuntu 18.04.

What is libjs-swfupload

libjs-swfupload is:

SWFUpload is a JavaScript Library that wraps the Flash Player’s upload function. It brings your uploads to the next level with Multiple File Selection, Upload Progress and Client-side File Size Checking.

Unlike other Flash upload tools, SWFUpload leaves the UI in the developer’s hands. Using a set of event handlers developers can display upload progress and status to the user in their own HTML/CSS UI.

Features:

  • Multiple File Selection
  • File Upload Progress
  • Custom Limits for File Size and Number of Uploads
  • Filter by File Type ie. *.jpg
  • File Queue
  • Customize the Browse Control
  • Flash 10 Support

There are three methods to install libjs-swfupload on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libjs-swfupload Using apt-get

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

sudo apt-get update

After updating apt database, We can install libjs-swfupload using apt-get by running the following command:

sudo apt-get -y install libjs-swfupload

Install libjs-swfupload Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjs-swfupload

Install libjs-swfupload 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libjs-swfupload using aptitude by running the following command:

sudo aptitude -y install libjs-swfupload

How To Uninstall libjs-swfupload on Ubuntu 18.04

To uninstall only the libjs-swfupload package we can use the following command:

sudo apt-get remove libjs-swfupload

Uninstall libjs-swfupload And Its Dependencies

To uninstall libjs-swfupload and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libjs-swfupload

Remove libjs-swfupload Configurations and Data

To remove libjs-swfupload configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libjs-swfupload

Remove libjs-swfupload configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libjs-swfupload

References

Summary

In this tutorial we learn how to install libjs-swfupload package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.