How To Install browser-plugin-freshplayer-libpdf on Ubuntu 18.04

In this tutorial we learn how to install browser-plugin-freshplayer-libpdf on Ubuntu 18.04. browser-plugin-freshplayer-libpdf is PPAPI-host NPAPI-plugin adapter for libpdf.so from Chrome

Introduction

In this tutorial we learn how to install browser-plugin-freshplayer-libpdf on Ubuntu 18.04.

What is browser-plugin-freshplayer-libpdf

browser-plugin-freshplayer-libpdf is:

The main goal of the project is to get PPAPI (Chrome) plugins working in Firefox (and any other web-browser supporting NPAPI plugins). It implements a wrapper which behaves like browser to PPAPI plugin and implements NPAPI plugin interface for browser to use.

This particular implementation doesn’t implement any sandboxing, which means any malicious code can break through plugin security as there are no additional barriers. This is the same level of security as NPAPI Flash have.

This package allows one to use the libpdf.so plugin from Chrome in NPAPI web browsers.

There are three methods to install browser-plugin-freshplayer-libpdf 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 browser-plugin-freshplayer-libpdf Using apt-get

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

sudo apt-get update

After updating apt database, We can install browser-plugin-freshplayer-libpdf using apt-get by running the following command:

sudo apt-get -y install browser-plugin-freshplayer-libpdf

Install browser-plugin-freshplayer-libpdf Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install browser-plugin-freshplayer-libpdf using apt by running the following command:

sudo apt -y install browser-plugin-freshplayer-libpdf

Install browser-plugin-freshplayer-libpdf 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 browser-plugin-freshplayer-libpdf using aptitude by running the following command:

sudo aptitude -y install browser-plugin-freshplayer-libpdf

How To Uninstall browser-plugin-freshplayer-libpdf on Ubuntu 18.04

To uninstall only the browser-plugin-freshplayer-libpdf package we can use the following command:

sudo apt-get remove browser-plugin-freshplayer-libpdf

Uninstall browser-plugin-freshplayer-libpdf And Its Dependencies

To uninstall browser-plugin-freshplayer-libpdf and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove browser-plugin-freshplayer-libpdf

Remove browser-plugin-freshplayer-libpdf Configurations and Data

To remove browser-plugin-freshplayer-libpdf configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge browser-plugin-freshplayer-libpdf

Remove browser-plugin-freshplayer-libpdf configuration, data, and all of its dependencies

We can use the following command to remove browser-plugin-freshplayer-libpdf configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge browser-plugin-freshplayer-libpdf

References

Summary

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