How To Install browser-plugin-evince on Ubuntu 18.04

In this tutorial we learn how to install browser-plugin-evince on Ubuntu 18.04. browser-plugin-evince is plugin for web browsers to display documents (PostScript, PDF, …)

Introduction

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

What is browser-plugin-evince

browser-plugin-evince is:

This package contains a plugin to display all the document types evince can handle inside the browser window.

Evince is a simple multi-page document viewer. It can display and print PostScript (PS), Encapsulated PostScript (EPS), DjVu, DVI, Portable Document Format (PDF) and XML Paper Specification (XPS) files. When supported by the document, it also allows searching for text, copying text to the clipboard, hypertext navigation, and table-of-contents bookmarks.

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

sudo apt-get -y install browser-plugin-evince

Install browser-plugin-evince Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install browser-plugin-evince

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

sudo aptitude -y install browser-plugin-evince

How To Uninstall browser-plugin-evince on Ubuntu 18.04

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

sudo apt-get remove browser-plugin-evince

Uninstall browser-plugin-evince And Its Dependencies

To uninstall browser-plugin-evince 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-evince

Remove browser-plugin-evince Configurations and Data

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

sudo apt-get -y purge browser-plugin-evince

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

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

sudo apt-get -y autoremove --purge browser-plugin-evince

References

Summary

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