How To Install zathura-ps on Ubuntu 20.04

In this tutorial we learn how to install zathura-ps on Ubuntu 20.04. zathura-ps is PostScript support for zathura

Introduction

In this tutorial we learn how to install zathura-ps on Ubuntu 20.04.

What is zathura-ps

zathura-ps is:

zathura is a document viewer with a minimalistic and space saving interface. It offers a vim-like experience and has a focus on keyboard interaction. The key bindings, commands and most other settings can be customized.

Some of the features are:

  • bookmarking pages
  • printing the whole document or specific pages
  • following links
  • searching in the document
  • browsing the document index
  • SyncTex forward and backward synchronization

This package contains zathura’s PostScript plugin.

There are three methods to install zathura-ps on Ubuntu 20.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 zathura-ps Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install zathura-ps

Install zathura-ps Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install zathura-ps

Install zathura-ps 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 zathura-ps using aptitude by running the following command:

sudo aptitude -y install zathura-ps

How To Uninstall zathura-ps on Ubuntu 20.04

To uninstall only the zathura-ps package we can use the following command:

sudo apt-get remove zathura-ps

Uninstall zathura-ps And Its Dependencies

To uninstall zathura-ps and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove zathura-ps

Remove zathura-ps Configurations and Data

To remove zathura-ps configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge zathura-ps

Remove zathura-ps configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge zathura-ps

References

Summary

In this tutorial we learn how to install zathura-ps package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.